Skip to content

Instantly share code, notes, and snippets.

@timothyclemans
Last active August 29, 2015 14:00
Show Gist options
  • Save timothyclemans/11267225 to your computer and use it in GitHub Desktop.
Save timothyclemans/11267225 to your computer and use it in GitHub Desktop.
dual_video_screen_recording.sh
adb shell am start -a android.intent.action.VIEW -d com.glass.videoglass:// --ez startFromWS true
adb shell screenrecord /sdcard/VideoBlack/screen.mp4
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