getstream + CI/CAM first tests

Jakub Pawel Glazik zytek-lists at nuxi.pl
Wed Mar 4 13:38:02 CET 2009


Dnia 2009-03-03, o godz. 22:56:16
Jakub Głazik <zytek-lists at nuxi.pl> napisał(a):

> Hello everybody,
> 
> I'm glad to inform about successful tests of latest CI/CAM patches
> - but with one issue: I have to first run VLC to run and decode
> interesting channel, kill it and THEN run getstream. If I run
> getstream without first run of VLC - I have no output and no error
> messages. If I do rmmod/modprobe dvb_ttpci I have to run VLC again
> before running getstream.

Ok, so here is debug output of this chain of commands:

rmmod/modprobe dvb_ttpci
cat config.euro
getstream -ddd <<----- stream doesn't work
ctrl+c
cat vlm-e.conf
vlc   <<----- stream works
ctrl +c
getstream -ddd <<----- stream works

root at odb:~# rmmod dvb_ttpci && modprobe dvb_ttpci && chmod -R 777 /dev/dvb/
root at odb:~# cat config.euro 
http { port 8000; };

adapter 0 {

        packet-buffer 50;
        stat-interval 120;
        stuck-interval 200;

        dvb-s {
                lnb {
                lof1 9750000;
                lof2 10600000;
                slof 11700000;
                };

                transponder {
                        frequency 11240000;
                        polarisation v;
                        symbol-rate 27500000;
                };
        };
        stream {
                name "eurosport";
                input {
                        pnr 13802;
                };
                output-http { 
                        url "/e"; 
                }; 
        };
};

root at odb:~# ./getstream/getstream -c config.euro -ddd
2009-03-04 14:32:27.121 Initialize common interface...
2009-03-04 14:32:27.123 fe: Adapter 0 Setting up frontend tuner
2009-03-04 14:32:27.137 fe: adapter 0 type QPSK name "VLSI VES1x93 DVB-S"
2009-03-04 14:32:27.138 fe: adapter 0 frequency min 950000 max 2150000 step 125 tolerance 29500
2009-03-04 14:32:27.138 fe: adapter 0 symbol rate min 1000000 max 45000000 tolerance 0
2009-03-04 14:32:27.139 fe: DVB-S tone = 1
2009-03-04 14:32:27.139 fe: DVB-S voltage = 0
2009-03-04 14:32:27.139 fe: DVB-S diseqc = 0
2009-03-04 14:32:27.140 fe: DVB-S freq = 11240000
2009-03-04 14:32:27.140 fe: DVB-S lof1 = 9750000
2009-03-04 14:32:27.140 fe: DVB-S lof2 = 10600000
2009-03-04 14:32:27.141 fe: DVB-S slof = 11700000
2009-03-04 14:32:27.141 fe: DVB-S feparams.frequency = 1490000
2009-03-04 14:32:27.141 fe: DVB-S feparams.inversion = 2
2009-03-04 14:32:27.142 fe: DVB-S feparams.u.qpsk.symbol_rate = 27500000
2009-03-04 14:32:27.143 dmx: Setting filter for pid 8192 pestype 20
2009-03-04 14:32:27.144 demux: ioctl DMX_SET_PES_FILTER failed for pid 8192 pestype 20 
2009-03-04 14:32:27.144 demux: Setting budget filter failed - switching off budget mode
2009-03-04 14:32:27.145 dvr: Add Section callback for PID    0 (0x0000) type 1 (PAT)
2009-03-04 14:32:27.146 dvr: Add TS callback for PID    0 (0x0000) type 9 (Reassemble)
2009-03-04 14:32:27.146 dmx: Setting filter for pid 0 pestype 20
2009-03-04 14:32:27.217 pat: pat parse found 41 programs
2009-03-04 14:32:27.217 dvr: Add Section callback for PID 2829 (0x0b0d) type 2 (PMT)
2009-03-04 14:32:27.218 dvr: Add TS callback for PID 2829 (0x0b0d) type 9 (Reassemble)
2009-03-04 14:32:27.218 dmx: Setting filter for pid 2829 pestype 20
2009-03-04 14:32:27.225 dvr: Add TS callback for PID 2829 (0x0b0d) type 2 (PMT)
2009-03-04 14:32:27.273 fe: Adapter 0 Status: 0x1f (HAS_SIGNAL HAS_CARRIER HAS_VITERBI HAS_SYNC HAS_LOCK)
2009-03-04 14:32:27.602 pmt: parse_pmt found 3 elementary streams for pnr 35ea
2009-03-04 14:32:27.603 pmt: pmt_update running for program 35ea
2009-03-04 14:32:27.603 dvr: Add TS callback for PID 2818 (0x0b02) type 5 (Audio)
2009-03-04 14:32:27.603 dmx: Setting filter for pid 2818 pestype 20
2009-03-04 14:32:27.609 dvr: Add TS callback for PID 2825 (0x0b09) type 4 (Video)
2009-03-04 14:32:27.609 dmx: Setting filter for pid 2825 pestype 20
2009-03-04 14:32:27.617 dvr: Add TS callback for PID 2831 (0x0b0f) type 6 (Privat)
2009-03-04 14:32:27.617 dmx: Setting filter for pid 2831 pestype 20
2009-03-04 14:32:33.451 stream_http: connection from 10.8.6.1 for /e
2009-03-04 14:32:40.806 stream_http: dropping connection to 10.8.6.1 for /e
root at odb:~# cat vlm-e.conf 
new eurosport broadcast enabled loop
setup eurosport input "dvb://"
setup eurosport option dvb-adapter=0
setup eurosport option dvb-frequency=11240000
setup eurosport option dvb-srate=27500000
setup eurosport option dvb-voltage=13
setup eurosport option programs=13802
setup eurosport option audio-language=pl
setup eurosport option ts-es-id-pid
setup eurosport option sout-http-mime=video/mpeg
setup eurosport output #duplicate{dst=std{access=udp,mux=ts,dst=10.8.6.1:8000},select="program=13802"}
control eurosport play

