[vdr] VDR with S2API (update)

Mika Laitio lamikr at pilppa.org
Sun Dec 14 16:01:08 CET 2008


> and change scan.c so that it first tunes to DVB-S2, as in
>
>                        /* set up list of delivery systems*/
>                        //fe_delivery_system_t delset[]={SYS_DVBS,SYS_DVBS2};
>                        fe_delivery_system_t delset[]={SYS_DVBS2,SYS_DVBS};

Ok, I did run some tests.
I am using following setup
- kernel 2.6.27.1
- v4l-dvb drivers just updated today from linuxtv.org
- szap-s2 just updated today from 
http://mercurial.intuxication.org/hg/szap-s2
- scan-s2 updated today from
http://mercurial.intuxication.org/hg/scan-s2/
- hvr-1300 as /dev/dvb/adapter0
(frontend0 for dvb-t)
- hvr-4000 as /dev/dvb/adapter1
(frontend 0 for s/s2, frontend 1 for dvb-t)
- astra-19-2.conf for s2-channels
S 11362000 H 22000000 2/3
S 10743750 H 22000000 2/3
- chan.conf for szap-s2 (not in vdr format)
arteHD:11361:hC23M5O35S1:S19.2E:22000:6210:6230:0:11120:1:1011:0

I have lot of issues, so I try to report them with numbers...

1) scan-s2 will work if I first tune to arte HD for a while with szap-s2
- ./szap-s2 -a 1 -S 2 -c channels.conf arteHD
---> will immediately get lock
- <ctrl-c> to stop szap-s2
- ./scan-s2 -a 1 -5 -o vdr astra-19-2.conf
...
Network Name 'ASTRA'
>>> parse_section, section number 1 out of 1...!
dumping lists (6 services)
arte 
HD;ZDFvision:11361:hS1C23M5O35:S19.2E:22000:6210:6221=ger,6222=fra:6230:0:11120:1:1011:0
Simul 
SD;IRT:11361:hS1C23M5O35:S19.2E:22000:6310:6320=ger:0:0:11130:1:1011:0
Simul 
HD;IRT:11361:hS1C23M5O35:S19.2E:22000:6410:6420=ger:0:0:11140:1:1011:0
arte 
HD;ZDFvision:10743:hS0C56M2:S19.2E:22000:6210:6221=ger,6222=fra:6230:0:11120:1:1051:0
Simul SD;IRT:10743:hS0C56M2:S19.2E:22000:6310:6320=ger:0:0:11130:1:1051:0
Simul HD;IRT:10743:hS0C56M2:S19.2E:22000:6410:6420=ger:0:0:11140:1:1051:0

If I would have let the szap-s2 running, I could have received the 
channels also without astra-19-2.conf file by running

./scan-s2 -a 1 -5 -o vdr -c

2) After step (1) I can not newer use vdr-1.7.1 again for locking dvb-s 
channels with vlc/streamdev plugin (dvb-t channels from hvr-1300 still 
scans ok)

- launch vdr-1.7.1 (with latest Klaus s2-api patch for vdr-1.7.1)
- vlc http://localhost:3000/PES/18

I can get vlc/vdr-1.7.1 to work again with S-channels, if I first launch
vdr-1.6.0 and use use xine-liboutput to tune some S-channels.

3) I am not able to watch S2 channels with vdr-1.7.1/streamdev plugin/vlc 
compination (I can not connect crt tv to my ff cards directly so I must 
use plugin)

I have added following to vdr-1.7.1 channel.conf
arteHD;ZDFvision:11361:hS1C23M5O35:S19.2E:22000:6210:6221=ger,6222=fra:6230:0:11120:1:1011:0
SimulSD;IRT:11361:hS1C23M5O35:S19.2E:22000:6310:6320=ger:0:0:11130:1:1011:0
SimulHD;IRT:11361:hS1C23M5O35:S19.2E:22000:6410:6420=ger:0:0:11140:1:1011:0

With vlc http://localhost:3000/PES/<channel-number> I am able to tune only 
the SimulSD channel, not arteHD or SimulHD

After trying these, I am again in situaion described in step (2)
and I must first use vdr-1.6.0/xine-liboutput to tune S channels
to get vdr-1.7.1 to be able to tune to them.

4) xine-liboutput plugin does not work with vdr-1.7.1 not even for dvb-t 
or dvb-s channels, while streamdev-server/vlc compination works ok except 
in case (2).

5) I can tune and watch arteHD with following commands from command line:
- szap_channels.conf
arteHD:11361:hC23M5O35S1:S19.2E:22000:6210:6230:0:11120:1:1011:0

- ./szap-s2 -a 1 -S 2 -c szap_channels.conf arteHD
- dvbstream -c 1 8192 -o > test3.mpg
- vlc test3.mpg

Here are still the full outputs from scan-s2. First once using first 
vdr-1.6.0 for tuning with old api to S-channels. And then
the succesfull case after firts using szap-s2 to tune artehd.

