[FFmpeg-user] multiple live rtmp inputs latency
Madovsky
infos at madovsky.org
Fri Feb 8 04:53:17 CET 2013
----- Original Message -----
From: "Carl Eugen Hoyos" <cehoyos at ag.or.at>
To: <ffmpeg-user at ffmpeg.org>
Sent: Sunday, February 03, 2013 5:00 PM
Subject: Re: [FFmpeg-user] multiple live rtmp inputs latency
> Madovsky <infos <at> madovsky.org> writes:
>
>> I just updated from git 10 mn ago and now the 2 live rtmp
>> are well syncrhonized as long as the audio from second
> input is not "amerge" nor "pan" with filter_complex.
>
> This sounds as if the problem should also be reproducible
> with files or am I wrong?
>
here is the best command I found to sync 2 rtmp live stream
ffmpeg -filter:a apad -i "rtmp://node250.boophone.com/dvr/mp4:live1 live=1
buffer=0 flashver=11,4,0,0" -filter:a apad -i
"rtmp://node250.boophone.com/dvr/mp4:live2 live=1 buffer=0
flashver=11,4,0,0" -i neterviewBack.png -map 0:0 -map 1:1 -filter_complex
"[0:v]setpts=PTS[left]; [1:v]setpts=(PTS+4367)[right];
[left]pad=(iw*2)+42:ih+210:20:105:#000000[base];[base][right]overlay=(w+22):105,fade=in:0:230:alpha=0,drawtext=fontsize=10:fontcolor=#D8D8D8:fontfile=/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf:text='Strong
Tiger from
Nil':x=((main_w-640)/2)+10:y=((main_h-240)/2)+228,drawtext=fontsize=10:fontcolor=#D8D8D8:fontfile=/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf:text='Great
Eagle from gold
mountain':x=(w/2)+10:y=((main_h-240)/2)+228[cams];[cams][2:0]overlay=0:main_h-20;[0:1][1:1]amix"
-r 24 -threads 4 -acodec libspeex -tune zerolatency -y test.flv
but I don't feel it very robust :(
if you have a better idea I will be happy to know it
Franck
More information about the ffmpeg-user
mailing list