root at odb:~# su nobody -c "vlc -I telnet --vlm-conf vlm-e.conf"
VLC media player 0.9.4 Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.4 Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure  '--build=i486-linux-gnu' '--enable-maintaner-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=1ubuntu3.1' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-arts' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-x264' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-alsa' '--enable-dv' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[00000001] main libvlc debug: translation test: code is "C"
[00000361] inhibit interface error: Failed to connect to the D-Bus session daemon: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.

[00000361] main interface error: no suitable interface module
[00000001] main libvlc error: interface "inhibit,none" initialization failed
[00000363] main interface error: no interface module matched "screensaver,none"
[00000363] main interface error: no suitable interface module
[00000001] main libvlc error: interface "screensaver,none" initialization failed
[00000367] telnet interface: using the VLM interface plugin...
[00000367] telnet interface: telnet interface started on interface  4212
libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 0) for PID 18
libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 2829
[00000366] [Media: eurosport] dvb access: CAM: Viaccess Extra Pocket dTV, 01, 0500, 0001
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 17
^C[00000364] signals interface error: Caught Interrupt signal, exiting...
[00000348] main playlist error: could not create /nonexistent: Read-only file system
[00000348] main playlist error: could not create /nonexistent/.local: Read-only file system
[00000348] main playlist error: could not create /nonexistent/.local/share: Read-only file system
[00000348] main playlist error: could not create /nonexistent/.local/share/vlc: Read-only file system
[00000001] main libvlc error: could not create /nonexistent: Read-only file system
[00000001] main libvlc error: could not create /nonexistent/.cache: Read-only file system
[00000001] main libvlc error: could not create /nonexistent/.cache/vlc: Read-only file system
root at odb:~# ./getstream/getstream -c config.euro -ddd
2009-03-04 14:34:16.835 Initialize common interface...
2009-03-04 14:34:16.838 fe: Adapter 0 Setting up frontend tuner
2009-03-04 14:34:16.843 fe: adapter 0 type QPSK name "VLSI VES1x93 DVB-S"
2009-03-04 14:34:16.844 fe: adapter 0 frequency min 950000 max 2150000 step 125 tolerance 29500
2009-03-04 14:34:16.844 fe: adapter 0 symbol rate min 1000000 max 45000000 tolerance 0
2009-03-04 14:34:16.845 fe: DVB-S tone = 1
2009-03-04 14:34:16.845 fe: DVB-S voltage = 0
2009-03-04 14:34:16.845 fe: DVB-S diseqc = 0
2009-03-04 14:34:16.846 fe: DVB-S freq = 11240000
2009-03-04 14:34:16.846 fe: DVB-S lof1 = 9750000
2009-03-04 14:34:16.846 fe: DVB-S lof2 = 10600000
2009-03-04 14:34:16.847 fe: DVB-S slof = 11700000
2009-03-04 14:34:16.847 fe: DVB-S feparams.frequency = 1490000
2009-03-04 14:34:16.847 fe: DVB-S feparams.inversion = 2
2009-03-04 14:34:16.848 fe: DVB-S feparams.u.qpsk.symbol_rate = 27500000
2009-03-04 14:34:16.849 dmx: Setting filter for pid 8192 pestype 20
2009-03-04 14:34:16.849 demux: ioctl DMX_SET_PES_FILTER failed for pid 8192 pestype 20 
2009-03-04 14:34:16.850 demux: Setting budget filter failed - switching off budget mode
2009-03-04 14:34:16.851 dvr: Add Section callback for PID    0 (0x0000) type 1 (PAT)
2009-03-04 14:34:16.851 dvr: Add TS callback for PID    0 (0x0000) type 9 (Reassemble)
2009-03-04 14:34:16.852 dmx: Setting filter for pid 0 pestype 20
2009-03-04 14:34:16.981 fe: Adapter 0 Status: 0x1f (HAS_SIGNAL HAS_CARRIER HAS_VITERBI HAS_SYNC HAS_LOCK)
2009-03-04 14:34:17.052 dvr: lockup of DVB card detected - trying to reanimate via bouncing filter
2009-03-04 14:34:17.109 pat: pat parse found 41 programs
2009-03-04 14:34:17.109 dvr: Add Section callback for PID 2829 (0x0b0d) type 2 (PMT)
2009-03-04 14:34:17.110 dvr: Add TS callback for PID 2829 (0x0b0d) type 9 (Reassemble)
2009-03-04 14:34:17.110 dmx: Setting filter for pid 2829 pestype 20
2009-03-04 14:34:17.117 dvr: Add TS callback for PID 2829 (0x0b0d) type 2 (PMT)
2009-03-04 14:34:17.391 pmt: parse_pmt found 3 elementary streams for pnr 35ea
2009-03-04 14:34:17.392 pmt: pmt_update running for program 35ea
2009-03-04 14:34:17.392 dvr: Add TS callback for PID 2818 (0x0b02) type 5 (Audio)
2009-03-04 14:34:17.393 dmx: Setting filter for pid 2818 pestype 20
2009-03-04 14:34:17.400 dvr: Add TS callback for PID 2825 (0x0b09) type 4 (Video)
2009-03-04 14:34:17.401 dmx: Setting filter for pid 2825 pestype 20
2009-03-04 14:34:17.409 dvr: Add TS callback for PID 2831 (0x0b0f) type 6 (Privat)
2009-03-04 14:34:17.409 dmx: Setting filter for pid 2831 pestype 20
2009-03-04 14:34:24.137 stream_http: connection from 10.8.6.1 for /e
2009-03-04 14:34:28.200 stream_http: dropping connection to 10.8.6.1 for /e
^C

-- 
.: Jakub Pawel Glazik,
.: email & jabber: zytek<at>nuxi.pl


More information about the Getstream mailing list