[vls-devel] broken DVB support in CVS

Paolo Scaffardi scaffardi at airventsam.it
Mon May 3 16:49:31 CEST 2004


I am trying to use DVB support in CVS, but i still have problems.
It seems there are problems with 'devicenumber' and 'minor' parameters that
are passed in inverted order to dvb->init into modules/dvbinput.cpp.

By fixing that, the correct device is pointed by that module, but i still
dont see anything out of VLS that i cannot SHUTDOWN anymore (the kill/ctrl+c
capture message is displayed but no shutdown is done).

This is my cfg:

# streams sources declaration
begin "inputs"
  dvb0          = "dvb"                 # dvb input example (dvb card)
  dvb1          = "dvb"                 # dvb input example (dvb card)
  dvb2          = "dvb"                 # dvb input example (dvb card)
  dvb3          = "dvb"                 # dvb input example (dvb card)
  dvb4          = "dvb"                 # dvb input example (dvb card)
end

begin "dvb0"
 devicenumber = "0"                   # /dev/dvb/adapter<i>
 minor ="0"
 dvbrc = "/etc/dvb/hotbird.dvbrc"
end

begin "dvb1"
minor="0"
devicenumber = "1"                   # /dev/dvb/adapter<i>
dvbrc = "/etc/dvb/hotbird.dvbrc"
end

begin "dvb2"
devicenumber = "2"                   # /dev/dvb/adapter<i>
minor="0"
dvbrc = "/etc/dvb/hotbird.dvbrc"
end

begin "dvb3"
devicenumber = "3"                   # /dev/dvb/adapter<i>
minor="0"
dvbrc = "/etc/dvb/hotbird.dvbrc"
end

begin "dvb4"
devicenumber = "4"                   # /dev/dvb/adapter<i>
minor="0"
dvbrc = "/etc/dvb/hotbird.dvbrc"
end

begin "multicast1"                      # multicast example
streamtype = "multicast"
ttl        = "12"                       # time to live
dsthost    = "239.192.0.1"              # multicast address
dstport    = "5501"                     # destination port
end

And this is my log after running 'vls -f vls.cfg':

2004-05-03 16:45:51 [INFO/Vls]  Starting input 'dvb0'
2004-05-03 16:45:51 [INFO/dvb0]  DVB-S Card registered without decoder

Reading original format . done
2004-05-03 16:45:51 [INFO/dvb0]  Added program ''
[...]
2004-05-03 16:45:52 [INFO/dvb0]  Added program 'roma_ch'
2004-05-03 16:45:52 [INFO/Vls]  Input 'dvb0' sucessfully initialised
2004-05-03 16:45:52 [INFO/Vls]  New admin group "master" is ok
2004-05-03 16:45:52 [INFO/Vls]  New admin group "monitor" is ok
2004-05-03 16:45:52 [INFO/Vls]  New admin user "bozo" is ok
2004-05-03 16:45:52 [INFO/Vls]  New admin user "monitor" is ok
2004-05-03 16:45:52 [INFO/Vls]  Starting interface 'telnet'
2004-05-03 16:45:52 [INFO/Vls]  telnet server initialised
2004-05-03 16:45:52 [INFO/Vls]  Interface 'telnet' sucessfully initialised
2004-05-03 16:45:52 [INFO/Vls]  Executing command0 : 'start RAI1 multicast1
dvb1'
libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0)
2004-05-03 16:45:56 [INFO/dvb1]  New PAT

