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

后端 未结 5 1107
甜味超标
甜味超标 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:18

    As you pointed out, that command is only available in KitKat and via ADB only.

    I'd say your best option is recording the portion of the screen of an emulator (either AVD or Genymotion).

    0 讨论(0)
  • 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 -
    
    0 讨论(0)
  • 2020-12-23 14:27

    this only work in KitKat and via ADB only. This not Working below Kitkat

    To start recording your device’s screen, run the following command:

    adb shell screenrecord /sdcard/example.mp4, This command will start recording your device’s screen using the default settings and save the resulting video to a file at /sdcard/example.mp4 file on your device.

    When you’re done recording, press Ctrl+C in the Command Prompt window to stop the screen recording. You can then find the screen recording file at the location you specified. Note that the screen recording is saved to your device’s internal storage, not to your computer.

    The default settings are to use your device’s standard screen resolution, encode the video at a bitrate of 4Mbps, and set the maximum screen recording time to 180 seconds. For more information about the command-line options you can use, run the following command:

    adb shell screenrecord –-help, This works without rooting the device. Hope this helps.

    0 讨论(0)
  • 2020-12-23 14:37

    The screenrecord command is a shell utility for recording the display of devices running Android 4.4 (API level 19) and higher.

    Ref. : http://developer.android.com/tools/help/adb.html (Recording a device screen)

    OR

    There is many application available on market for screen recording, So download which more is useful to you.

    0 讨论(0)
  • 2020-12-23 14:40

    AirServer is a good application to do this with. You can mirror your device's screen to your PC/Mac and record them to a file. Great quality too.

    0 讨论(0)
提交回复
热议问题