Skip to content

Instantly share code, notes, and snippets.

@bjou
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjou/7f0994e74ff6294c61f9 to your computer and use it in GitHub Desktop.
Save bjou/7f0994e74ff6294c61f9 to your computer and use it in GitHub Desktop.
Convert Image Sequence to Playable MOV
ffmpeg -framerate 3 -i %05d.png -c:v libx264 -r 3 <MP4FILE>.mp4
ffmpeg -i <MP4FILE>.mp4 -c:v libx264 -preset fast \
-pix_fmt yuv420p -r 23.98 -g 15 -s <W>x<H> -b 2500k -bt 300k \
-f mov <OUTFILE>.mov
@bjou
Copy link
Author

bjou commented Aug 28, 2014

Add -vf "transpose=1" for flipping video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment