Skip to content

Instantly share code, notes, and snippets.

@hteumeuleu
Created June 30, 2017 13:30
Show Gist options
  • Save hteumeuleu/45e8b24073a2ade8f0615f70e7a17ee7 to your computer and use it in GitHub Desktop.
Save hteumeuleu/45e8b24073a2ade8f0615f70e7a17ee7 to your computer and use it in GitHub Desktop.
Commands to generate a background sprite from an MP4 video (using ffmpeg and ImageMagick)
ffmpeg -i video.mp4 -r 1 img/frames_%04d.png
montage -tile 34x1 -geometry 640x960 *.png background.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment