Created
November 12, 2011 15:04
-
-
Save enru/1360638 to your computer and use it in GitHub Desktop.
ffmpeg encode jpgs stop motion
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
| #!/bin/bash | |
| c=0; for i in *.JPG; do mv "$i" "`printf %05d $c`.jpg"; c=$((c+1));done | |
| ffmpeg -r 6 -b 2000 -i %05d.jpg -vcodec libx264 -vpre hq -vpre ipod640 -an -threads 0 -b 5000k video.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment