[FFmpeg-user] FFMPEG Streaming over UDP unicast works fine, Broadcast: Frameloss, Latency

Yafes Sahin yafes7 at yahoo.de
Sun Jan 25 15:22:38 CET 2015


Hi, 

Status: i am successfully streaming to a nexus9 over udp to mxplayer:-f dshow -i video="Blackmagic WDM Capture" -pix_fmt yuv420p -r 100 -an -vcodec libx264 -crf 40 -preset ultrafast -tune zerolatency -threads 8 -thread_type slice -f mpegts udp://192.168.1.197:1234
Latency is very good, i have about 60ms in average

Question: but streaming to broadcast causes about 4 seconds delay?
-f dshow -i video="Blackmagic WDM Capture" -pix_fmt yuv420p -r 100 -an -vcodec libx264 -crf 28 -preset ultrafast -tune zerolatency -threads 8 -thread_type slice -f mpegts udp://192.168.1.255:1234
Is there any bottleneck when streaming to broadcast address?

Some side info for the command:-The input stream is 24frames, but i am setting it to -r 100 to get more throughput, with -r 24 i have 1 seconds delay- -crf is used experimentall for now
Thank you very much




More information about the ffmpeg-user mailing list