[vls-devel] vls with Nexus-S: libdvbpsi error (PSI decoder): TS discontinuity

Sven Severus sseverus at debitel.net
Sun Mar 16 00:25:25 CET 2003


Dear Friends,

I got a problem with DVB streaming. Any help would be highly appreciated.

My current system: P4 2.4B, 512MB RAM, Hauppauge Nexus-S
SuSE 8.1 (k_deflt-2.4.19-174, kernel-source-2.4.19.SuSE-115)
vls-0.5.0, libdvbpsi-0.1.2, linuxtv-dvb-1.0.0-pre2 (linuxtv.org), libdvb-0.2.2 (metzlerbros).
All compilations without problems, szap, tuxview,  .. working well.

My sole problem with vls: DVB-streaming does not work properly (vls.cfg see below).

When I start vls and enter "start WDR_FERNSEHEN localfile dvb" via telnet 
interface, it seems to work, but I see two or three messages like "libdvbpsi error 
(PSI decoder): TS discontinuity (received 6, expected 0)" in the log of vls (see 
below). When trying to play the generated file stream.ts with vlc, video 
is extremly choppy, no audio. vlc log reports "packet lost by ts demux: 
current 11, packet 0)" and while playing, "late picture skipped (1057132)".

I read many postings in the mailing lists, in particular the one from Tristan 
Leteurtre: "Patch for WinTV DVB-S streaming with VideoLAN" dated end 
september 2003: he described the problems in TS stream handling with 
non-buget DVB-S cards and provided a driver patch as solution, that is not 
available any more (I read, it became obsolete in the meantime).
I am not sure, but I think the issues described there could be an explanation 
for my problem.

So let me come to the questions:
1. What is the reason for my problem?
2. What can I do to solve it?
3. Has anybody a vls with a Hauppauge Nexus-S as DVB input working properly?
If so, please tell me the exact versions of driver, libdvb, patches .. you are
using. Any additional tips or tricks neccessary to be known?
4. Is the Leteurtre-patch really obsolete today? Why?

Thanks in advance for any answer.

Best regards,
Sven Severus

======= vls.cfg ==============================================

BEGIN "Vls"
  LogFile       = "vls.log"             # log file
  ScreenLog     = "enable"              # log to the console
  SystemLog     = "disable"             # log to the systemlog
END 

BEGIN "Groups"
  monitor       = "help|browse|logout"
  master        = "help|browse|start|resume|suspend|stop|shutdown|logout|config|program|input|channel|show"
END

BEGIN "Users"
  monitor       = "3BcKWoiQn0vi6:monitor"       # password is 'monitor'
  bozo          = "JKg2TpPerilnw:master"        # password is 'bozo'
END

BEGIN "Interfaces"
  Telnet = "telnet"                # Port to use for that purpose
END

BEGIN "Telnet"
  LocalPort     = "9999"                # Port to use for that purpose
  Use = "true"
END

BEGIN "Inputs"
  local1       = "local"               # Local input example
  dvb          = "dvb"                 # Video input example (DVB card)
END

BEGIN "Input"
  ProgramCount = "1"
END

BEGIN "1"
  Name     = "bundy"
  FileName = "/etc/videolan/vls/mwc0.mpg"
  Type     = "Mpeg2-PS"
END

BEGIN "dvb"
  DeviceNumber = "0"                   # /dev/dvb/adapter<i>
  Frequency    = "12669500"
  Polarization = "0"
  SymbolRate   = "22000000"
  DiSEqC       = "0"
  LNB_Lof1     = "9750000"
  LNB_Lof2     = "10600000"
  LNB_SLof     = "11700000"
  IgnoreTimeout = "1"
  SendMethod   = "1"                   # 0 - Send All Pids
                                       # 1 - Send only MPEG2 datas 
END

BEGIN "Channels"
  localhost     = "network"
  client1       = "network"
  localfile     = "file"
END

BEGIN "localhost"         # The client is on the same host as the server
  DstHost = "127.0.0.1"
  DstPort = "1234"
END

BEGIN "client1"                          # unicast example
  DstHost = "192.168.0.1"                # destination host
  DstPort = "1234"                       # destination port
END

