Hi Ramon,

On Tue, Nov 11, 2025 at 2:02 PM ramon via ffmpeg-user
<[email protected]> wrote:
> My question is whether there is any way to clear the input buffer at the
> moment the SRT client connects, or any way to at least prevent the bitrate
> exceeds the muxrate during the first few moments, which some clients do not
> accept.

The truth is that the SRT support in ffmpeg is really not that robust
for production use.  It's great for a quick/dirty command line to test
something out, but for the use cases you're describing I would suggest
having ffmpeg output to a UDP port (e.g. udp://227.1.1.1:4001), and
then use a tool such as the command line srt-live-transmit to pick up
the feed and make it available via SRT.  This will avoid all the
buffering issues you're describing (as the SRT output is now
completely disconnected from servicing the input).

Devin

-- 
Devin Heitmueller, Senior Software Engineer
LTN Global Communications
o: +1 (301) 363-1001
w: https://ltnglobal.com  e: [email protected]
_______________________________________________
ffmpeg-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to