public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* CI/CAM support for offline (from file) decoding
@ 2012-01-25 17:15 Kovacs Balazs
  2012-01-25 17:21 ` Kovacs Balazs
  2012-01-25 17:57 ` Marek Ochaba
  0 siblings, 2 replies; 9+ messages in thread
From: Kovacs Balazs @ 2012-01-25 17:15 UTC (permalink / raw)
  To: linux-media

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* CI/CAM support for offline (from file) decoding
  2012-01-25 17:15 CI/CAM support for offline (from file) decoding Kovacs Balazs
@ 2012-01-25 17:21 ` Kovacs Balazs
  2012-01-25 17:57 ` Marek Ochaba
  1 sibling, 0 replies; 9+ messages in thread
From: Kovacs Balazs @ 2012-01-25 17:21 UTC (permalink / raw)
  To: linux-media

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: CI/CAM support for offline (from file) decoding
  2012-01-25 17:15 CI/CAM support for offline (from file) decoding Kovacs Balazs
  2012-01-25 17:21 ` Kovacs Balazs
@ 2012-01-25 17:57 ` Marek Ochaba
  2012-01-25 22:34   ` Kovacs Balazs
  1 sibling, 1 reply; 9+ messages in thread
From: Marek Ochaba @ 2012-01-25 17:57 UTC (permalink / raw)
  To: Kovacs Balazs; +Cc: linux-media

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: CI/CAM support for offline (from file) decoding
  2012-01-25 17:57 ` Marek Ochaba
@ 2012-01-25 22:34   ` Kovacs Balazs
  2012-01-26 12:21     ` Ralph Metzler
  0 siblings, 1 reply; 9+ messages in thread
From: Kovacs Balazs @ 2012-01-25 22:34 UTC (permalink / raw)
  To: Marek Ochaba; +Cc: linux-media

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


> 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: CI/CAM support for offline (from file) decoding
  2012-01-25 22:34   ` Kovacs Balazs
@ 2012-01-26 12:21     ` Ralph Metzler
  2012-01-26 12:50       ` Sébastien RAILLARD (COEXSI)
  2012-01-26 13:45       ` Kovacs Balazs
  0 siblings, 2 replies; 9+ messages in thread
From: Ralph Metzler @ 2012-01-26 12:21 UTC (permalink / raw)
  To: linux-media

Kovacs Balazs writes:
 > 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.

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



 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: CI/CAM support for offline (from file) decoding
  2012-01-26 12:21     ` Ralph Metzler
@ 2012-01-26 12:50       ` Sébastien RAILLARD (COEXSI)
  2012-01-26 13:44         ` Kovacs Balazs
  2012-01-26 13:45       ` Kovacs Balazs
  1 sibling, 1 reply; 9+ messages in thread
From: Sébastien RAILLARD (COEXSI) @ 2012-01-26 12:50 UTC (permalink / raw)
  To: 'Ralph Metzler', linux-media



> -----Original Message-----
> From: linux-media-owner@vger.kernel.org [mailto:linux-media-
> owner@vger.kernel.org] On Behalf Of Ralph Metzler
> Sent: jeudi 26 janvier 2012 13:21
> To: linux-media@vger.kernel.org
> Subject: Re: CI/CAM support for offline (from file) decoding
> 
> Kovacs Balazs writes:
>  > 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.
> 
> 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


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: CI/CAM support for offline (from file) decoding
  2012-01-26 12:50       ` Sébastien RAILLARD (COEXSI)
@ 2012-01-26 13:44         ` Kovacs Balazs
  2012-01-26 14:18           ` Sébastien RAILLARD (COEXSI)
  0 siblings, 1 reply; 9+ messages in thread
From: Kovacs Balazs @ 2012-01-26 13:44 UTC (permalink / raw)
  To: Sébastien RAILLARD; +Cc: 'Ralph Metzler', linux-media




>> -----Original Message-----
>> From: linux-media-owner@vger.kernel.org [mailto:linux-media-
>> owner@vger.kernel.org] On Behalf Of Ralph Metzler
>> Sent: jeudi 26 janvier 2012 13:21
>> To: linux-media@vger.kernel.org
>> Subject: Re: CI/CAM support for offline (from file) decoding
>> 
>> Kovacs Balazs writes:
>>  > 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.
>> 
>> 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

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: CI/CAM support for offline (from file) decoding
  2012-01-26 12:21     ` Ralph Metzler
  2012-01-26 12:50       ` Sébastien RAILLARD (COEXSI)
@ 2012-01-26 13:45       ` Kovacs Balazs
  1 sibling, 0 replies; 9+ messages in thread
From: Kovacs Balazs @ 2012-01-26 13:45 UTC (permalink / raw)
  To: Ralph Metzler; +Cc: linux-media


> Kovacs Balazs writes:
 >> 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.

> 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?

> -Ralph



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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: CI/CAM support for offline (from file) decoding
  2012-01-26 13:44         ` Kovacs Balazs
@ 2012-01-26 14:18           ` Sébastien RAILLARD (COEXSI)
  0 siblings, 0 replies; 9+ messages in thread
From: Sébastien RAILLARD (COEXSI) @ 2012-01-26 14:18 UTC (permalink / raw)
  To: 'Kovacs Balazs'; +Cc: 'Ralph Metzler', linux-media



> -----Original Message-----
> From: Kovacs Balazs [mailto:basq@bitklub.hu]
> Sent: jeudi 26 janvier 2012 14:45
> To: Sébastien RAILLARD (COEXSI)
> Cc: 'Ralph Metzler'; linux-media@vger.kernel.org
> Subject: Re: CI/CAM support for offline (from file) decoding
> 
> 
> 
> 
> >> -----Original Message-----
> >> From: linux-media-owner@vger.kernel.org [mailto:linux-media-
> >> owner@vger.kernel.org] On Behalf Of Ralph Metzler
> >> Sent: jeudi 26 janvier 2012 13:21
> >> To: linux-media@vger.kernel.org
> >> Subject: Re: CI/CAM support for offline (from file) decoding
> >>
> >> Kovacs Balazs writes:
> >>  > 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.
> >>
> >> 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
> 
> 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...

> thanks
> Balazs



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-01-26 14:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-25 17:15 CI/CAM support for offline (from file) decoding Kovacs Balazs
2012-01-25 17:21 ` Kovacs Balazs
2012-01-25 17:57 ` Marek Ochaba
2012-01-25 22:34   ` Kovacs Balazs
2012-01-26 12:21     ` Ralph Metzler
2012-01-26 12:50       ` Sébastien RAILLARD (COEXSI)
2012-01-26 13:44         ` Kovacs Balazs
2012-01-26 14:18           ` Sébastien RAILLARD (COEXSI)
2012-01-26 13:45       ` Kovacs Balazs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox