Scrcpy v4.0 ships SDL2-to-SDL3 migration, flex virtual displays, camera torch/zoom controls, and aspect-ratio-locked window resizing.
Key Takeaways
SDL3 migration enables native window aspect-ratio locking, eliminating black borders on resize; old behavior available via --no-window-aspect-ratio-lock.
--flex-display (-x) lets virtual displays resize dynamically with the client window, useful for running Android apps in arbitrary-sized windows.
--keep-active periodically signals user activity without changing global device settings, works wired or wireless.
A denormal-number bug caused OPUS silence resampling to be ~40x slower than non-silence; fixed upstream in FFmpeg 8.1.1.