Scrcpy v4.0
AIThis post was created with the assistance of artificial intelligence (AI).

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.

Before you orderOffer from Amazon

Get the latest gadgets delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

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.

Products Worth Considering

Logitech MX Keys S Combo Wireless Keyboard and Mouse, Graphite

Logitech MX Keys S Combo Wireless Keyboard and Mouse, Graphite

Bose TV Speaker Compact Soundbar with Bluetooth and HDMI-ARC, Black

Bose TV Speaker Compact Soundbar with Bluetooth and HDMI-ARC, Black

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

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.

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.

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

Memory Stopped Being A Commodity

Micron’s new long-term contracts signal memory is no longer a commodity, with buyers pre-funding capacity and locking in prices through 2030.

2026 AI Predictions: 9 Technologies To Keep An Eye On

A comprehensive overview of nine emerging AI technologies predicted to shape 2026, based on industry insights and expert forecasts.

The 1998 Principle Of Cool URIs And Its Modern Applications

Exploring how the 1998 principle of ‘Cool URIs Don’t Change’ influences current web and API design practices.

The Y2K Bug in BSD 2.11 that Survived 2000

A rare Y2K bug was found in BSD 2.11 running on a PDP-11/70, demonstrating that some legacy systems still harbor date handling issues from the 20th century.