TL;DR
Scrcpy version 4.0 has been officially released, featuring a migration from SDL2 to SDL3, support for flexible virtual displays, camera torch and zoom controls, and improved connection handling. These updates aim to improve stability, performance, and user control.
Scrcpy version 4.0 has been officially released, marking a major update that includes migration from SDL2 to SDL3, along with several new features and improvements aimed at enhancing Android device mirroring and control.
The update introduces a migration from SDL2 to SDL3, which provides ongoing support, bug fixes, and new capabilities such as aspect-ratio locking during window resizing. It also adds support for flex displays, allowing virtual screens to be dynamically resized along with the client window, with commands like –flex-display and –new-display.
Additional features include camera torch and zoom controls, accessible via keyboard shortcuts, and the ability to set the camera zoom level and toggle the torch at startup. The window aspect ratio is now preserved during resizing thanks to SDL3, with an option to disable this behavior. The default background color has been changed from black to dark gray, and a disconnected icon now appears before the window closes when the device disconnects, improving clarity.
Other technical fixes include support for device serials with spaces, improved device connection detection via mDNS, and updates to platform tools and FFmpeg. The release also improves user experience with shortcuts like F11 for fullscreen and Ctrl+q to quit, and resolves issues such as flickering on Meta Quest devices and high CPU usage caused by denormal numbers in audio processing.
Why It Matters
This release matters because it significantly enhances the stability, flexibility, and control of Android device mirroring. The migration to SDL3 enables future-proofing and new features like aspect ratio locking, while the flexible display support and camera controls expand usability for developers and users. Improvements to connection clarity and performance optimizations also make scrcpy more reliable for everyday use and professional workflows.

4K Wireless Display Adapter for TV, Screen Mirroring iOS Android Windows
- 4K Wireless Display: Mirror screens in 4K resolution
- Multiple Casting Modes: Supports Direct Mirror and DLNA modes
- Easy Setup: Plug and play, no app needed
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Background
Scrcpy has been a popular open-source tool for screen mirroring Android devices since its initial release, with continuous updates improving performance and features. The transition from SDL2 to SDL3 in v4.0 reflects ongoing development efforts to leverage newer graphics and window management APIs. Previous versions introduced features like device rotation, audio streaming, and various shortcuts, but the latest update emphasizes stability and user control, aligning with user feedback and hardware advancements.
“Migration from SDL2 to SDL3 enables new features and ongoing maintenance, ensuring compatibility and performance improvements.”
— scrcpy developers
“The addition of flexible display support and camera controls enhances user experience and expands use cases.”
— scrcpy project lead

Anker USB C to HDMI Adapter (4K@60Hz), 310 USB-C Adapter (4K HDMI), for MacBook Pro, MacBook Air, iPad Pro, Pixelbook, XPS, Galaxy, and More(Compatible with Thunderbolt 3 Ports)
- The Anker Advantage: Trusted by over 80 million users
- Vivid 4K Video Output: Streams up to 4K resolution to HDMI displays
- Plug and Play: Easy connection without installation
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
What Remains Unclear
It is not yet clear how widely adopted the new features will be in the immediate future, or if any unforeseen bugs will emerge as users test the new release across diverse hardware and configurations. Additionally, detailed performance benchmarks comparing SDL2 and SDL3 support are still pending.

Teslong 10FT USB C Endoscope Camera for iPhone 15/16/17,Android Phone
- Wide Device Compatibility: Compatible with iPhone, Android, tablets
- Plug-and-Play Operation: Easy setup without WiFi or complex steps
- 8 LED Lights: Bright illumination with automatic white balance
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
What’s Next
Next steps include monitoring user feedback for stability and usability issues, releasing minor patches if needed, and potentially expanding support for additional camera features and display options based on community input. Further updates may also refine performance and add new capabilities as SDL3 adoption grows.

EASYTONE Backlit Mini Wireless Keyboard Touchpad Mouse Combo with Rechargable Li-ion Battery Multi-Media Keys, Handheld Keyboard for Android TV Box, Smart TV, X-Box, PC, Android Windows Linux MacOS
- Easy Plug-and-Play Setup: Plug USB receiver for instant use
- 10M Wireless Range: Operate up to 10 meters away
- Compact and Portable Design: Small, lightweight for travel
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Key Questions
What are the main new features in Scrcpy 4.0?
Key new features include migration to SDL3, support for flexible displays, camera torch and zoom controls, aspect ratio locking during window resizing, and UI improvements like a disconnected icon and background color options.
How does SDL3 support improve Scrcpy?
SDL3 offers better maintenance, bug fixes, and new API capabilities such as aspect-ratio locking, which enhances resizing behavior and overall stability.
Can I customize the background color or disable aspect ratio lock?
Yes, background color can be set with –background-color, and the aspect ratio lock can be disabled with –no-window-aspect-ratio-lock.
Will the new version fix all existing bugs?
While many bugs have been addressed, some issues may still be under investigation, and user feedback will guide future patches.