Created
July 2, 2014 11:43
-
-
Save pwaldhauer/694bdf4f09941962c4c4 to your computer and use it in GitHub Desktop.
Create youtube-ready h264 from jpegs
This file contains 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
x=1; for i in *jpg; do counter=$(printf %03d $x); ln "$i" /tmp/aaa/img"$counter".jpg; x=$(($x+1)); done | |
ffmpeg -f image2 -framerate 25 -pattern_type sequence -r 10 -i img%03d.jpg -c:v libx264 -preset slow -crf 18 -pix_fmt yuv420p /Users/pwaldhauer/test.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment