How to record Android device's screen on Android version below 4.4 (KitKat)

后端 未结 5 1106
甜味超标
甜味超标 2020-12-23 13:49

With Android version 4.4 (KitKat) one can record Android device\'s screen with following command using ADB from commandline.

adb shell screenrecord /         


        
5条回答
  •  独厮守ぢ
    2020-12-23 14:22

    To avoid time limit issue, you can use this snippet:

    ./adb exec-out "while true; do screenrecord --bit-rate=16m --output-format=h264 --size 720x1280 --time-limit 180 -; done" | ffplay -framerate 60 -framedrop -bufsize 16M -
    

提交回复
热议问题