Page 1 of 1

vlc console: stream is stopping / vlc media player: stream is playing

Posted: 29 May 2023 15:05
by StefanMUC
Hello,
I want to resend a http network stream as a udp unicast ts inside my network. In the vlc player the stream is working for hours.In the ubuntu concole vlc is stopping after a few minutes:
vlc -vvv http://.... --sout="#std{access=udp, mux=ts, dst=192.168.1.34:2000}"

How can i increase the buffer?

Code: Select all

[00007f2e6c000e60] main stream output debug: adding a new sout input for `h264` (sout_input: 0x7f2e580012b0) [00007f2e6c003d60] mux_ts mux debug: adding input codec=mp4a pid=200 [00007f2e6c003d60] mux_ts mux debug: new PCR PID is 200 [00007f2e6c003d60] main mux debug: adding a new input [00007f2e6c003d60] mux_ts mux debug: adding input codec=h264 pid=100 [00007f2e6c003d60] mux_ts mux debug: new PCR PID is 100 [00007f2e68000c80] main input debug: Buffering 32% [00007f2e68000c80] main input debug: Buffering 40% [00007f2e68000c80] main input debug: Buffering 48% [00007f2e68000c80] main input debug: Buffering 56% [00007f2e68000c80] main input debug: Buffering 64% [00007f2e68000c80] main input debug: Buffering 72% [00007f2e68000c80] main input debug: Buffering 80% [00007f2e68000c80] main input debug: Buffering 88% [00007f2e68000c80] main input debug: Buffering 96% [00007f2e68000c80] main input debug: Stream buffering done (1040 ms in 34 ms) [00007f2e68000c80] main input debug: Decoder wait done in 0 ms [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 40000/1160000 (200/508) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 80000/1120000 (163/345) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 40000/1040000 (105/240) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (67/173) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (49/124) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (35/89) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (26/63) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (20/43) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (13/30) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (11/19) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (8/11) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (5/6) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (4/2) [00007f2e6c003d60] mux_ts mux debug: adjusting rate at 0/1000000 (2/0) [00007f2e6c009c30] prefetch stream debug: [b]end of stream[/b] [00007f2e6c006d40] ts demux debug: Can't read TS packet at 6309277232 [00007f2e68000c80] main input debug: [b]EOF reached[/b] [00007f2e68000c80] main input debug: [b]waiting decoder fifos to empty[/b] [00007f2e6c00ae60] main decoder debug: killing decoder fourcc `h264' [00007f2e6c00ae60] main decoder debug: removing module "h264" [00007f2e6c000e60] main stream output debug: removing a sout input (sout_input: 0x7f2e580012b0) [00007f2e6c003d60] mux_ts mux debug: removing input pid=100 [00007f2e6c003d60] mux_ts mux debug: new PCR PID is 200 [00007f2e6c003d60] mux_ts mux debug: freeing video PID 100 [00007f2e6c026a00] main decoder debug: killing decoder fourcc `mp4a' [00007f2e6c026a00] main decoder debug: removing module "mpeg4audio" [00007f2e6c000e60] main stream output debug: removing a sout input (sout_input: 0x7f2e50000e50) [00007f2e6c003d60] mux_ts mux debug: removing input pid=200 [00007f2e6c003d60] mux_ts mux debug: freeing audio PID 200 [00007f2e6c003d60] main mux warning: [b]no more input streams for this mux[/b] [00007f2e6c006d40] main demux debug: removing module "ts" [00007f2e68000c80] main input debug: Program doesn't contain anymore ES [00007f2e6c009fb0] main stream debug: removing module "record" [00007f2e6c009c30] main stream debug: removing module "prefetch" [00007f2e6c007270] main stream debug: removing module "access" [00007f2e6c007270] http stream debug: connection failed [000055f91426e800] main playlist debug: dead input [00007f2e6c000e60] main stream output debug: destroying useless sout [00007f2e6c001260] main stream out debug: destroying chain... (name=std) [00007f2e6c001260] main stream out debug: removing module "stream_out_standard" [00007f2e6c003d60] main mux debug: removing module "mux_ts" [00007f2e6c002670] main access out debug: removing module "udp" [00007f2e6c001260] main stream out debug: destroying chain done [000055f91426e800] main playlist debug: changing item without a request (current 0/1) [000055f91426e800] main playlist debug: nothing to play

Re: vlc console: stream is stopping / vlc media player: stream is playing

Posted: 29 May 2023 17:10
by RĂ©mi Denis-Courmont
It looks like the HTTP stream is ending or failing. Increasing buffering won't change a thing.