BEGIN "localfile"
  FileName = "/stream.ts"
  Append   = "no"                        # rewrite the file if it exists
END

BEGIN "LaunchOnStartUp"
END

====== log of vls -vvv ===============================================

VideoLAN Server v 0.5.0 (Mar 15 2003) - (c)1999-2002 VideoLAN
2003-03-15 22:20:57 [INFO/Vls]  Module "channel:file" registered
2003-03-15 22:20:57 [INFO/Vls]  Module "channel:network" registered
2003-03-15 22:20:57 [INFO/Vls]  Module "mpegreader:file" registered
2003-03-15 22:20:57 [INFO/Vls]  Module "mpegconverter:ts2ts" registered
2003-03-15 22:20:57 [INFO/Vls]  Module "mpegconverter:ps2ts" registered
2003-03-15 22:20:57 [INFO/Vls]  Module "input:local" registered
2003-03-15 22:20:57 [INFO/Vls]  Module "input:video" registered
2003-03-15 22:20:57 [INFO/Vls]  Browsing modules in directory "."
2003-03-15 22:20:57 [INFO/Vls]  Browsing modules in directory "/usr/local/lib/videolan/vls"
2003-03-15 22:20:57 [INFO/Vls]  Module "input:dvb" registered
2003-03-15 22:20:57 [INFO/Vls]  Module "mpegreader:dvb" registered
2003-03-15 22:20:57 [INFO/Vls]  Channel 'localhost' created
2003-03-15 22:20:57 [INFO/Vls]  Channel 'localfile' created
2003-03-15 22:20:57 [INFO/Vls]  Channel 'client1' created
2003-03-15 22:20:57 [INFO/Vls]  Starting input 'dvb'
2003-03-15 22:20:57 [INFO/dvb]  DVB-S Card registered with decoder

Using default /root/.dvbrc

Reading original format . done
2003-03-15 22:20:57 [INFO/dvb]  Added program 'Das_Erste'
2003-03-15 22:20:57 [INFO/dvb]  Added program 'Bayerisches_Fernsehen'
2003-03-15 22:20:57 [INFO/dvb]  Added program 'Hessen_Fernsehen'
2003-03-15 22:20:57 [INFO/dvb]  Added program 'Arte_Deutsch'
2003-03-15 22:20:57 [INFO/dvb]  Added program 'SR_Fernsehen_Südwest'
2003-03-15 22:20:57 [INFO/dvb]  Added program 'WDR_FERNSEHEN'
2003-03-15 22:20:57 [INFO/dvb]  Added program 'BR_Alpha'
2003-03-15 22:20:57 [INFO/dvb]  Added program 'Südwest_Fernsehen_Baden-Württemberg'
2003-03-15 22:20:57 [INFO/dvb]  Added program 'Phoenix'
2003-03-15 22:20:57 [INFO/dvb]  Added program 'ARD_WM2002'
2003-03-15 22:20:57 [INFO/Vls]  Input 'dvb' sucessfully initialised
2003-03-15 22:20:57 [INFO/Vls]  Starting input 'local1'
2003-03-15 22:20:57 [INFO/local1]  Added program 'bundy'
2003-03-15 22:20:57 [INFO/Vls]  Input 'local1' sucessfully initialised
2003-03-15 22:20:57 [INFO/Vls]  New admin group "monitor" is ok
2003-03-15 22:20:57 [INFO/Vls]  New admin group "master" is ok
2003-03-15 22:20:57 [INFO/Vls]  New admin user "monitor" is ok
2003-03-15 22:20:57 [INFO/Vls]  New admin user "bozo" is ok
2003-03-15 22:20:57 [INFO/Vls]  Telnet server initialised
2003-03-15 22:21:04 [INFO/Vls]  Processing incoming connection from 192.168.0.1
2003-03-15 22:21:10 [INFO/Vls]  User "bozo" successfully authenticated
libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 0)

