Skip to content

scrcpy

快速开始

  1. 下载 scrcpy

  2. 手机开启开发者模式,并允许 USB 调试。

  3. 快捷脚本:

    bat
    scrcpy.exe ^
    --tcpip=192.168.1.20:5555 ^
    --max-size=720 ^
    --max-fps=30 ^
    --audio-buffer=100 ^
    --audio-bit-rate=64K ^
    --stay-awake ^
    --disable-screensaver

连接

无线连接

  1. adb tcpip 5555
  2. adb connect 192.168.1.20:5555
  3. scrcpy

运行参数

connection

  • --tcpip=192.168.1.20:5555:通过 TCP/IP 连接

audio

  • --no-audio:禁用音频
  • --max-size=1024:尺寸
  • --max-fps=30:帧速率

video

  • --no-video:禁用视频
  • --audio-buffer=100:缓冲
  • --audio-bit-rate=64K:比特率

device

  • --stay-awake:保持清醒
  • --turn-screen-off:关闭屏幕

window

  • --disable-screensaver:禁用屏幕保护程序

参考资料

基于 MIT 许可发布