2004-05-03 16:45:56 [INFO/dvb1]    transport_stream_id : 5200
2004-05-03 16:45:56 [INFO/dvb1]    version_number      : 9
2004-05-03 16:45:56 [INFO/dvb1]      | program_number @ [NIT|PMT]_PID
2004-05-03 16:45:56 [INFO/dvb1]      | 0 @ 0x16 (16)
2004-05-03 16:45:56 [INFO/dvb1]      | 3401 @ 0x1104 (1104)
2004-05-03 16:45:56 [INFO/dvb1]      | 3319 @ 0x267 (267)
2004-05-03 16:45:56 [INFO/dvb1]      | 3314 @ 0x268 (268)
2004-05-03 16:45:56 [INFO/dvb1]      | 3409 @ 0x264 (264)
2004-05-03 16:45:56 [INFO/dvb1]      | 3410 @ 0x136 (136)
2004-05-03 16:45:56 [INFO/dvb1]      | 3404 @ 0x260 (260)
2004-05-03 16:45:56 [INFO/dvb1]      | 3408 @ 0x1107 (1107)
2004-05-03 16:45:56 [INFO/dvb1]      | 3406 @ 0x261 (261)
2004-05-03 16:45:56 [INFO/dvb1]      | 3403 @ 0x1106 (1106)
2004-05-03 16:45:56 [INFO/dvb1]      | 3402 @ 0x1105 (1105)
2004-05-03 16:45:56 [INFO/dvb1]   active              :
2004-05-03 16:45:56 [INFO/dvb1]

2004-05-03 16:45:56 [INFO/dvb1]  Deleted programs

2004-05-03 16:45:56 [INFO/dvb1]

2004-05-03 16:45:56 [INFO/dvb1]  Added programs

2004-05-03 16:45:56 [INFO/dvb1]      | 0 @ 0x16 (16)
2004-05-03 16:45:56 [INFO/dvb1]      | 3401 @ 0x1104 (1104)
2004-05-03 16:45:56 [INFO/dvb1]      | 3319 @ 0x267 (267)
2004-05-03 16:45:56 [INFO/dvb1]      | 3314 @ 0x268 (268)
2004-05-03 16:45:56 [INFO/dvb1]      | 3409 @ 0x264 (264)
2004-05-03 16:45:56 [INFO/dvb1]      | 3410 @ 0x136 (136)
2004-05-03 16:45:56 [INFO/dvb1]      | 3404 @ 0x260 (260)
2004-05-03 16:45:56 [INFO/dvb1]      | 3408 @ 0x1107 (1107)
2004-05-03 16:45:56 [INFO/dvb1]      | 3406 @ 0x261 (261)
2004-05-03 16:45:56 [INFO/dvb1]      | 3403 @ 0x1106 (1106)
2004-05-03 16:45:56 [INFO/dvb1]      | 3402 @ 0x1105 (1105)
libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 0)
+++ 200
+++ 28a
+++ 240
+++ d0
+++ de
+++ d5
+++ 331

And this is my log after running from cmdline with 'vls dvb:RAI1:2 -d
239.192.0.1:5501':

