Skip to content

Instantly share code, notes, and snippets.

@ludwigschuster
Last active April 2, 2017 05:23
Show Gist options
  • Save ludwigschuster/bb2a3012472c48abf8c59882bbf77fb0 to your computer and use it in GitHub Desktop.
Save ludwigschuster/bb2a3012472c48abf8c59882bbf77fb0 to your computer and use it in GitHub Desktop.
Scale images and make a GIF
convert *.jpg -resize 250x250 -set filename:f '%t' '%[filename:f].jpg' && convert -delay 15 *.jpg out.gif
brew install ffmpeg && ffmpeg -framerate 10 -pattern_type glob -i '*.jpg' -c:v libx264 -pix_fmt yuv420p out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment