SCRCPY(1) General Commands Manual SCRCPY(1) (NAME) scrcpy - (SYNOPSIS) scrcpy [options] (DESCRIPTION) scrcpy Android USB ( TCP/IP) . (root) . (OPTIONS) --always-on-top scrcpy ( ). --angle degrees ( ). --audio-bit-rate value (bits/s). : 'K' ( ) 'M' ( ). 128K (128000) . --audio-buffer ms ( ). (buffer underrun) ( ). 50 . --audio-codec name (opus aac flac raw). opus . --audio-codec-options key[:type]=value[,...] key:type=value . 'type' : 'int' () 'long' 'float' 'string'. Android : --audio-dup ( ). --audio-source=playback . --audio-encoder name MediaCodec ( --audio-codec). --list-encoders . --audio-source source . : - "output": . - "playback": ( Android ). - "mic": . - "mic-unprocessed": () . - "mic-camcorder": . - "mic-voice-recognition": . - "mic-voice-communication": ( ). - "voice-call": . - "voice-call-uplink": (uplink) . - "voice-call-downlink": (downlink) . - "voice-performance": () . output . --audio-output-buffer ms SDL ( ). . 10 . -b, --video-bit-rate value (bits/s). : 'K' ( ) 'M' ( ). 8M (8000000) . --background-color hexcolor (#RGB #RRGGBB). #222 ( ) . --camera-ar ar (+/- ). "sensor" ( ) "num:den" ( "4:3") "value" ( "1.6"). --camera-facing facing . "front" "back" "external". --camera-fps fps . Android ( ) . --camera-high-speed . --list-camera-sizes . --camera-id id . --list-cameras . --camera-size widthxheight . --camera-torch . --camera-zoom zoom . --capture-orientation value 0 90 180 270 flip0 flip90 flip180 flip270 '@' . "flip" . '@' (@90) . '@' . 0 . --crop width:height:x:y . ( ). -d, --select-usb USB ( adb -d). -e (--select-tcpip) . --disable-screensaver scrcpy. --display-id id . --list-displays . 0 ..TP --display-ime-policy value IME. "local" "fallback" "hide": - "local" IME . - "fallback" IME ( ) . - "hide" IME . IME . --display-orientation value . 0 90 180 270 flip0 flip90 flip180 flip270. "flip" . 0 . -e, --select-tcpip TCP/IP ( adb -e). -d (--select-usb) . -f, --fullscreen . --force-adb-forward "adb reverse" . -G --gamepad=uhid --otg --keyboard=aoa . --gamepad mode . "disabled" "uhid" "aoa": - "disabled" . - "uhid" HID HID . - "aoa" HID AOAv2 . USB . --keyboard R--mouse . -h, --help . --ignore-video-encoder-constraints . . --min-size-alignment . -K --keyboard=uhid --otg --keyboard=aoa . --keep-active . --keyboard mode . "disabled" "sdk" "uhid" "aoa": - "disabled" . - "sdk" API . - "uhid" HID HID . - "aoa" HID AOAv2 . USB . "uhid" "aoa" ( ) Settings -> System -> Languages and input -> Physical keyboard . MOD+k ( OTG) : adb shell am start -a android.settings.HARD_KEYBOARD_SETTINGS HID ( ). --mouse --gamepad . --kill-adb-on-close adb scrcpy. --legacy-paste Ctrl+v ( MOD+Shift+v). . --list-apps . --list-camera-sizes . --list-cameras . --list-encoders . --list-displays . -m, --max-size value . ( ). . 0 () . -M --mouse=uhid --otg --mouse=aoa . --max-fps value ( 10 ). --min-size-alignment alignment . 2 (1 2 4 8 16) . . 1 . --mouse mode . "disabled" "sdk" "uhid" "aoa": - "disabled" . - "sdk" API . - "uhid" HID HID . - "aoa" AOAv2 . USB . "uhid" "aoa" ( ). LAlt LSuper RSuper . --keyboard --gamepad . --mouse-bind xxxx[:xxxx] . ( ':') 4 ( : ). . Shift . . : - '+': - '-': - 'b': BACK ( ) - 'h': HOME - 's': APP_SWITCH - 'n': "expand notification panel" ( ) SDK 'bhsn:++++' AOA UHID '++++:bhsn' ..TP -n, --no-control ( ). -N, --no-playback ( --no-video-playback --no-audio-playback). --new-display[=[widthxheight][/dpi]] . DPI . : --new-display=1920x1080 --new-display=1920x1080/420 --new-display # --new-display=/240 # 240 dpi --no-audio . --no-audio-playback . --no-cleanup scrcpy ( ) . . --no-clipboard-autosync scrcpy Ctrl+v . . --no-downsize-on-error MediaCodec scrcpy . . --no-key-repeat . --no-mipmaps OpenGL 3.0+ OpenGL ES 2.0+ mipmap (downscaling) . mipmap . --no-mouse-hover ( ) . --no-power-on . --no-terminal-title . --no-vd-destroy-content <> ( ) . . --no-vd-system-decorations (system decorations) . --no-video . --no-video-playback . --no-window scrcpy. --no-video-playback . --no-window-aspect-ratio-lock . --orientation value --display-orientation=value --record-orientation=value. --otg OTG: OTG . adb ( USB) . LAlt LSuper RSuper . --keyboard=disabled --mouse=disabled . USB . : --keyboard --mouse --gamepad. -p, --port port[:port] ( ) TCP . 27183:27199 . --pause-on-exit[=mode] . "true" ( ) "false" ( ) "if-error" ( ). . "false" . "true" . --power-off-on-close scrcpy. --prefer-text (text events) (key events). ( WASD) . --print-fps FPS . MOD+i . --push-target path (drag & drop). "adb push" . "/sdcard/Download/" . -r, --record file file. --record-format . --raw-key-events . --record-format format (mp4 mkv m4a mka opus aac flac wav). --record-orientation value . 0 90 180 270. . 0 . --render-driver name SDL ( ). "direct3d" "opengl" "opengles2" "opengles" "metal" "software". --render-fit mode render-fit . "letterbox" "stretched" "unscaled": - "letterbox": ( ). - "stretched": . - "unscaled": . "letterbox" --flex-display "unscaled" ..TP --require-audio scrcpy (mirror) . scrcpy . -s, --serial number . adb . -S, --turn-screen-off . --screen-off-timeout seconds scrcpy ( ). --shortcut-mod key[+...]][,...] (modifier) scrcpy . "lctrl" "rctrl" "lalt" "ralt" "lsuper" "rsuper". ',' . LCtrl LSuper scrcpy "lctrl,lsuper" . "lalt,lsuper" (Alt Super ). --start-app name (package name) . '?' ( ): scrcpy --start-app=?firefox '+' (force-stop) : scrcpy --new-display --start-app=+org.mozilla.firefox : scrcpy --start-app=+?firefox -t, --show-touches << >> . ( scrcpy ). --tcpip[=[+]ip[:port]] TCP/IP. scrcpy . TCP ( 5555 ). scrcpy IP adb ( USB) TCP/IP . '+' . --time-limit seconds . --tunnel-host ip IP adb scrcpy . --force-adb-forward . localhost . --tunnel-port port TCP adb scrcpy . --force-adb-forward . 0 ( ): . -v, --version scrcpy . -V, --verbosity value (log level) ("verbose" "debug" "info" "warn" "error"). "info" "debug" . --v4l2-sink /dev/videoN v4l2loopback. --v4l2-buffer ms ( ) . (jitter) . --video-buffer V4L2 . 0 ( ). --video-buffer ms ( ) . (jitter) . 0 ( ). --video-codec name (h264 h265 av1 vp8 vp9). h264 . --video-codec-options key[:type]=value[,...] key:type=value . 'type' 'int' () 'long' 'float' 'string'. : --video-encoder name MediaCodec ( --video-codec). --list-encoders . --video-source source (display camera). . display . -w, --stay-awake scrcpy . --window-borderless ( ). --window-title text . --window-x value . "auto" . --window-y value . "auto" . --window-width value . 0 (). --window-height value . 0 (). -x, --flex-display ..SH " (EXIT STATUS)" scrcpy 0 . 1 . 2 . (SHORTCUTS) MOD (modifier) . Alt () Super () --shortcut-mod ( ). MOD+q MOD+f, F11 MOD+Left MOD+Right MOD+Shift+Left, MOD+Shift+Right MOD+Shift+Up, MOD+Shift+Down MOD+z MOD+Shift+z MOD+Shift+r / MOD+g 1:1 ( ) MOD+w, Double-click on black borders MOD+h, Home, Middle-click HOME MOD+b, MOD+Backspace, Right-click (when screen is on) BACK MOD+s APP_SWITCH MOD+m MENU MOD+Up VOLUME_UP MOD+Down VOLUME_DOWN MOD+p POWER (/ ) Right-click (when screen is off) MOD+o ( ) MOD+Shift+o MOD+r MOD+n MOD+Shift+n Mod+c ( COPY Android >= 7) Mod+x ( CUT Android >= 7) MOD+v ( PASTE Android >= 7) MOD+Shift+v MOD+k ( HID) MOD+i / FPS ( ) Ctrl+click-and-move (Pinch-to-zoom) Shift+click-and-move ( ) Ctrl+Shift+click-and-move ( ) Drag & drop APK file APK Drag & drop non-APK file ( --push-target) MOD+t ( ) MOD+Shift+t ( ) MOD+Up ( ) MOD+Down ( ).SH " (ENVIRONMENT VARIABLES)" ADB adb. ANDROID_SERIAL (-s -d -e --tcpip=addr) . SCRCPY_ICON_DIR . SCRCPY_SERVER_PATH . (AUTHORS) scrcpy Romain Vimont . Yangfl Debian ( ). (REPORTING BUGS) . (COPYRIGHT) (C) 2018 Genymobile (C) 2018-2026 Romain Vimont Apache License 2.0 . WWW SCRCPY(1)