📦 scrcpy/ Genymobile
Display and control your Android device
Установка и запуск
Usage examples
There are a lot of options, documented in separate pages. Here are just some common examples.
-
Capture the screen in H.265 (better quality), limit the size to 1920, limit the frame rate to 60fps, disable audio, and control the device by simulating a physical keyboard:
scrcpy --video-codec=h265 --max-size=1920 --max-fps=60 --no-audio --keyboard=uhid scrcpy --video-codec=h265 -m1920 --max-fps=60 --no-audio -K # short version -
Start VLC in a new virtual display (separate from the device display):
scrcpy --new-display=1920x1080 --start-app=org.videolan.vlc -
Start VLC in a new flex display using H.265 with a bitrate of 16 Mbps, while keeping the display active so it does not turn off:
scrcpy --new-display -x --keep-active --start-app=org.videolan.vlc --video-codec=h265 -b16M -
Record the device camera in H.265 at 1920x1080 (and microphone) to an MP4 file:
scrcpy --video-source=camera --video-codec=h265 --camera-size=1920x1080 --record=file.mp4 -
Capture the device front camera and expose it as a webcam on the computer (on Linux):
scrcpy --video-source=camera --camera-size=1920x1080 --camera-facing=front --v4l2-sink=/dev/video2 --no-playback -
Control the device without mirroring by simulating a physical keyboard and mouse (USB debugging not required):
scrcpy --otg -
Control the device using gamepads plugged into the computer:
scrcpy --gamepad=uhid scrcpy -G # short version
Из README репозитория · полный README на GitHub