Page 1 of 1

DVB-S Streaming Problems "dvb access warning: read failed"

Posted: 02 May 2011 14:29
by cbscpe
Hi,

I try to stream direclty from dvb:// to http. But I always get a lot of discontinuity and CRC errors.

I use ubuntu 10.10 (maverick) and a TechniSat SkyStar HD2 connected to a multiswitch with support for Astra 19.2° and Hotbird 13°
  • vlc -I dummy dvb:// --dvb-frequency 10744000 --dvb-voltage=18 --dvb-satno=1 --dvb-srate=22000000 --sout '#duplicate{dst="std{access=http,mux=ts,dst=192.168.173.248:8080/}",select="program=28721"}'
    VLC media player 1.1.4 The Luggage (revision exported)
    Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
    Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
    [0x9bb1824] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

    [0x9bb1824] main interface error: no suitable interface module
    [0x9bcb874] main interface error: no suitable interface module
    [0x9b1c914] main libvlc error: interface "globalhotkeys,none" initialization failed
    [0x9bc9424] dummy interface: using the dummy interface module...
    [0x9bce4dc] main access out: creating httpd
    libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 0) for PID 0
    libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for PID 17
    libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 0) for PID 100
    libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 20
    libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 12) for PID 18
    libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 1) for PID 17
    libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 12) for PID 100
    libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 15) for PID 20
    libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 1) for PID 0
    [0xb7400624] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 327 ms)
    libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 15) for PID 18
    libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 2) for PID 17
    libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 1) for PID 100
    libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 10) for PID 0
    libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 7) for PID 20
    libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 4) for PID 18
    libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 9) for PID 17
    libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 7) for PID 20
    libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 5) for PID 100
    libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 11) for PID 0
    [0xb7400624] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 340 ms)
    libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 0) for PID 18
    libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 6) for PID 20
    libdvbpsi error (PSI decoder): TS duplicate (received 10, expected 11) for PID 17
    libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 6) for PID 100
    libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 10) for PID 0
    libdvbpsi error (misc PSI): Bad CRC_32 (0xd1759a38) !!!
    libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 10) for PID 18
    libdvbpsi error (PSI decoder): TS duplicate (received 11, expected 12) for PID 17
    libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 14) for PID 0
    libdvbpsi error (misc PSI): Bad CRC_32 (0xfbff6394) !!!
    libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 100
    libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 9) for PID 20
I also tried various options for the --sout without success, and also I can't think this is a output problem. I tried also with different DVB settings (frequency, satelites, etc.) to stream other channels. I always have the same type of errors. In verbose mode (-vvv) I also get many warnings from the dvb acccess module which are very strange
  • [0x84d6a3c] dvb access warning: read failed (Value too large for defined data type)
I also compiled 1.1.9 but get exaclty the same problems.

When I start VLC as shown above, I can connect to the stream for other stations on the LAN, but of course have artifacts and stuttering video.

Using DVBLAST on exactly the same hardware to multicast exactly the same channels works perfectly.

Regards

Peter

Re: DVB-S Streaming Problems "dvb access warning: read faile

Posted: 02 May 2011 17:09
by Rémi Denis-Courmont
It looks like the bandwidth is too large for VLC to cope.

Re: DVB-S Streaming Problems "dvb access warning: read faile

Posted: 02 May 2011 20:14
by cbscpe
Which bandwidth do you mean? A transponder has no more than 45Mbps and the network is all gbps and I stream only one program. VLC is the only application running on this computer, the plan was to use this PC as DVB-S/S2 to IP (HTTP) gateway. Although it's only a mini-ITX with a N230 ATOM processor I cannot think the CPU is the bottleneck, top says 96% idle, and there are 2Gbyte of RAM. Or do you mean some bandwidht limitation internal to VLC. If yes are there any tuning parameters that could help?

Peter

Re: DVB-S Streaming Problems "dvb access warning: read faile

Posted: 03 May 2011 09:14
by Rémi Denis-Courmont
If I recall correctly, ERANGE is returned when the DVB driver receive buffer overflows.

Re: DVB-S Streaming Problems "dvb access warning: read faile

Posted: 03 May 2011 09:46
by cbscpe
Something that should not happen, so to me it looks like VLC is not reading DVB input regularly enough. A timer somewhere set too high that hinders VLC from reading the DVB input in appropriate time?

Re: DVB-S Streaming Problems "dvb access warning: read faile

Posted: 03 May 2011 11:33
by Rémi Denis-Courmont
I don't know.