How to resolve incremental delay in ffplay streaming?

Asked

Viewed 45 times

0

Problem: Incremental delay in streaming runtime with FFPLAY

Question: Is there any way to clear the delay buffer at runtime ?

I’m using the FFPLAY to reproduce an RTP stream. In the first few minutes the delay is counting meanwhile, after 1h delay increases a few milliseconds generating at the end seconds of delay increments.

I’ve tested several protocols: SRT, RTP and UDP, RTMP and the behavior is the same with FFPLAY.

Command used to play an audio RTP stream:

ffplay -max_delay 100000 -flags low_delay -probesize 32 -fflags nobuffer+fastseek+flush_packets -analyzeduration 0 -protocol_whitelist file,rtp,udp -i audio.sdp -loglevel info -nodisp

I have tested and made several combinations of flags and so far unsuccessful.

File . SDP

SDP:
v=0
o=- 0 0 IN IP4 10.50.50.14
s=FONTE DE AUDIO
c=IN IP4 10.50.50.14
t=0 0
a=tool:libavformat 58.29.100
m=audio 3029 RTP/AVP 127
b=AS:1536
a=rtpmap:127 L16/32000/2

My FFPLAY

ffplay version 4.2.2-0york0~18.04 Copyright (c) 2003-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
  configuration: --prefix=/usr --extra-version='0york0~18.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.