Scrcpy v4.0

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.

Wireless HDMI Dongle Adapter 4K, SOCLLLife Display Receiver for iOS/Android/Windows Devices to TV, Monitor, or Projector, Screen Mirroring with Airplay/Miracast/DLNA for Movies, Presentations

Wireless HDMI Dongle Adapter 4K, SOCLLLife Display Receiver for iOS/Android/Windows Devices to TV, Monitor, or Projector, Screen Mirroring with Airplay/Miracast/DLNA for Movies, Presentations

【WIRELESS 4K CASTING TO BIG SCREEN】The Wireless HDMI Display Adapter can instantly mirror audio & video from small…

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)

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: Join the 80 million+ powered by our leading technology.

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.

1920P Endoscope Snake Inspection Camera, Lightswim Type C Borescope, Scope Camera with 8 LED Lights for Android and iOS Smartphone, iPhone, iPad, Samsung (16.5 FT/5M)

1920P Endoscope Snake Inspection Camera, Lightswim Type C Borescope, Scope Camera with 8 LED Lights for Android and iOS Smartphone, iPhone, iPad, Samsung (16.5 FT/5M)

[ Wide Compatibility] Latest version endoscope work with Android 4.4+ and iPhone with iOS 9+ system. Also, coming…

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.

XPPen Mini Keydial ACK05 Wireless Shortcut Keyboard Bluetooth Programmable Express Remote Control with Dial & Customized Express Keys for Drawing Tablet PC MacBook Windows Images Video Editing

XPPen Mini Keydial ACK05 Wireless Shortcut Keyboard Bluetooth Programmable Express Remote Control with Dial & Customized Express Keys for Drawing Tablet PC MacBook Windows Images Video Editing

Wireless Connection: ACK05 wireless shortcut keyboard supports bluetooth 5.0 connection directly, which is Good Design Award 2023 Winners,…

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.

You May Also Like

Smart Home Troubleshooting: The Reset Steps That Save Hours

Optimize your smart home with essential reset steps that prevent hours of frustration—discover how to troubleshoot effectively and keep your devices running smoothly.

Best Quiet CPU Coolers for Sustained AI/Compute Loads

Discover top quiet CPU coolers ideal for long AI and compute workloads. Expert picks include air and liquid options for performance and silence.

Redis 8.8: New array data structure, rate limiter, performance improvements

Redis 8.8 introduces a new array data structure, a window counter rate limiter, message NACKing, and significant performance improvements, enhancing flexibility and efficiency.

How to Reduce Heat and Noise in a High-Power AI Workstation

Thorsten Meyer AI has published guidance on reducing heat and noise in high-power AI workstations, but source details remain limited.