Skip to content

Instantly share code, notes, and snippets.

@embs
Last active July 14, 2020 17:10
Show Gist options
  • Save embs/c45a5c8041b98d30f41a3053b5f4b72b to your computer and use it in GitHub Desktop.
Save embs/c45a5c8041b98d30f41a3053b5f4b72b to your computer and use it in GitHub Desktop.
Mp4 to GIF
mkdir frames
ffmpeg -i screencast.mp4 -r 5 'frames/frame-%03d.jpg'
cd frames
convert -delay 20 -loop 0 -layers Optimize *.jpg myimage.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment