[FFmpeg-user] amerge multiple inputs with filter_complex

Madovsky infos at madovsky.org
Thu Jan 31 15:57:38 CET 2013

>> Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
>>> >   Duration: 00:02:27.24, start: 0.023220, bitrate: 353 kb/s
>>> Your first overlay is 2:27
>>> >   Duration: 00:02:30.81, start: 0.023220, bitrate: 288 kb/s
>>> Your second overlay is 2:30
>>> You will have to add a "-t" option to your command line if you don't 
>>> want your output file to have infinite length.
>>> (Try -t 2:27)
>>>From the amerge documentation:
>> If inputs do not have the same duration, the output will stop with the 
>> shortest. If you want more than 2:27 audio in your output file use the 
>> apad filter.
>> Carl Eugen
> Not true,
> when I remove the PNG image from the filter_complex everything
> is ok. also I'd like to use this command for undefined length like
> live stream and so stop when live stream is stopped.

also I replaced the png with another mp4 stream with different time (2:32)
and it works. So logically the problem is coming from the fact that a loop 
is maybe considered to contain an audio stream... 

More information about the ffmpeg-user mailing list