[FFmpeg-user] loop over a sequence of images again and again

Moritz Barsnick barsnick at gmx.net
Tue Dec 5 21:30:45 EET 2017


On Tue, Dec 05, 2017 at 20:21:48 +0100, Michael Koch wrote:

> Is this possible?

Yes.

Oh, you want more info? ;-)

> Let's assume I have a sequence of 100 images. Is it possible to let 
> ffmpeg loop over this input sequence again and again?
> I mean the input should be 0, 1, 2, ... , 99, 0, 1, 2, ... , 99, 0, 1, 
> 2  and so on. Is this possible?

Have a look at the image2 demuxer and its "-loop" option. "-loop 1"
should also work for the concat demuxer, which takes a list of input
files (instead of following a pattern).

Moritz


More information about the ffmpeg-user mailing list