ffmpeg
From Noah.org
Revision as of 13:23, 30 September 2017 by Root (talk | contribs) (→Create video from a sequence of images)
MJPEG
You can losslessly extract individual JPEG imges from an mjpeg file.
ffmpeg -i mjpegvideo.mov -vcodec copy frame%d.jpg
Create video from a sequence of images
If there is no format to the images you want to convert then you must use the pattern_type option:
ffmpeg -pattern_type glob -i "image-*.jpg" video.mov
ffmpeg -framerate 10 -pattern-type glob -i "*.jpg" -c:v libx264 -pix_fmt yuv420p -crf 23 output.mov