"David Olsson" < XXXX@XXXXX.COM > schrieb im Newsbeitrag
If I understand you correctly, you're communication with your smart-card by
some kind of SC-Interface _other_ than a CA-Module?
It certainly is possible, e.g. using the sample-grabber or a custom
transform-filter. You would have to insert it after your BDA-capture-filter
(not the bda-tuner), or possibly behind the MPEG2-Demux-filter, but
certainly before any MPEG2/Audio-Decoder.
This way you can access the raw TS (including all information
scrambling-information ca-sections, scrambled packets) or only specific PIDs
(if you insert your filter behind the demux).
You will however have to "read" any information you need out of the "raw"
ts-packets - MS-Digital-TV infrastructure knows nothing about
No. In a regular (and possibly the only legal) scenario the CA-Module will
do all that - talking to the smart-card, reading CA-information, determining
the correct descrambling-key and descrambling the affected packets (or at
least telling the demux the CW for descrambling packets - not sure who
actually does the XORing) - you are not expected to get access to any
descrambling CWs anywhere along the TS-data-path.
But definitely neither the ms-mpeg2 demux nor _any_ mpeg2-decoder know about
descrambling any data/pes-packets. They simply expect correct data at their
input-pins. (however the demuxer is able to pass through scrambled packets,
since it doesn't actually care about the embedded data). So with DVB-cards
supporting CI-slots the driver will ensure that the data that gets out of
the BDA-capture-filter is already processed correctly (by passing though the
So for your "software CI" to work you will also have to do the actual
descrambling yourself (which is basically nothing but a simple
xor-operation) - there are some dvb-s programs out there that implement an
interface for software-cams - you could have a look at their source-codes
(basically they take each 188byte-packet coming in with the TS, examine it
if it has to be processed/process it and then pass on the modified packet)
Be aware that legally you're on very thin ice (if not to say that you're
already under water;)
p dot feldbaumer at utanet dot at