New PAT
  transport_stream_id : 1101
  version_number      : 18
    | program_number @ [NIT|PMT]_PID
    |              0 @ 0x10 (16)
    |          28106 @ 0x64 (100)
    |          28107 @ 0xc8 (200)
    |          28108 @ 0x12c (300)
    |          28109 @ 0x190 (400)
    |          28110 @ 0x1f4 (500)
    |          28111 @ 0x258 (600)
    |          28112 @ 0x2bc (700)
    |          28113 @ 0x320 (800)
    |          28114 @ 0x384 (900)
    |          28120 @ 0xbb8 (3000)
    |          28121 @ 0xc1c (3100)
    |          28122 @ 0xc80 (3200)
    |          28123 @ 0xce4 (3300)
    |          28124 @ 0xd48 (3400)
    |          28125 @ 0xdac (3500)
    |          28126 @ 0xe10 (3600)
    |          28127 @ 0xe74 (3700)
    |          28128 @ 0xed8 (3800)
    |          28129 @ 0xf3c (3900)
    |          28130 @ 0x7d0 (2000)
  active              : 1

Deleted programs

Added programs
    |              0 @ 0x10 (16)
    |          28106 @ 0x64 (100)
    |          28107 @ 0xc8 (200)
    |          28108 @ 0x12c (300)
    |          28109 @ 0x190 (400)
    |          28110 @ 0x1f4 (500)
    |          28111 @ 0x258 (600)
    |          28112 @ 0x2bc (700)
    |          28113 @ 0x320 (800)
    |          28114 @ 0x384 (900)
    |          28120 @ 0xbb8 (3000)
    |          28121 @ 0xc1c (3100)
    |          28122 @ 0xc80 (3200)
    |          28123 @ 0xce4 (3300)
    |          28124 @ 0xd48 (3400)
    |          28125 @ 0xdac (3500)
    |          28126 @ 0xe10 (3600)
    |          28127 @ 0xe74 (3700)
    |          28128 @ 0xed8 (3800)
    |          28129 @ 0xf3c (3900)
    |          28130 @ 0x7d0 (2000)
libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 7)

New PAT
  transport_stream_id : 1101
  version_number      : 18
    | program_number @ [NIT|PMT]_PID
    |              0 @ 0x10 (16)
    |          28106 @ 0x64 (100)
    |          28107 @ 0xc8 (200)
    |          28108 @ 0x12c (300)
    |          28109 @ 0x190 (400)
    |          28110 @ 0x1f4 (500)
    |          28111 @ 0x258 (600)
    |          28112 @ 0x2bc (700)
    |          28113 @ 0x320 (800)
    |          28114 @ 0x384 (900)
    |          28120 @ 0xbb8 (3000)
    |          28121 @ 0xc1c (3100)
    |          28122 @ 0xc80 (3200)
    |          28123 @ 0xce4 (3300)
    |          28124 @ 0xd48 (3400)
    |          28125 @ 0xdac (3500)
    |          28126 @ 0xe10 (3600)
    |          28127 @ 0xe74 (3700)
    |          28128 @ 0xed8 (3800)
    |          28129 @ 0xf3c (3900)
    |          28130 @ 0x7d0 (2000)
  active              : 1

Deleted programs

Added programs
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0)
--- 259
--- 25a
--- 25c
--- 76e
--- 818
--- 1bbc
--- 1bbd
--- 1bbe
2003-03-15 22:22:17 [INFO/Vls]  Received 'shutdown' command: stopping vls
2003-03-15 22:22:17 [INFO/Vls]  Telnet server stopped
2003-03-15 22:22:17 [INFO/Vls]  Stopping the manager
2003-03-15 22:22:17 [INFO/Vls]  Manager stopped
2003-03-15 22:22:17 [INFO/Vls]  Destroying administrator module
2003-03-15 22:22:17 [INFO/Vls]  Shutdowning all the opened sessions...
2003-03-15 22:22:17 [INFO/Vls]  Closing connection from 192.168.0.1
2003-03-15 22:22:17 [INFO/Vls]  Telnet server destroyed
2003-03-15 22:22:17 [INFO/Vls]  Destroying manager module
2003-03-15 22:22:17 [INFO/Vls]  Destroying the manager
2003-03-15 22:22:17 [INFO/Vls]  Input local1 correctly stopped
2003-03-15 22:22:17 [INFO/Vls]  Input dvb correctly stopped
2003-03-15 22:22:17 [INFO/Vls]  Manager destroyed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/vls-devel/attachments/20030316/5d35c7a0/attachment.htm 


More information about the vls-devel mailing list