Skip to content

Instantly share code, notes, and snippets.

@rayworks
Created February 2, 2019 05:46
Show Gist options
  • Save rayworks/428409347a4e1c69ab764da1b60856c8 to your computer and use it in GitHub Desktop.
Save rayworks/428409347a4e1c69ab764da1b60856c8 to your computer and use it in GitHub Desktop.
Commands for screen recording and media convertion
adb shell screenrecord --time-limit 3 --bit-rate 2000000 --verbose /sdcard/demo.mp4
ffmpeg -ss 00:00:00.000 -i ./demo.mp4 -pix_fmt rgb24 -r 3 -s 270x480 -t 00:00:3.000 output.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment