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

TL;DR

Prime Big Deal Days · Oct 6–7Offer from Amazon

Get the latest gadgets delivered free — and shop member deals

  • Fast, free delivery on millions of items
  • Access to Prime Big Deal Days deals on October 6–7
  • Prime Video, Amazon Music and more included
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

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.

Amazon

Android screen mirroring device

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

Amazon

USB to HDMI adapter for Android

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.

Amazon

external camera torch for Android

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.

Amazon

Android device control keyboard shortcuts

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.

FALL

Fall Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

Everyone Should Know SIMD

An in-depth look at why everyone should understand SIMD technology, its current relevance, and future implications in computing.

People Who Don’t Like People Are Making All Our Decisions

Tech giants are expanding autonomous vehicle services, replacing human drivers and raising questions about social impact and safety.

Show HN: Lathe – Use LLMs to learn a new domain, not skip past it

Lathe is a new tool that generates interactive, multi-part tutorials using LLMs, helping users learn new technical skills through practical, local UI-based exercises.

Explanation Of Everything You Can See In Htop/top On Linux (2019)

Detailed explanation of all elements displayed in htop and top on Linux systems, clarifying their functions and significance as of 2019.