Software:scrcpy

From HandWiki
Short description: Screen mirroring software

scrcpy
Scrcpy logo.svg
Scrcpy debian screenshot.jpg
scrcpy running on Debian
Original author(s)Romain Vimont
Initial releaseMarch 8, 2018; 6 years ago (2018-03-08)
Stable release
v2.3.1 / December 2, 2023; 7 months ago (2023-12-02)
Repositorygithub.com/Genymobile/scrcpy
Written inC, Java
Operating systemWindows, macOS, Linux
PlatformCross-platform
TypeRemote administration
LicenseApache License 2.0

scrcpy (short for "screen copy") is a free and open-source screen mirroring application that allows control of an Android device from a desktop computer.[1] The software is developed by Genymobile SAS, a company which develops Android emulator Genymotion.[2]

The application primarily uses the Android Debug Bridge (ADB) via a USB connection to communicate. The software functions by executing a server natively on the Android device, then communicating with the server via a socket over an ADB tunnel.[3] The screen content is streamed as H.264 video, which the software then decodes and displays on the computer. The software pushes keyboard and mouse input to the Android device over the server.[3]

Setup involves enabling USB debugging on the Android device, connecting the device to the computer, and running the scrcpy application on the computer.[2] Additional configuration options, such as changing the stream bit rate or enabling screen recording, may be accessed via command line arguments.[4] The software also supports a wireless connection over Wi-Fi, but that requires more steps to set up.[5] A few features were added to scrcpy in its version 1.9 release in 2019, including the ability to turn the screen off while mirroring and to copy clipboard content between the two devices.[6]

Chris Hoffman of How-To Geek compared scrcpy to AirMirror and Vysor, two other applications with a similar function. Hoffman also pointed to Miracast as an alternative, while noting that it is no longer widely supported among new Android devices, and that it does not support remotely controlling the device.[2]

History

The first commit to the GitHub repository is on 12 December 2017 by Romain Vimont.[7] scrcpy v1.0 was released 3 months later which included the support for basic screen mirroring and Android remote control. The first release packaged a Windows Executable and the server.[8] The community took packaging forward and made scrcpy available for numerous Linux distributions.[9][better source needed]

Version v2.0, released on 12 March 2023, also added audio support, enabling real-time audio forwarding on Android 11 and above.[10]

On v2.1, unveiled on June 22, 2023, significant enhancements have been made to the audio capabilities. Users can now select their device's microphone as the audio input, adjust the audio output buffer size, and benefit from a range of other updates. These updates include support for OpenGL 3.0+ on macOS, dynamic device folding, and the option to terminate adb upon closing.[11]

Features

The official documentation[4] of scrcpy gives the features and ideology to which it was built

  • lightness (native, displays only the device screen)
  • performance (30~60fps)
  • quality (1920×1080 or above)
  • low latency (35~70ms)
  • low startup time (~1 second to display the first image)
  • non-intrusiveness (nothing is left installed on the device)

Graphical User Interface

The command line interface of scrcpy was ported to a graphical user interface by open source developers.

GUI based on scrcpy
# Alias Initial commit URL
1 QtScrcpy[12][13] October 9, 2018 https://github.com/barry-ran/QtScrcpy
2 guiscrcpy[14][15][16] June 13, 2019 https://github.com/srevinsaju/guiscrcpy
3 scrcpy-gui August 26, 2019 https://github.com/Tomotoes/scrcpy-gui/

Further reading

References

  1. Duino, Justin (9 March 2018). "How to control your Android phone from your computer with Scrcpy" (in en-US). https://9to5google.com/2018/03/09/how-to-control-android-phone-from-computer-scrcpy-android-basics/. 
  2. 2.0 2.1 2.2 Hoffman, Chris (19 July 2019). "How to Mirror and Control Your Android Phone on Any Windows PC" (in en-US). https://www.howtogeek.com/430466/how-to-mirror-and-control-your-android-phone-on-any-windows-pc/. 
  3. 3.0 3.1 Fedewa, Joe (12 March 2018). "Control your Android Smartphone from your PC for free with scrcpy" (in en-US). https://www.xda-developers.com/scrcpy-control-android-on-pc/. 
  4. 4.0 4.1 "Genymobile/scrcpy". 4 March 2020. https://github.com/Genymobile/scrcpy. 
  5. "Open Source Project - Scrcpy now works wirelessly" (in en-US). 14 March 2018. https://www.genymotion.com/blog/open-source-project-scrcpy-now-works-wirelessly/. 
  6. Torres, JC (13 June 2019). "scrcpy can now mirror Android screens on desktops with the display off" (in en-US). https://www.slashgear.com/scrcpy-can-now-mirror-android-screens-on-desktops-with-the-display-off-13580309/. 
  7. "Initial commit · Genymobile/scrcpy@54d9148" (in en). https://github.com/Genymobile/scrcpy/commit/54d9148a36decdf0dcc412560ae50870a7790fde. 
  8. "Release scrcpy v1.0 · Genymobile/scrcpy" (in en). https://github.com/Genymobile/scrcpy/releases/tag/v1.0. 
  9. "Search Results for scrcpy". https://pkgs.org/search/?q=scrcpy. 
  10. Rudra, Sourav (2023-03-13). "Open-Source Android Mirroring App Scrcpy 2.0 Adds Audio Support". https://news.itsfoss.com/scrcpy-2-0-release/. 
  11. Vonau, Manuel (June 22, 2023). "Scrcpy 2.1 has arrived with audio-only mirroring and more". https://www.androidpolice.com/scrcpy-21-audio-only-mirroring-more/. 
  12. "QtScrcpy-Control Android phone with computer, multi-touch support, Peace Elite game, Chinese interface[Win/macOS/Linux » FUCHSIANDROID"] (in en-GB). 2020-04-07. https://www.appinn.com/qtscrcpy/. 
  13. Barry (2020-05-04), barry-ran/QtScrcpy, https://github.com/barry-ran/QtScrcpy, retrieved 2020-05-04 
  14. Logix. "Helper GUI For scrcpy, The Android Desktop Display And Remote Control Tool" (in en-us). https://www.linuxuprising.com/2019/09/helper-gui-for-scrcpy-android-desktop.html. 
  15. Saju, Srevin (2020-05-04), srevinsaju/guiscrcpy, https://github.com/srevinsaju/guiscrcpy, retrieved 2020-05-04 
  16. comment, 25 Sep 2019 Seth KenlonFeed 71up 1. "Mirror your Android screen on your computer with Guiscrcpy" (in en). https://opensource.com/article/19/9/mirror-android-screen-guiscrcpy. 

External links