[lamikr at tinka scan-s2]$ ./scan-s2 -a 1 -o vdr astra-19-2.conf
API major 5, minor 0
scanning astra-19-2.conf
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
initial transponder DVB-S2 11362000 H 22000000 2/3 AUTO AUTO
initial transponder DVB-S  11362000 H 22000000 2/3 AUTO AUTO
initial transponder DVB-S2 10743750 H 22000000 2/3 AUTO AUTO
initial transponder DVB-S  10743750 H 22000000 2/3 AUTO AUTO
----------------------------------> Using DVB-S2
>>> tune to: 11362:hS1C23:S0.0W:22000:
DVB-S IF freq is 1612000
WARNING: >>> tuning failed!!!
>>> tune to: 11362:hS1C23:S0.0W:22000: (tuning failed)
DVB-S IF freq is 1612000
WARNING: >>> tuning failed!!!
----------------------------------> Using DVB-S
>>> tune to: 11362:hS0C23:S0.0W:22000:
DVB-S IF freq is 1612000
WARNING: >>> tuning failed!!!
>>> tune to: 11362:hS0C23:S0.0W:22000: (tuning failed)
DVB-S IF freq is 1612000
WARNING: >>> tuning failed!!!
----------------------------------> Using DVB-S2
>>> tune to: 10743:hS1C23:S0.0W:22000:
DVB-S IF freq is 993750
WARNING: >>> tuning failed!!!
>>> tune to: 10743:hS1C23:S0.0W:22000: (tuning failed)
DVB-S IF freq is 993750
WARNING: >>> tuning failed!!!
----------------------------------> Using DVB-S
>>> tune to: 10743:hS0C23:S0.0W:22000:
DVB-S IF freq is 993750
WARNING: >>> tuning failed!!!
>>> tune to: 10743:hS0C23:S0.0W:22000: (tuning failed)
DVB-S IF freq is 993750
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.

[lamikr at tinka scan-s2]$ ./scan-s2 -a 1 -o vdr astra-19-2.conf
API major 5, minor 0
scanning astra-19-2.conf
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
initial transponder DVB-S2 11362000 H 22000000 2/3 AUTO AUTO
initial transponder DVB-S  11362000 H 22000000 2/3 AUTO AUTO
initial transponder DVB-S2 10743750 H 22000000 2/3 AUTO AUTO
initial transponder DVB-S  10743750 H 22000000 2/3 AUTO AUTO
----------------------------------> Using DVB-S2
>>> tune to: 11362:hS1C23:S0.0W:22000:
DVB-S IF freq is 1612000
>>> parse_section, section number 0 out of 0...!
service_id = 0x0
service_id = 0x2B70
pmt_pid = 0x1838
service_id = 0x2B7A
pmt_pid = 0x189C
service_id = 0x2B84
pmt_pid = 0x1900
>>> parse_section, section number 0 out of 0...!
   VIDEO     : PID 0x1842
   AUDIO     : PID 0x184D
   AUDIO     : PID 0x184E
   TELETEXT  : PID 0x1856
>>> parse_section, section number 0 out of 0...!
   VIDEO     : PID 0x18A6
   AUDIO     : PID 0x18B0
>>> parse_section, section number 0 out of 0...!
0x03F3 0x2B70: pmt_pid 0x1838 ZDFvision -- arte HD (running)
0x03F3 0x2B7A: pmt_pid 0x189C IRT -- Simul SD (running)
0x03F3 0x2B84: pmt_pid 0x1900 IRT -- Simul HD (running)
>>> parse_section, section number 0 out of 0...!
   VIDEO     : PID 0x190A
   AUDIO     : PID 0x1914
>>> parse_section, section number 0 out of 1...!
Network Name 'ASTRA'
>>> parse_section, section number 1 out of 1...!
----------------------------------> Using DVB-S
>>> tune to: 10743:hS0C56M2:S19.2E:22000:
DVB-S IF freq is 993750
>>> parse_section, section number 0 out of 0...!
0x03F3 0x2B70: pmt_pid 0x0000 ZDFvision -- arte HD (running)
0x03F3 0x2B7A: pmt_pid 0x0000 IRT -- Simul SD (running)
0x03F3 0x2B84: pmt_pid 0x0000 IRT -- Simul HD (running)
>>> parse_section, section number 0 out of 0...!
service_id = 0x0
service_id = 0x2B70
pmt_pid = 0x1838
service_id = 0x2B7A
pmt_pid = 0x189C
service_id = 0x2B84
pmt_pid = 0x1900
>>> parse_section, section number 0 out of 0...!
   VIDEO     : PID 0x190A
   AUDIO     : PID 0x1914
>>> parse_section, section number 0 out of 0...!
   VIDEO     : PID 0x1842
   AUDIO     : PID 0x184D
   AUDIO     : PID 0x184E
   TELETEXT  : PID 0x1856
>>> parse_section, section number 0 out of 0...!
   VIDEO     : PID 0x18A6
   AUDIO     : PID 0x18B0
>>> parse_section, section number 0 out of 1...!
Network Name 'ASTRA'
>>> parse_section, section number 1 out of 1...!
dumping lists (6 services)
arte 
HD;ZDFvision:11361:hS1C23M5O35:S19.2E:22000:6210:6221=ger,6222=fra:6230:0:11120:1:1011:0
Simul 
SD;IRT:11361:hS1C23M5O35:S19.2E:22000:6310:6320=ger:0:0:11130:1:1011:0
Simul 
HD;IRT:11361:hS1C23M5O35:S19.2E:22000:6410:6420=ger:0:0:11140:1:1011:0
arte 
HD;ZDFvision:10743:hS0C56M2:S19.2E:22000:6210:6221=ger,6222=fra:6230:0:11120:1:1051:0
Simul SD;IRT:10743:hS0C56M2:S19.2E:22000:6310:6320=ger:0:0:11130:1:1051:0
Simul HD;IRT:10743:hS0C56M2:S19.2E:22000:6410:6420=ger:0:0:11140:1:1051:0
Done.

Mika



More information about the vdr mailing list