[FFmpeg-trac] #10032(ffmpeg:new): Using ffmpeg to receive SRT stream - high delay

FFmpeg trac at avcodec.org
Mon Nov 14 04:49:23 EET 2022


#10032: Using ffmpeg to receive SRT stream - high delay
-------------------------------------+-------------------------------------
             Reporter:  Tung Le      |                     Type:
                                     |  enhancement
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:  5.1.2
             Keywords:  libsrt srt   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Hello,
 I'm trying to receive SRT stream from Larix Broadcaster and Larix
 Screencaster using ffmpeg v5.1.2
 I could receive the stream and put it to a DeckLink card but the delay is
 very high (more than 6 seconds). The same apply why I use ffplay.
 I tried the basic code

 {{{
 ffmpeg -mode listener -i srt://:20001 -c:v v210 -vf setfield=tff -r 25 -s
 1920x1080 -ac 2 -ar 48000 -f decklink 'DeckLink Quad (8)'
 }}}

 as well as playing with all the parameters

 {{{
 ffmpeg -rcvbuf 3000000 -mss 1000 -oheadbw 5 -maxbw 3000000 -snddropdelay
 100000 -latency 100000 -mode listener -i srt://:20001 -c:v v210 -vf
 setfield=tff -r 25 -s 1920x1080 -ac 2 -ar 48000 -f decklink 'DeckLink Quad
 (8)'
 }}}

 still the same result.
 Also the same delay when I use ffplay

 {{{
 ffplay -mode listener -i srt://:20001
 }}}

 Is there a way to reduce this delay? When I tried with software such as
 OBS or vMix the delay should be around 1 second.
 Thanks
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10032>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list