- -r framerate
- -s size of output video
- -pattern_type and -i is the input files
- -vf (filters) scale=-2:2160 means scale proportionally to 2160 pixels high
- -pix_fmt required for quicktime or some shit.
ffmpeg -r 24 -f image2 -s 3840x2160 -pattern_type glob -i "20220123_*.JPG" -vf "scale=-2:2160" -vcodec libx264 -crf 25 -pix_fmt yuv420p day2.mp4