Generating movies from directories of images using ffmpeg
ffmpeg -pattern_type glob -i '*.JPG' -c:v libx264 -pix_fmt yuv420p -vf scale=-1:720 output.mp4
To note:
- substitute glob (*.JPG) for your extension
- set your scale as desired; 720 is the height in pixels
ffmpeg -f concat -i filelist.txt -c:v libx264 -pix_fmt yuv420p -vf scale=-1:720 output.mp4
To note:
- filelist.txt is a list of the input files, one file per line