FFmpeg converts all PNGs in a directory into an animated GIF by:
ffmpeg -pattern_type glob -i '*.png' out.gif
-pattern_type glob -i '*.png'
- collect all .png files in this directory
FFmpeg file globbing does NOT work on Windows, even with FFMPEG 4.x. The error on Windows is like:
Pattern type ‘glob’ was selected but globbing is not supported by this libavformat build
Windows FFmpeg users, consider using Windows Subsystem for Linux for file globbing with FFmpeg.