Skip to contentSkip to conversation

CI/CAM support for offline (from file) decoding

DISCUSSION Kovacs Balazs 4 participants 9 messages Jan 25, 2012 – Jan 26, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#1 lore raw
In reply to Kovacs Balazs

Hi all!

I'm in a project and it stopped because of a problem, what we can't understand and solve:

we have several full TS recorded to HDD and we want to decrypt some ES from it (video/audio PIDs).

Is it possible via the Linux DVB API? I've chipset paired CAM and smartcard in a TT 3200 + CI slot.

thank you for the answers

basq

#0 lore raw

Hi all!

I'm in a project and it stopped because of a problem, what we can't understand and solve:

we have several full TS recorded to HDD and we want to decrypt some ES from it (video/audio PIDs).

Is it possible via the Linux DVB API? I've chipset paired CAM and smartcard in a TT 3200 + CI slot.

thank you for the answers

basq

#2 lore raw

I think more feasible way (than using linux kernel DVB layer) is using SoftwareCAM with SmartCard reader. Some solution should be also implemented in STB, which save records in encrypted state.

--
Marek Ochaba

#3 lore raw

Yes, i thought about that, but i need the Hardware CAM + CI, because it's chip paired encryption. It means in my situation that the EMM and ECM is also encrypted so it's hard to use in a SoftCam configuration.

I hope there's a solution in the DVB driver space.

I receive the signal via RF or IP. If via RF i think it can be decoded via the HW, and the record it to disk, but i need the full TS decrypted, and i think it's not possible (to decrypt all the encrypted

ES  which  can be 20-30-40 in real time when i receive the signal). In
IP  configuration  it's also not possible. So i have the recorded full
TS  pieces  and somehow i have to decrypt with a CAM+Card paired to each

other. Of course i know that the decryption is only possible if the Smartcard has the authorization in those date ranges when the files was recorded. I have seen this kind of solution in Windows, but i need it on Linux now.

Thank you,

Balazs Kovacs

Quoted 6 lines

I think more feasible way (than using linux kernel DVB layer) is using SoftwareCAM with SmartCard reader. Some solution should be also implemented in STB, which save records in encrypted state.

--
Marek Ochaba

#4 lore raw
Quoted 9 lines · Kovacs Balazs

Yes, i thought about that, but i need the Hardware CAM + CI, because it's chip paired encryption. It means in my situation that the EMM and ECM is also encrypted so it's hard to use in a SoftCam configuration.

I hope there's a solution in the DVB driver space.

I receive the signal via RF or IP. If via RF i think it can be decoded via the HW, and the record it to disk, but i need the full TS decrypted, and i think it's not possible (to decrypt all the encrypted

Quoted 7 lines
ES  which  can be 20-30-40 in real time when i receive the signal). In
IP  configuration  it's also not possible. So i have the recorded full
TS  pieces  and somehow i have to decrypt with a CAM+Card paired to each

other. Of course i know that the decryption is only possible if the Smartcard has the authorization in those date ranges when the files was recorded. I have seen this kind of solution in Windows, but i need it on Linux now.

Yes, you can do that, but only if the hardware supports it. Most cards with CAM/CI are hardwired in such a way that the transport stream comes from the demodulator, goes through the CAM/CI and then into the PCIe/PCI bridge. There are only a few cards where you can send a TS from memory to the CAM/CI and back.

-Ralph

#5 lore raw
Quoted 28 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Ralph Metzler
Sent: jeudi 26 janvier 2012 13:21
To: [email protected]
Subject: Re: CI/CAM support for offline (from file) decoding

Quoted 1 line · Kovacs Balazs

Yes, i thought about that, but i need the Hardware CAM + CI,

because > it's chip paired encryption. It means in my situation that the EMM and > ECM is also encrypted so it's hard to use in a SoftCam configuration.

Quoted 4 lines

I hope there's a solution in the DVB driver space.

I receive the signal via RF or IP. If via RF i think it can be

decoded > via the HW, and the record it to disk, but i need the full TS > decrypted, and i think it's not possible (to decrypt all the encrypted > ES which can be 20-30-40 in real time when i receive the signal). In > IP configuration it's also not possible. So i have the recorded full > TS pieces and somehow i have to decrypt with a CAM+Card paired to each > other. Of course i know that the decryption is only possible if the > Smartcard has the authorization in those date ranges when the files > was recorded. I have seen this kind of solution in Windows, but i need > it on Linux now.

Quoted 9 lines

Yes, you can do that, but only if the hardware supports it. Most cards with CAM/CI are hardwired in such a way that the transport stream comes from the demodulator, goes through the CAM/CI and then into the PCIe/PCI bridge. There are only a few cards where you can send a TS from memory to the CAM/CI and back.

-Ralph

The "Octopus CI" from "Digital Devices" is the only one I know where you can input the TS stream directly to the CAM:
http://shop.digital-devices.de/epages/62357162.sf/en_GB/?ViewObjectID=370117
11

Quoted 6 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 35 lines
Quoted 35 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Ralph Metzler
Sent: jeudi 26 janvier 2012 13:21
To: [email protected]
Subject: Re: CI/CAM support for offline (from file) decoding

Quoted 1 line · Kovacs Balazs

Yes, i thought about that, but i need the Hardware CAM + CI,

because > it's chip paired encryption. It means in my situation that the EMM and > ECM is also encrypted so it's hard to use in a SoftCam configuration.

Quoted 4 lines

