Last active
June 13, 2016 14:50
-
-
Save dansloane/21017ea4fd6df4b37eb3b0cde1b23aa4 to your computer and use it in GitHub Desktop.
Revisions
-
dansloane revised this gist
Jun 13, 2016 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,7 @@ # http://stackoverflow.com/a/20848224 # Tested on OS X with ffmpeg 3.0.2 via Brew # PNG image sequence was 875x875 ffmpeg -r 25 -f image2 -s 874x874 -i paddedtofive_%05d.png -vcodec libx264 -crf 25 -
dansloane created this gist
Jun 13, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # Sources # http://hamelot.io/visualization/using-ffmpeg-to-convert-a-set-of-images-into-a-video/ # http://stackoverflow.com/a/20848224 # Tested on OS X with ffmpeg 3.0.2 via Brew ffmpeg -r 25 -f image2 -s 874x874 -i paddedtofive_%05d.png -vcodec libx264 -crf 25 -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" test.mp4