I relay using vlc in 2 ways.
1) Using a TV tuner and relaying terestrial channels.
The tv tuner is a mpeg2 TV-PRV 150.
This part is working fine.
2) Using DM-500 like devices.
Here I have a problem.
DM-500 gives me a mpeg2 stream, just like the TV tuner.
However, after some time the stream becames corupt and remains like this until I restart the vlc.
Vlc server gives me a lot of these messages:
[00000273] ts demuxer warning: lost synchro
[00000273] ts demuxer debug: skipping 80 bytes of garbage
[00000273] ts demuxer warning: discontinuity received 0x0 instead of 0x4 (pid=101)
[00000273] ts demuxer warning: discontinuity received 0xd instead of 0xc (pid=104)
[00000273] ts demuxer warning: lost synchro
The error can be delayed minutes, hours, or even days - but the stream will became corupted eventualy.
I tested with a few commands. I will post the simpliest one:
/usr/local/bin/vlc -vvv --color http://192.168.252.101:31339/0,0064,0065,0066,0068 --sout '#standard{access=http,mux=ts,url=192.168.252.10:8080}'