Hello,
I want to fetch and convert a tcp+fec stream (H.264, 6 Mbit/s) from IP A to an local udp stream and tried this command line:
cvlc -vvv tcp://xx.xx.xx.xx:2000 –sout ‘#std{access=udp,mux=ts,dst=192.168.10.10:2000}’
But after somt minutes I get
[00007f3364000ca0] main input debug: Buffering 94%
[00007f3364000ca0] main input debug: Buffering 98%
[00007f3364000ca0] main input debug: Stream buffering done (1015 ms in 1018 ms)
[00007f335c05d4d0] main decoder error: buffer deadlock prevented
[00007f3364000ca0] main input debug: Decoder wait done in 0 ms
[00007f335c05d4d0] h264 decoder warning: waiting for SPS/PPS
[00007f335c05d4d0] h264 decoder warning: waiting for SPS/PPS
…
[00007f335c05d4d0] h264 decoder warning: waiting for SPS/PPS
[00007f335c05d4d0] h264 decoder warning: waiting for SPS/PPS
[00007f335c05d4d0] h264 decoder debug: found NAL_SPS (sps_id=0)
[00007f335c05d4d0] h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0)
[00007f335c000e60] main stream output debug: adding a new sout input for `h264` (sout_input: 0x7f3360000b80)
[00007f335c003d20] main mux debug: adding a new input
[00007f335c003d20] mux_ts mux debug: adding input codec=h264 pid=100
[00007f335c003d20] mux_ts mux debug: new PCR PID is 100
[00007f335c003d20] mux_ts mux debug: adjusting rate at -1156000/200000 (6/5802)
[00007f335c002670] udp access out debug: mmh, packets in the past (1155301)
[00007f335c002670] udp access out debug: packet has been sent too late (1155439)
[00007f335c002670] udp access out debug: packet has been sent too late (1153822)
[00007f335c002670] udp access out debug: packet has been sent too late (1152203)
[00007f335c002670] udp access out debug: packet has been sent too late (1150582)
How can I prevent this error? Is it possible to increase the buffer?
$ vlc –version
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[000056356dd8b5b0] main libvlc error: cannot open config file (/root/.config/vlc/vlcrc): Permission denied
VLC-Version 3.0.20 Vetinari (3.0.20-0-g6f0d0ab126b)
Kompiliert von buildd auf x86-conova-01.debian.org (Nov 1 2023 23:13:56)
Kompiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
Statistics: Posted by StefanMUC — 18 Apr 2024 00:49