scrcpy v4.0 is released with a major migration from SDL2 to SDL3, enabling active maintenance and new features like window aspect-ratio locking. Key additions include flex display support (dynamic resizing of virtual displays), camera torch and zoom controls via keyboard shortcuts, a new --keep-active flag to prevent device sleep, customizable background color via --background-color, and a disconnected icon shown before window close. Bug fixes address Meta Quest flickering, high CPU usage during audio silence (caused by denormal numbers in OPUS decoding), copy-paste on rooted devices, and colorspace conversion. Dependencies upgraded include adb 37.0.0, FFmpeg 8.1.1, SDL 3.4.8, and dav1d 1.5.3.
Table of contents
SDL3Flex displayCamera torch and zoomAspect ratioKeep activeBackground colorDisconnected iconMeta QuestHigh CPU usage with silenceMore shortcutsSort: