Created
May 3, 2013 07:37
-
-
Save ifnull/5507762 to your computer and use it in GitHub Desktop.
Convert a series of JPGs to and MP4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -r The first one. Desired length of video (i.e. 7 is 7 seconds). | |
# -start_number Starting index (i.e. foobar0099.jpg) | |
ffmpeg \ | |
-f image2 \ | |
-r 7 \ | |
-start_number 99 \ | |
-i ./images/foobar%04d.jpg \ | |
-c:v libx264 \ | |
-r 30 \ | |
out.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment