Re: CI/CAM support for offline (from file) decoding

2012-01-26 Thread Kovacs Balazs



 -Original Message-
 From: linux-media-ow...@vger.kernel.org [mailto:linux-media-
 ow...@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

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


Re: CI/CAM support for offline (from file) decoding

2012-01-26 Thread Kovacs Balazs

 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 majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

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


CI/CAM support for offline (from file) decoding

2012-01-25 Thread 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


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


Re: CI/CAM support for offline (from file) decoding

2012-01-25 Thread 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
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

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