Last active
August 29, 2015 14:00
-
-
Save timothyclemans/11267225 to your computer and use it in GitHub Desktop.
dual_video_screen_recording.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell am start -a android.intent.action.VIEW -d com.glass.videoglass:// --ez startFromWS true | |
adb shell screenrecord /sdcard/VideoBlack/screen.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell am start -a android.intent.action.VIEW -d com.glass.videoglass:// --ez stopFromWS true | |
adb pull /sdcard/VideoBlack/screen.mp4 screen.mp4 | |
videofile=`adb shell "ls /sdcard/VideoBlack/" | tail -1` | |
adb pull $videofile video.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment