Skip to content

Instantly share code, notes, and snippets.

@cstew
cstew / screenrecord.sh
Created December 5, 2016 21:54 — forked from PaulKinlan/getdeviceart.sh
Screen Record for Android
if [ -z "$1" ]; then
shot_path=$(date +%Y-%m-%d-%H-%M-%S).mp4
else
shot_path="$*"
fi
ffmpeg="ffmpeg"
n6_frame="n6-background.png"
trap ctrl_c INT