script 1.13 has been released, with some important new features, including options for locking the video direction, shortcuts for rotating the display, and tri-linear filtering. When the scrcpy window is much smaller than the Android device display, tri-linear filtering should improve the display quality.
Are you new to scrcpy? This application can be used to display, record and control Android devices connected via USB or wirelessly from the macOS, Windows or Linux desktop. The application focuses on performance and quality, providing 30~60 FPS, a resolution of 1920×1080 or higher, and low latency.
The communication between the server (in this case, the Android device) and the client (desktop computer) is through a socket over the adb tunnel. The server streams the H.264 video of the device screen and passes it to the client to decode and display it without buffering to minimize delay. Mouse and keyboard events are captured and transmitted to the server, and the server injects them into the Android device.
It is important to note that audio forwarding does not work, which is a limitation of the Android Open Accessory Protocol.
After adding the function of switching between portrait and landscape mode without changing the phone orientation in the previous version, (
Ctrl + r ), scrcpy 1.13 adds two new direction-related options: an option for locking the video direction, and a shortcut for rotating the display in 90° steps. To lock the video direction, use:
- Natural direction:
scrcpy --lock-video-orientation 0
- 90° counterclockwise:
scrcpy --lock-video-orientation 1
scrcpy --lock-video-orientation 2
- Rotate 90° clockwise:
scrcpy --lock-video-orientation 3
To change the display rotation, you can use keyboard shortcuts. Use the following buttons to rotate the display 90° counterclockwise
Ctrl + ← And then use
Ctrl + → .
It is worth noting that this will only affect the display, and the record will not be affected. Another important new feature of scrcpy 1.13 is trilinear filtering. Before this version, if the scrcpy window is much smaller than the Android device display, the visual quality will be low. However, with this release, the quality in this case should be better.
This is a screenshot of the scrcpy 1.13 release notes (I haven’t taken it), showing the quality before and after: Please note that this degradation (trilinear filtering) requires OpenGL 3.0+ or OpenGL ES 2.0+, so it is not available in all places. This feature is not supported on macOS. On Windows, you need to force the use of OpenGL instead of Direct3D by starting scrcpy with the following command:
If you want to disable this feature when it is automatically enabled (on Linux), use the following command to start scrcpy
More changes in scrcpy 1.13:
- Add the function of mirroring the secondary display, for example when using Samsung DeX. This is done with the new logo
--display 1. The secondary display can only be controlled if the device is running at least Android 10. In addition, sometimes the second display shows a black screen, and there is currently no known solution.
- Added option to change the capture FPS for Android versions prior to 10 (
- The window position value can now be negative (
--window-y), this should help when placing windows on a setup with multiple monitors
- If 27183 is not available, please use another local port (you can now specify a port range, for example
-p 27183:27186). This should be able to connect and display 2 or more Android devices wirelessly at the same time
- Forward NumPad keys when NumLock is disabled
- Fix the problem when the directory contains non-ASCII characters on Windows
- Fix possible BufferUnderflowException in touch events
- Upgrade FFmpeg to 4.2.2 in Windows version and upgrade SDL to 2.0.12
You might also like:
- Helper GUI for scrcpy, Android desktop display and remote control tool
- Anbox: How to install Google Play Store and enable ARM (libhoudini) support, easy way
Before using scrcpy, please review its requirements:
- Devices with Android 5.0 or higher
- ADB debugging Need to be enabled on Android device
- On some devices, you may also need to enable other “USB debugging (security settings)” Options To be able to control Android devices from a desktop computer.
- Android device connected to the computer via USB (or USB) Wirelessly , And ADB via TCP/IP)
Windows, macOS, and some Linux distributions all have scrcpy binaries.
Scrcpy is available at Debian testing and SID with Ubuntu 20.04 Repository, but has not been updated to the latest version. If you want to use the previous version (1.12), you can use the following command to install:
sudo apt install scrcpy
Scrcpy can also be used Gentoo , On AUR For Arch Linux/Manjaro, there is also a scrcpy Snap packaging (See installation method here), which can be used to install the tool on any Linux distribution that supports Snap. However, as of this writing, only the AUR package has been updated to the latest scrcpy 1.13 version.
You can also build scrcpy from source-this article provides instructions for building the latest scrcpy on Debian , Ubuntu (and Ubuntu-based Linux distributions such as Mint, Zorin OS, Pop!_OS, etc.) and Fedora. Connect your Android device to the computer via USB, and then run scrcpy in the terminal:
When running scrcpy for the first time, please make sure that the screen of the Android device is unlocked and you have authorized scrcpy (click “OK” on the Android device when authorization is required)! If you do not authorize it quickly enough, close scrcpy (
Ctrl + c ) Then try again.