[FFmpeg-trac] #11465(undetermined:new): SRT stops after 10min (to Castr.com)
FFmpeg
trac at avcodec.org
Thu Feb 13 07:22:16 EET 2025
#11465: SRT stops after 10min (to Castr.com)
-------------------------------------+-------------------------------------
Reporter: Andrew | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: srt | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
After 10min of SRT streaming it stops.
[vost#0:0/libx264 @ 00000200d17d4100] Error submitting a packet to the
muxer: I/O error
Last message repeated 1 times
[out#0/mpegts @ 00000200d1767d40] Error muxing a packet
[out#0/mpegts @ 00000200d1767d40] Task finished with error code: -5 (I/O
error)
[out#0/mpegts @ 00000200d1767d40] Terminating thread with return code -5
(I/O error)
How to reproduce:
{{{
% ffmpeg.exe -re -f lavfi -i "testsrc=size=1920x1080:rate=30" -f lavfi -i
"sine=frequency=1000:sample_rate=48000" -vf "format=yuv420p" -c:v libx264
-preset veryfast -tune zerolatency -profile:v main -level 4.0 -b:v 5M
-maxrate 5M -bufsize 10M -g 60 -c:a aac -b:a 128k -ac 2 -ar 48000 -f
mpegts "srt://srt-
ingest.castr.io:9998?pkt_size=1316&streamid=#!::r=live_**********,password=********,m=publish&latency=1000&recv_buffer_size=100000&send_buffer_size=100000"
-report -v 9 -loglevel 99
ffmpeg version
built on 12 Feb 2025 (BtbN windows 64 gpl)
}}}
I have tried many different settings with buffers and delay etc, but every
time it stops and throws the same error at 10minutes. (RTMP works fine)
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11465>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list