Skip to content

Instantly share code, notes, and snippets.

@zlhaa23
Last active December 16, 2017 03:26
Show Gist options
  • Save zlhaa23/09dba7ddb63450700660f9c584a50fa3 to your computer and use it in GitHub Desktop.
Save zlhaa23/09dba7ddb63450700660f9c584a50fa3 to your computer and use it in GitHub Desktop.
Convert images to gif / mp4
# ImageMagick
convert -delay 50 +page *.png -loop 0 animated.gif
# FFmpeg
ffmpeg -framerate 30 -pattern_type glob -i '*.png' -c:v libx264 -pix_fmt yuv420p movie.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment