1. Record the command:
// phone screen recording, video format mp4, sd storage card to the phone, the default recording time is 180s, the default storage path sd card root directory
adb shell screenrecord to /sdcard/test.mp4
2. Record Time limit:
Parameters: --time-limit
adb shell screenrecord to limit --time-10 /sdcard/test.mp4
// limit the video recording time is 10s, without limitation, default 180s
3. Stop recording:
Ctrl + C to interrupt the recording, or to reach the specified time automatically stops recording
4.adb pull out or use USB copy
adb pull /storage/sdcard0/test.mp4
// adb pull the video phone to your computer to copy the path the current directory path default