Last active
February 10, 2016 21:39
-
-
Save ajthemacboy/5d1dcb1600482208f18e to your computer and use it in GitHub Desktop.
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
mogrify -format jpg *.tga | |
x=1; for i in *.jpg; do counter=$(printf %03d $x); cp "$i" ./renamed/"$counter".jpg; x=$(($x+1)); done | |
(For 30 FPS (slower animation):) ffmpeg -framerate 30 -i %03d.jpg -c:v libx264 -profile:v high444 -crf 18 -framerate 60 output.mp4 | |
(For 40 FPS (faster animation):) ffmpeg -framerate 40 -i %03d.jpg -c:v libx264 -profile:v high444 -crf 18 -framerate 30 output.mp4 | |
(Recommended, Lossless): ffmpeg -framerate 30 -i %03d.jpg -c:v libx264 -preset veryslow -framerate 60 -qp 0 output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment