[FFmpeg-user] audio and video sync problem

Eugene Gekhter egekhter at pixcel.com
Fri Jul 4 14:32:40 CEST 2014


Carl,

Can you explain why sudo ffmpeg is a bad idea?

Thx.

Sent from my iPhone

> On Jul 4, 2014, at 4:07 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 
>> On Thursday 03 July 2014 10:10:39 am Murat Maman wrote:
>> 
>> sudo ffmpeg -y -f mpegts -i 'udp://@
> 
> Unrelated: I believe that everybody on this list agrees 
> that "sudo ffmpeg" is a very bad idea.
> 
>> 00.00.00.00:1111?fifo_size=1000000&overrun_nonfatal=1 \
>> -maxrate 2M -bufsize 2M \
>> -af volume=1.1 \
>> -strict experimental \
>> -c:a libfaac -ar 22050 -ac 2 -b:a 64k \
>> -vsync 1 -c:v libx264 -r 25 -vf yadif,scale=640:480 -aspect:v 16:9 -b:v
>> 900k \
>> -preset superfast -tune zerolatency -threads 8 -crf 25 \
>> -map 0:0 -map 0:1 \
>> -f flv 'rtmp://testt:testt@00.00.00.00:0000/live/1111'
> 
> (Complete, uncut console output missing.)
> 
> Why are you using -vsync 1?
> Did you try -async 1?
> 
> Am I correct that the problem is reproducible with file output 
> instead of network output?
> 
> Is the problem reproducible if you save the udp stream to a file 
> (including the reception problems) and transcode the file with 
> FFmpeg?
> 
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list