[FFmpeg-user] amerge multiple inputs with filter_complex

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 31 03:32:03 CET 2013

Madovsky <infos <at> madovsky.org> writes:

> ffmpeg -loop 1 -an background.png -i stream11.mp4 -i stream22.mp4 
> -filter_complex "[1:1][2:1]amerge[audio]; 
> [0:0][1:0]overlay=(main_w-640)/2:(main_h-240)/2[left];
> [left][2:0]overlay=((main_w-640)/2)+320:(main_h-240)/2" 
> -map '[audio]' -shortest output.mp4
> works well unless "amerge" that prevent the end of the encoding

Please add the complete, uncut console output.

Carl Eugen

More information about the ffmpeg-user mailing list