Created
January 20, 2014 22:41
-
-
Save sjwilliams/8530818 to your computer and use it in GitHub Desktop.
rename a folder of image to be sequential, then convert to an mp4
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
find . -name '*.JPG' | awk 'BEGIN{ a=1 }{ printf "mv %s %04d.jpg\n", $0, a++ }' | bash; | |
ffmpeg -r 24 -f image2 -s 1920x1280 -i %4d.jpg -vcodec libx264 -crf 15 test.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment