[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]; 
Tiger from 
Eagle from gold 
 -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


More information about the ffmpeg-user mailing list