ffmpeg

From Noah.org
Jump to navigationJump to search


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