[FFmpeg-user] Guidance on converting images to video

Joseph L. Casale jcasale at activenetwerx.com
Sat Oct 10 23:51:51 CEST 2015

We have a source that produces groups of JPEG images that are
352x240 and ~10K in size. There are pretty close to 3000 for a 10 minute

When I encode as follows:

    ffmpeg -framerate 5 -i %05d-capture.jpg -codec copy output.mp4

I get a video that works as expected, its ~10 minutes long and the images
transition like they should.

With some of my attempts to encode with compression, the output
becomes composed of segments which simply stall as if it were skipping
frames, whereas the following seems like a start:

  ffmpeg -framerate 5 -i %05d-capture.jpg -c:v libx264 -preset veryfast output.mp4

however it takes too long. I have over a dozen groups of images appearing
every 10 minutes and I already use a message passing cluster to offload
encoding onto multiple hosts.

Is there a more applicable scheme for use with JPEG images of this size
or a better route to take in general?


More information about the ffmpeg-user mailing list