Page 1 of 1

Streaming live TV stops frequently

Posted: 04 Dec 2013 21:57
by tamray
I am running a simple command line stream on an Ubuntu box:
"cvlc dvb:// :dvb-adapter=0 --sout '#standard{access=http,mux=ogg,dst=10.10.1.83:8181}'"

I am running an http interface with default playlist on the same box (channels.conf)

The stream works perfectly when I launch a VLC player on a different box, after selecting a channel via the http interface. I can switch channels fine, no problem. However, anywhere from 5-30 minutes into the stream, it will stop. Clicking on the same, active channel, or a new one connects to the stream again. The behavior is the same over the LAN or internet.

(The box is not running out of resources)


Just wondering if there may be some sort of keep alive or another addition I can make to the config to keep the stream alive, without having to manually revive it via the playlist??

Re: Streaming live TV stops frequently

Posted: 10 Dec 2013 15:56
by Jean-Baptiste Kempf
Please share the logs when it cuts.

Re: Streaming live TV stops frequently

Posted: 12 Dec 2013 22:13
by tamray
[0x84c4e98] ts demux warning: discontinuity received 0xa instead of 0xe (pid=2048)
[0xb5525ce0] main input warning: clock gap, unexpected stream discontinuity
[0xb5525ce0] main input warning: feeding synchro with a new reference point trying to recover from clock gap
[0x84c4e98] ts demux warning: discontinuity indicator (pid=2048)
[0x84c4e98] ts demux warning: discontinuity received 0x0 instead of 0xc (pid=2048)
[0x84c4e98] ts demux warning: scrambled state changed on pid 2048 (0->1)
[0x84c4e98] ts demux warning: discontinuity received 0xe instead of 0x1 (pid=2048)
[0x84c4e98] ts demux warning: scrambled state changed on pid 2048 (1->0)
[0x84c4e98] ts demux warning: discontinuity received 0x0 instead of 0xf (pid=2048)
[0x84c4e98] ts demux warning: discontinuity received 0x4 instead of 0x3 (pid=2048)
libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 7) for PID 0
[0x84c4e98] ts demux warning: discontinuity received 0x7 instead of 0x5 (pid=2048)
[0x84c4e98] ts demux warning: discontinuity received 0xa instead of 0x9 (pid=2048)
[0x84c4e98] ts demux warning: discontinuity received 0x5 instead of 0xb (pid=2048)
[0x84c4e98] ts demux warning: discontinuity received 0xc instead of 0x6 (pid=2048)
[0x84c4e98] ts demux warning: discontinuity received 0xe instead of 0xd (pid=2048)
[0x84c4e98] ts demux warning: discontinuity received 0x0 instead of 0xf (pid=2048)
[0x84c4e98] ts demux warning: scrambled state changed on pid 2048 (0->1)
[0x84c4e98] ts demux warning: discontinuity received 0xa instead of 0x1 (pid=2048)
[0x84c4e98] ts demux warning: scrambled state changed on pid 2048 (1->0)
[0x84c4e98] ts demux warning: invalid header [0x30:f5:b3:40] (pid: 2048)
[0x84c4e98] ts demux warning: discontinuity received 0x5 instead of 0x2 (pid=2049)
[0xb5525ce0] main input warning: clock gap, unexpected stream discontinuity
[0xb5525ce0] main input warning: feeding synchro with a new reference point trying to recover from clock gap