I hope there's a solution in the DVB driver space.

I receive the signal via RF or IP. If via RF i think it can be

decoded > via the HW, and the record it to disk, but i need the full TS > decrypted, and i think it's not possible (to decrypt all the encrypted > ES which can be 20-30-40 in real time when i receive the signal). In > IP configuration it's also not possible. So i have the recorded full > TS pieces and somehow i have to decrypt with a CAM+Card paired to each > other. Of course i know that the decryption is only possible if the > Smartcard has the authorization in those date ranges when the files > was recorded. I have seen this kind of solution in Windows, but i need > it on Linux now.

Yes, you can do that, but only if the hardware supports it. Most cards with CAM/CI are hardwired in such a way that the transport stream comes from the demodulator, goes through the CAM/CI and then into the PCIe/PCI bridge. There are only a few cards where you can send a TS from memory to the CAM/CI and back.

Quoted 8 lines
Quoted 3 lines

-Ralph

The "Octopus CI" from "Digital Devices" is the only one I know where you can input the TS stream directly to the CAM:
http://shop.digital-devices.de/epages/62357162.sf/en_GB/?ViewObjectID=370117
11

Is this the only solution? I need s2 tuner and IP input (from the motherboard's Ethernet) and record them to file splices. Then (for request) i have to decrypt one or more ES from the recorded file and push them back. It's a DVB monitoring solution.

thanks
Balazs

#8 lore raw
In reply to Ralph Metzler
Quoted 19 lines
Quoted 9 lines · Kovacs Balazs

Yes, i thought about that, but i need the Hardware CAM + CI, because it's chip paired encryption. It means in my situation that the EMM and ECM is also encrypted so it's hard to use in a SoftCam configuration.

I hope there's a solution in the DVB driver space.

I receive the signal via RF or IP. If via RF i think it can be decoded via the HW, and the record it to disk, but i need the full TS decrypted, and i think it's not possible (to decrypt all the encrypted

Quoted 7 lines
ES  which  can be 20-30-40 in real time when i receive the signal). In
IP  configuration  it's also not possible. So i have the recorded full
TS  pieces  and somehow i have to decrypt with a CAM+Card paired to each

other. Of course i know that the decryption is only possible if the Smartcard has the authorization in those date ranges when the files was recorded. I have seen this kind of solution in Windows, but i need it on Linux now.

Quoted 5 lines

Yes, you can do that, but only if the hardware supports it. Most cards with CAM/CI are hardwired in such a way that the transport stream comes from the demodulator, goes through the CAM/CI and then into the PCIe/PCI bridge. There are only a few cards where you can send a TS from memory to the CAM/CI and back.

Can you suggest some kind of hardware?

Quoted 9 lines

-Ralph

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw
In reply to Kovacs Balazs
Quoted 56 lines

-----Original Message-----
From: Kovacs Balazs [mailto:[email protected]]
Sent: jeudi 26 janvier 2012 14:45
To: Sébastien RAILLARD (COEXSI)
Cc: 'Ralph Metzler'; [email protected]
Subject: Re: CI/CAM support for offline (from file) decoding

Quoted 15 lines
Quoted 15 lines

-----Original Message-----
From: [email protected] [mailto:linux-media- [email protected]] On Behalf Of Ralph Metzler
Sent: jeudi 26 janvier 2012 13:21
To: [email protected]
Subject: Re: CI/CAM support for offline (from file) decoding

Quoted 1 line · Kovacs Balazs

Yes, i thought about that, but i need the Hardware CAM + CI,

because > it's chip paired encryption. It means in my situation that the EMM and > ECM is also encrypted so it's hard to use in a SoftCam configuration.

Quoted 3 lines

I hope there's a solution in the DVB driver space.

Quoted 11 lines
Quoted 11 lines
Quoted 1 line

I receive the signal via RF or IP. If via RF i think it can be

decoded > via the HW, and the record it to disk, but i need the full TS > decrypted, and i think it's not possible (to decrypt all the encrypted > ES which can be 20-30-40 in real time when i receive the signal). In > IP configuration it's also not possible. So i have the recorded full > TS pieces and somehow i have to decrypt with a
CAM+Card paired to each > other. Of course i know that the decryption is only possible if the > Smartcard has the authorization in those date ranges when the files > was recorded. I have seen this kind of solution in Windows, but i need > it on Linux

now.

Quoted 11 lines
Quoted 10 lines

Yes, you can do that, but only if the hardware supports it. Most cards with CAM/CI are hardwired in such a way that the transport stream comes from the demodulator, goes through the CAM/CI and then into the PCIe/PCI bridge. There are only a few cards where you can send a TS from memory to the CAM/CI and back.

-Ralph

Quoted 5 lines

The "Octopus CI" from "Digital Devices" is the only one I know where you can input the TS stream directly to the CAM:
http://shop.digital-devices.de/epages/62357162.sf/en_GB/?ViewObjectID=
370117
11

Quoted 5 lines

Is this the only solution? I need s2 tuner and IP input (from the motherboard's Ethernet) and record them to file splices. Then (for request) i have to decrypt one or more ES from the recorded file and push them back. It's a DVB monitoring solution.

If you need to decrypt stream using an official CAM, I don't think you'll have too much choice.
By the way, this "Octopus CI" card has 2 connectors where you can connect two double DVB-S2 tuners.
Tuners and CAM work independently.

If you don't need an official CAM, maybe you can look to the OSCAM project...

Quoted 2 lines

thanks
Balazs