VideoLAN Server 0.5.5-cvs (May  3 2004) - (c) 1999-2003 VideoLAN
2004-05-03 16:41:36 [INFO/Vls]  Module "channel:file" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "channel:network" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "mpegreader:file" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "mpegconverter:ts2ts" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "mpegconverter:ps2ts" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "input:local" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "input:video" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "interface:dummy" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "interface:telnet" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "interface:native" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "interface:unix" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "trickplay:normal" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "input:tcp" registered
2004-05-03 16:41:36 [INFO/Vls]  Module "mpegreader:tcp" registered
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/asireader"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/asireader/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/asireader/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/tcpinput"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/tcpinput/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/tcpinput/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/tcpinput/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/normaltrickplay"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/normaltrickplay/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/normaltrickplay/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/normaltrickplay/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/nativeinterface"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/nativeinterface/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/nativeinterface/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/nativeinterface/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/ps2ts"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/ps2ts/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/ps2ts/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/ps2ts/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/ts2ts"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/ts2ts/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/ts2ts/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/ts2ts/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/tcpreader"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/tcpreader/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/tcpreader/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/tcpreader/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/v4linput"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/v4linput/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/v4linput/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/localinput"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/localinput/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/localinput/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/localinput/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/v4lreader"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/v4lreader/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/v4lreader/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/unixinterface"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/unixinterface/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/unixinterface/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/unixinterface/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvbreader"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvbreader/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvbreader/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvbreader/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Module "mpegreader:dvb" registered
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dummyinterface"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dummyinterface/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dummyinterface/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dummyinterface/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/filereader"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/filereader/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/filereader/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/filereader/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/raw2ts"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/raw2ts/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/raw2ts/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/netchannel"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/netchannel/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/netchannel/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/netchannel/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/pvrreader"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/pvrreader/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/pvrreader/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/pvrreader/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/filechannel"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/filechannel/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/filechannel/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/filechannel/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvdreader"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvdreader/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvdreader/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/videoinput"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/videoinput/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/videoinput/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/videoinput/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/asiinput"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/asiinput/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/asiinput/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/telnetinterface"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/telnetinterface/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/telnetinterface/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/telnetinterface/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvbinput"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvbinput/CVS"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvbinput/.deps"
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"./src/modules/dvbinput/.libs"
2004-05-03 16:41:36 [INFO/Vls]  Module "input:dvb" registered
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory "./modules"
2004-05-03 16:41:36 [WARN/Vls]  Unable to browse directory "./modules" :
Error: Could not open directory './modules': No such file or directory
2004-05-03 16:41:36 [INFO/Vls]  Browsing modules in directory
"/usr/local/lib/vls"
2004-05-03 16:41:36 [ERROR/Vls]  Module "input:dvb" already registered
2004-05-03 16:41:36 [ERROR/Vls]  Module "mpegreader:dvb" already registered
2004-05-03 16:41:36 [INFO/Vls]  Module "mpegreader:pvr" registered
2004-05-03 16:41:36 [INFO/Vls]  Starting input 'input1'
2004-05-03 16:41:36 [INFO/input1]  DVB-S Card registered without decoder

Using default /root/.dvbrc

Reading original format . done
2004-05-03 16:41:36 [INFO/input1]  Added program ''
[...]
2004-05-03 16:41:36 [INFO/input1]  Added program 'roma_ch'
2004-05-03 16:41:36 [INFO/Vls]  Input 'input1' sucessfully initialised
2004-05-03 16:41:36 [INFO/Vls]  Starting interface 'dummy'
2004-05-03 16:41:36 [INFO/Vls]  Interface 'dummy' sucessfully initialised
2004-05-03 16:41:36 [INFO/Vls]  Executing command1 : 'broadcast_start
broadcast1'
2004-05-03 16:41:36 [WARN/Vls]  Unknown broadcast
2004-05-03 16:41:36 [INFO/Vls]  Executing command2 : 'broadcast_add
broadcast1 output1 0 input1'
2004-05-03 16:41:36 [WARN/Vls]  Unknown channel
2004-05-03 16:41:36 [WARN/Vls]  Unknown pgrm 0
2004-05-03 16:41:40 [WARN/Vls]  Received SIGINT: Interrupt from keyboard,
launching shutdown sequence...
2004-05-03 16:41:40 [INFO/Vls]  Stopping the manager
2004-05-03 16:41:40 [INFO/Vls]  Manager stopped
2004-05-03 16:41:40 [INFO/Vls]  dummy interface stopped
2004-05-03 16:41:40 [WARN/Vls]  Received SIGINT: Interrupt from keyboard,
launching shutdown sequence...
2004-05-03 16:41:40 [INFO/Vls]  Destroying administrator module
2004-05-03 16:41:40 [INFO/Vls]  dummy interface destroyed
2004-05-03 16:41:40 [INFO/Vls]  Destroying manager module
2004-05-03 16:41:40 [INFO/Vls]  Destroying the manager
2004-05-03 16:41:40 [INFO/Vls]  Input input1 correctly stopped
2004-05-03 16:41:40 [INFO/Vls]  Manager destroyed

What should i try, now?

Bye,
Paolo Scaffardi
AIRVENT SAM SpA 
via Macanno 32, 47900 RIMINI (RN)
Tel. +39 0541 383294
Fax +39 0541 387086


-- 
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vls-devel mailing list