Skip to content

Instantly share code, notes, and snippets.

@vinzdef
Created June 6, 2016 21:54
Show Gist options
  • Save vinzdef/6118858d072c2d9f824a02b315e577c7 to your computer and use it in GitHub Desktop.
Save vinzdef/6118858d072c2d9f824a02b315e577c7 to your computer and use it in GitHub Desktop.
file="II.gif"
base="II"
convert $file -coalesce "${base}-coal.gif"
convert -size 1200x1080 "${base}-coal.gif" -resize 30% "${base}-small.gif"
convert "${base}-small.gif" frames%04d.png
#montage -background '#e177a8' -border 0 -tile 6x -quality 60% frames*.png "A-sheet.jpg"
ffmpeg -loop 1 -i bg.png -i frames%04d.png -filter_complex overlay=shortest=1 "II.mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment