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.

SmartSee Anycast HD Wireless Display Adapter WiFi 1080P Mobile Screen Mirroring Receiver Dongle for iPhone Mac iOS Android to TV Projector Support Miracast Airplay DLNA
Wireless display: SmartSee Wireless display adapter can mirror the screen of phone, tablet, laptop, pc to your TV/projector/monitor…
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
![BENFEI USB C to HDMI Adapter 4K@60Hz, USB Type-C to HDMI Adapter [Thunderbolt 3/4/5 Compatible] with iPhone 15 Pro/Max, MacBook Pro/Air 2023, iPad Pro, iMac, S23, XPS 17, Surface Book](https://m.media-amazon.com/images/I/41grhlUqk-L._SL500_.jpg)
BENFEI USB C to HDMI Adapter 4K@60Hz, USB Type-C to HDMI Adapter [Thunderbolt 3/4/5 Compatible] with iPhone 15 Pro/Max, MacBook Pro/Air 2023, iPad Pro, iMac, S23, XPS 17, Surface Book
COMPACT DESIGN – The compact-designed portable BENFEI USB-C to HDMI adapter connects a computer, desktop, laptop, or other…
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.

Endoscope Camera with Light, 1920P HD Borescope Tools with 8 Adjustable LED Lights, Endoscope with Semi-Rigid Snake Camera, Inspection Borescope for iOS and Android – 16.4ft Single Lens
1920P HD Resolution: Sewer camera with 7.9mm probe can inspect hard-to-reach places effortlessly. The 2.0MP HD endoscope can…
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.

SinLoon Mini Programmable Mechanical Keyboard with 3 Keys & 1 Control Knob for Macro Shortcuts | PC Setup for Multi-Device Use | Portable, Hot-Swappable Macro Keyboard for Gaming, Office, Bea
FULLY PROGRAMMABLE BUTTONS & DIAL: All 3 buttons and the dial can be customized via software – for…
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.