scrcpy

Genymobile · Genymobile.scrcpy

Display and control your Android device

This application mirrors Android devices (video and audio) connected via USB or over TCP/IP, and allows to control the device with the keyboard and the mouse of the computer. It does not require any root access.

winget install --id Genymobile.scrcpy --exact --source winget

Latest 4.0

Release Notes

To receive a notification when a new release is available, click on Watch > Custom > Releases at the top. scrcpy v4.0 Changes since v3.3.4:

  • Migrate from SDL2 to SDL3 (#6216)
  • Add flex display support (#6772)
  • Add camera torch and zoom support (#6243)
  • Enforce window aspect ratio (#6761, #6774, #2317, #2387, #3460)
  • Add --keep-active (#6792, #6787)
  • Add --background-color (#6807, #5855)
  • Set default background color to dark gray (#6807)
  • Display disconnected icon before closing (#6662, #6651)
  • Add F11 as fullscreen shortcut (#6777)
  • Add Mod+q shortcut to quit (#6780, #6612)
  • Fix Meta Quest flickering (#5913)
  • Fix physical vs logical size confusion (#6772)
  • Fix copy-paste on rooted device (#6224)
  • Fix colorspace conversion issue (#1868)
  • Fix high CPU usage with audio silence decoded from OPUS (#6715)
  • Add session metadata for the video stream (#6159)
  • Respect video capabilities constraints (#6766)
  • Set Windows console code page to UTF-8 (#6663)
  • Fix support for device serial containing spaces (#6663, #6664, #3537)
  • Detect TCP devices provided by mDNS (#6665, #6248)
  • Keep Windows terminal open on error (#6667)
  • Set MediaCodec KEY_PRIORITY and KEY_LATENCY to minimum values (#6670)
  • Open the scrcpy window earlier (#6694, #6546)
  • Fix device rotation shortcut (5fedc79)
  • Use optimal size alignment (#6746, #4949, #6236)
  • Add --min-size-alignment (#6746)
  • Fix screensaver disabled unexpectedly without video playback (#6754)
  • Add --no-window-aspect-ratio-lock (#6761)
  • Fix rotation of square displays (#6770)
  • Align the virtual display size (#6771)
  • Add --render-fit (#6772)
  • Set default audio-output-buffer to 10ms (#6775, #3793)
  • Fix turning virtual display on via right-click (#6788)
  • Fix OpenGL runner shutdown deadlock (#6794)
  • Share SDL hints between normal and OTG modes (#6809, #6808)
  • Upgrade platform-tools (adb) to 37.0.0
  • Upgrade FFmpeg to 8.1.1 (#6715)
  • Upgrade SDL to 3.4.8
  • Upgrade dav1d to 1.5.3
  • Various technical fixes Highlights SDL3 This release migrates from SDL2 to SDL3 to benefit from active maintenance, bug fixes, and continued upstream support. SDL3 also enables new features, such as aspect-ratio locking when resizing the window. Thanks to the SDL maintainers for their work and for their support and fixes! See #6216 for details. Flex display A virtual display can now be made flex using --flex-display (or -x), meaning it can be resized dynamically along with the client window. Here is a demo: scrcpy --new-display=/192 -x --start-app=org.mozilla.firefox --keep-active --no-vd-system-decorations scrcpy-flex-display-2.mp4 Here are more examples:

Start Android Settings in a window

scrcpy --new-display=1024x768/160 --start-app=com.android.settings --flex-display

-x is equivalent to --flex-display

scrcpy --new-display=1024x768/160 --start-app=com.android.settings -x

By default, the display size/dpi is 1280x960/160

scrcpy --new-display --start-app=com.android.settings --flex-display Use --keep-active to prevent the screen from turning off (see below): scrcpy --new-display -x --keep-active Increase the bit rate and/or change the codec to maintain good quality even with large windows: scrcpy --new-display -x --video-codec=h265 -b16M See #6772 for more details. Camera torch and zoom The camera can be controlled dynamically:

  • MOD+t: turn on the camera torch
  • MOD+Shift+t: turn off the camera torch
  • MOD+↑ (up): zoom in
  • MOD+↓ (down): zoom out The camera torch can also be turned on at startup by --camera-torch: scrcpy --video-source=camera --camera-torch The camera zoom level can be set with --camera-zoom: scrcpy --video-source=camera --camera-zoom=1.5 The supported zoom range for each camera is given by --list-cameras (any value outside the supported range will be clamped). Aspect ratio Previously, the window could be freely resized, and black borders were added to maintain the content aspect ratio. Thanks to a new API in SDL3, the window aspect ratio is now preserved while resizing, avoiding black borders. The old behavior can be restored using --no-window-aspect-ratio-lock. Keep active To prevent the device from turning off due to inactivity, --keep-active periodically signals user activity to the system: scrcpy --keep-active Contrary to --stay-awake and --screen-off-timeout, this does not change any global settings, and it works whether the device is plugged in or not. Background color The default background was pure black; it is now dark gray. It can be changed with --background-color, which accepts hexadecimal color codes (in 3-digit or 6-digit format): scrcpy --background-color=#234567 scrcpy --background-color=234567 # leading '#' is optional scrcpy --background-color=#567 # equivalent to #556677 Disconnected icon When the connection to the device is lost while mirroring, the window previously closed immediately, which could incorrectly suggest that scrcpy had crashed. To make disconnections clearer, a disconnected icon is now displayed for 2 seconds before closing the window. The icon replaces the screen content immediately: scrcpy_disconnected_2_small More details in #6662. Meta Quest Since a Meta Quest firmware upgrade, flickering occurred when mirroring the screen with scrcpy. A workaround was implemented, so mirroring a Meta Quest now works again. See the technical details in #5913 (comment). High CPU usage with silence A funny bug: playing silence used much more CPU than playing non-silence, during resampling of audio samples decoded from an OPUS audio stream (resampling was about 40× slower). It turns out it was caused by denormals: the OPUS decoder did not produce exact zeros, but tiny denormal numbers, which can cause performance issues. This was fixed directly in FFmpeg: #6715 (comment) More shortcuts F11 now toggles fullscreen (like MOD+f), and MOD+q now quits scrcpy.
  • BlueSky: @scrcpy.bsky.social
  • Twitter: @scrcpy_app
  • Reddit: r/scrcpy

Installer type: zip

Architecture Scope Download SHA256
x86 Download 5F860AD2FC66042BD490E31B983D5E40FD749314F28F0DCB9FEC697FA89861BE
x64 Download 75DBEB5B00E6F64292F26F70900AE55CA397786BDFB0B9BBEB481A0549047457

Details

Homepage
https://github.com/Genymobile/scrcpy
License
Apache-2.0
Publisher
Genymobile
Support
https://github.com/Genymobile/scrcpy/issues
Privacy Policy
https://www.genymotion.com/privacy-statement/
Copyright
Copyright (C) 2018-2024 Genymobile, Romain Vimont
Moniker
scrcpy

Tags

adbandroidaudiocontrolcopydevicedisplaymirrorrecordscreentcpusbvideo

Older versions (18)

3.3.4
Architecture Scope Download SHA256
x86 Download 393F7D5379DABD8AACC41184755C3D0DF975CD2861353CB7A8D50E0835E2EB72
x64 Download D8A155B7C180B7CA4CDADD40712B8750B63F3AAB48CB5B8A2A39AC2D0D4C5D38
3.3.3
Architecture Scope Download SHA256
x86 Download E3D43E21C0BD6E070381C390C1E4CCCD48A1E71AE73A8C217E6E6B8506598C79
x64 Download 4B458D33D0436688C69875CD267CAE6FA8BE08AA3C17772EDF3A940A3DC4B17E
3.3.2
Architecture Scope Download SHA256
x86 Download CFF2BBEBDCFE14A023B77CD601FC4420B5631B19BD4B09CE4DCD4E5BF8E63244
x64 Download 8F7B19371657B872E271E6B02A0C758C61C6E31E032E9DF55A83AA3AAB960BFA
3.3.1
Architecture Scope Download SHA256
x86 Download CCDF1B4F5D19DFE760446A107E55B0A010A00E097D46533A161499C9333A20A6
x64 Download 4FCAD494772A3AE5DE9A133149F8856D2FC429B41795F7CF7C754E0C1BB6FBC0
3.3
Architecture Scope Download SHA256
x86 Download E409AB83F8C57BD6AC741D652635CAB7699FCF3D384E233833872F117B993CA6
x64 Download A120CB4BE7CDE2891AF38E83D2008173A0B6B6B5E344B2DFE668D0F892999933
3.2
Architecture Scope Download SHA256
x86 Download 4A3407D7F0C2C8A03E22A12CF0B5E1E585A5056FE23C8E5CF3252207C6FA8357
x64 Download EAA27133E0520979873BA57AD651560A4CC2618373BD05450B23A84D32BEAFD0
3.1
Architecture Scope Download SHA256
x64 Download 0C05EA395D95CFE36BEE974EEB435A3DB87EA5594FF738370D5DC3068A9538CA
x86 Download 2B4674EF76719680AC5A9B482D1943BDDE3FA25821AD2E98F3C40C347D00D560
3.0.2
Architecture Scope Download SHA256
x64 Download F0DE59F5D46127C87CD822D39D6665E016B86DB4CD048101B262F6ADB6766832
x86 Download 8DB8D4984D642012C55802DE71F507F8FF9F68A8CFED456D7A1982D47E065F64
3.0.1
Architecture Scope Download SHA256
x64 Download 2D2485CEAD6BB9D80EC337A660A571FC4B3C2E15034AD73C6A2867442206A5F4
x86 Download 43296F8BF34DD408C65463D45CA367FEBE68CEC3AE34B78917A8F3ECBF321829
3.0
Architecture Scope Download SHA256
x64 Download DFBE8A8FEF6535197ACC506936BFD59D0AA0427E9B44FB2E5C550EAE642F72BE
x86 Download 7CBF8D7A6EBFDCA7B3B161E29A481C11088305F3E0A89D28E8E62F70C7BD0028
2.7
Architecture Scope Download SHA256
x64 Download 5910BC18D5A16F42D84185DDC7E16A4CEE6A6F5F33451559C1A1D6D0099BD5F5
x86 Download EF4DAF89D500F33D78B830625536ECB18481429DD94433E7634C824292059D06
2.4
Architecture Scope Download SHA256
x64 Download 9DC56F21BFA455352EC0C58B40FEAF2FB02D67372910A4235E298ECE286FF3A9
x86 Download CF92ACC45EEF37C6EE2DB819F92E420CED3BC50F1348DD57F7D6CA1FC80F6116
2.3.1
Architecture Scope Download SHA256
x64 Download F1F78AC98214078425804E524A1BED515B9D4B8A05B78D210A4CED2B910B262D
x86 Download 5DFFC2D432E9B8B5B0E16F12E71428C37C70D9124CFBE7620DF0B41B7EFE91FF
2.3
Architecture Scope Download SHA256
x64 Download A2FDD2733BD337261BB493E77D990078A23E7A40149DD0C0DC45725C929A715F
x86 Download DFDBB69A872D717AED5BCFE352E571564C357FDB7A9C172D69F450FDF5154A0A
2.1.1
Architecture Scope Download SHA256
x64 Download F77281E1BCE2F9934617699C581F063D5B327F012EFF602EE98FB2EF550C25C2
x86 Download EF7AE7FBE9449F2643FEBDC2244FB186D1A746A3C736394150CFD14F06D3C943
2.1
Architecture Scope Download SHA256
x64 Download 57B98813322C8B5B560ADA68714A2CD7B7EFE64086FA61D03E389C23212C803D
x86 Download 4D261D391A60EA975440D83CDC22F8250B3C8985F2ECE8C7E53D6FB26C0D74ED
2.0
Architecture Scope Download SHA256
x64 Download AE4C8D37A496B43F8974BA8F07F708E22A9570BA0CDDC3DC3A36EDBCCD4D2A20
x86 Download 15D98C02CB0E0BBD84F8B5D54991E0F6925569B1286A86A40743944FCB1C2D8C
1.25
Architecture Scope Download SHA256
x64 Download DB65125E9C65ACD00359EFB7CEA9C05F63CC7CCD5833000CD243CC92F5053028
x86 Download D9422CAFECB28D9DF9DD8490B492BC2E573F8962854163294BA85B239BECC0A3