[mythtv] DVB CI

Kenneth Aafl°y ke-aa at frisurf.no
Sat Aug 2 18:11:26 EDT 2003


HI!


Have to agree with you that syncing is a problem here, at least when you mix
and match patches :) On the other hand, code that gets committed to CVS
should have a somewhat sane state, which this patch is yet to have.

As to the prognum field, let me explain some:
1. Tune to any transponder.
2. Read pid 0x0, and you get a map between prognum -> another pid
3. Read 'another pid' and you get a map of the stream,
    audio/video/subtitles.....
4. To decode a channel the CAM needs the map in 3 / prognum / pids.

Sorry about not including any mysql update stuff, slipped my mind. Anyways,
nobody seems to have dared testing it yet (does someone else even have a
card with CAM here?)

Have also had some trouble changing between channels (encrypted, the fta are
fine), same trouble as before I think: For some strange reason the video
AVCodec seems to (sometimes), either to be set to NULL or deleted completly.
Anyone have any hints on this? (Sometimes the codec dumps a lot of errors,
and finally segfault somewhere along the decoding chain)

Seems like there is some bad data (encrypted?) around channel change.


Kenneth

----- Original Message -----
From: Ramon Roca
To: Kenneth Aafl°y ; Development of mythtv
Sent: Saturday, August 02, 2003 4:47 PM
Subject: Re: [mythtv] DVB CI


mmmm, although is still in development, maybe because of that, I think that
we have to upload this this to CVS, my developments have also a few changes
to some of those files, I'm also implementing the split of pids to
vpids/apids (audio/video) as Ben suggested....It's really a headache to
maintain this synched having simultaneous developments in progress. Is that
something that can affect to the rest of mythtv?

btw, what's the expected content of new column prognum? Is that for CI,
i.e., col #9 (starting from 1) in channels.conf file? If it is and you use
the same code, I had already uploaded that into channel_dvb in the
providerid column.

Ramon.
----- Original Message -----
From: Kenneth Aafl°y
To: Development of mythtv
Sent: Saturday, August 02, 2003 8:32 AM
Subject: [mythtv] DVB CI


Hi All DVB Fans:)!


Here's my patch for (working? works for me) CI, now that the required lib is
in CVS.

Now, this is not intended as a candidate for CVS as of yet (If you have time
Isaac, there are some parts that might be interresting).

Have fun!


Kenneth

Just for reference, here is a valid output from mythbackend:

Starting up as the master server.
Resetting slot 0...ok.
Resetting slot 1...ok.
DVBChannel: Changing to channel 3 on card 0
Using DVB card "STV0299/TSA5059/SL1935 based"
tuning DVB-S to L-Band:-1073744576, Pol:h Srate=27800000, 22kHz=on
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI
FE_HAS_SYNC
Bit error rate: 65280
Signal strength: 46967
SNR: 50874
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI
FE_HAS_SYNC
Setting 2 pids < 514[0x0202]  668[0x029C] > done!
Module ready in slot 0
Creating connection: slot 0, tcid 1
2003-08-02 06:51:13 adding: europa.io.no as a player 1
OpenSession 00010041
New Resource Manager (session id 1)
1: ==> Profile Enq
2003-08-02 06:51:13 adding: europa.io.no as a player 0
1: <== Profile
1: ==> Profile Change
2003-08-02 06:51:14 adding: europa.io.no as a player 0
2003-08-02 06:51:14 adding: europa.io.no as a remote ringbuffer
Changing from None to WatchingLiveTV
1: <== Profile Enquiry
1: ==> Profile
OpenSession 00020041
New Application Information (session id 2)
2: ==> Application Info Enq
2: <== Application Info
CAM: Conax 4.00e, 01, 0B00, 04B1
OpenSession 00030041
New Conditional Access Support (session id 3)
3: ==> Ca Info Enq
3: <== Ca Info 0B00
-----------> PAT: [1508 -> 263]PMT (126)
Videostream: ASPECT: 4:3  Size = 720x576  FRate: 25 fps  BRate: 15.00 Mbit/s
Audiostream: Layer: 1  BRate: 416 kb/s  Freq: 44.1 kHz
DVBChannel: Changing to channel 6 on card 0
Using DVB card "STV0299/TSA5059/SL1935 based"
tuning DVB-S to L-Band:1084839880, Pol:v Srate=24500000, 22kHz=off
polling....
Getting frontend event
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI
FE_HAS_SYNC
Bit error rate: 64256
Signal strength: 43386
SNR: 48348
FE_STATUS: FE_HAS_SIGNAL FE_HAS_LOCK FE_HAS_CARRIER FE_HAS_VITERBI
FE_HAS_SYNC
Setting 2 pids < 516[0x0204]  690[0x02B2] > done!
-----------> PAT: [306 -> 260]PMT (114)
Audiostream: Layer: 1  BRate: 192 kb/s  Freq: 44.1 kHz
Videostream: ASPECT: 4:3  Size = 704x576  FRate: 25 fps  BRate: 15.00 Mbit/s



_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list