Use adb screenrecord command to mirror Android screen to PC via USB

后端 未结 5 674
半阙折子戏
半阙折子戏 2020-12-07 11:26

I\'ve tried the suggestion from fadden to mirror the Android screen to PC, but the vlc player screen show nothing:

5条回答
  •  时光取名叫无心
    2020-12-07 12:09

    Based on the answers above I have tried every possible combination and there is only one that is does not lag a lot, does not stop and has a decent video quality, with ffplay:

    adb shell screenrecord --bit-rate=16m --output-format=h264 --size 800x600 - | ffplay -framerate 60 -framedrop -bufsize 16M -
    

    The size parameter can be changed to anything.

    Note this is still far from perfect, but gets the work done and I also tried it over WiFi and it was good enough.

提交回复
热议问题