[FFmpeg-user] mix 2 mp4 audio only

Madovsky infos at madovsky.org
Tue Feb 5 15:04:59 CET 2013


----- Original Message ----- 
From: "Carl Eugen Hoyos" <cehoyos at ag.or.at>
To: <ffmpeg-user at ffmpeg.org>
Sent: Tuesday, February 05, 2013 3:39 AM
Subject: Re: [FFmpeg-user] mix 2 mp4 audio only


> Madovsky <infos <at> madovsky.org> writes:
> 
>> ffmpeg -i "rtmp://server/app/live1 live=1" 
>> -i "rtmp://server/app/live2 live=1" -i 
>> -filter_complex "[0:0]pad=682:450:21:105[left]; 
>> [left][1:0]overlay=341:105; [0:1][1:1]amerge" 
>> -shortest -y output.flv
>> 
>> but as I use filter_complex I can't use -acodec copy 
>> to avoid decode encoding audio/video
> 
> Yes, this is correct.
> 
>> and also amerge above create 2.4 s latency between 
>> the first and second stream (if I remove amerge it's ok).
> Sorry if you already answered this:
> Is this problem (that there is an additional latency) 
> also reproducible with two files as input?
no, it's reproducible only with rtmp inputs
thanks

> Carl Eugen


Franck


More information about the ffmpeg-user mailing list