PNG stack to AVI using FFMPEG

This command losslessly converts all PNGs in a directory into a single lossless AVI video file. If you have problems playing back the .avi file, try omitting the -c:v ffv1 parameter.

Don’t go below a framerate of about 3 frames/second because some viewers won’t work (e.g. VLC). {: .alert-box}

File globbing does NOT work on Windows, even with FFMPEG 4.x–consider using Windows Subsystem for Linux. {: .alert-box}

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