Create a video from a sequence of images starting at image_100

I use ffmpeg to convert a sequence of images to a .mov file. I use the following command:

ffmpeg.exe -f image2 -i im_%04d.jpeg -r 25 -sameq -vcodec mjpeg out.mov 

It works fine if the first image of the sequence starts with im_0000, but when the first image starts, for example, in im_0100, I get

 im_%04d.jpeg: Error number -2 occurred 

How can I get him to analyze the sequence, no matter what number the first image has?

+6
source share
1 answer

This is an old question, but I think the answer should be here:

You can use "-start_number 100"

FFmpeg documentation

+6
source

Source: https://habr.com/ru/post/886797/


All Articles