PNG stack to AVI using FFMPEG

less than 1 minute read

This command losslessly converts all PNGs in a directory into a single lossless AVI video file.

Don’t go below a frametate of about 3 frames/second because some viewers won’t work (e.g. VLC).

ffmpeg -framerate 5 -pattern_type glob -i '*.png' -c:v ffv1 out.avi
-framerate 5
show 5 PNG image frames per second.
-pattern_type glob -i '*.png'
collect all .png files in this directory
-c:v ffv1
use the lossless FFV1 codec

Categories:

Updated:

Leave a Comment