[vlc-devel] [RFC] VLC and CSA encryption/decryption

Georgi Chorbadzhiyski gf at unixsol.org
Fri Apr 6 12:27:26 CEST 2012

Around 04/06/2012 01:22 PM, Jean-Baptiste Kempf scribbled:
> On Fri, Apr 06, 2012 at 01:08:12PM +0300, Georgi Chorbadzhiyski wrote :
>> I was adding support for constant code word decryption in tsdecrypt [1] and tried
>> to test it using VLC [2] to encrypt an audio stream (video was left not encrypted).
>> I was very surprised to see that the decryption was not working. When i started
>> digging it turns out that CSA encrypted stream with VLC, can not be decoded by
>> libdvbcsa.
> If I understood correctly libdvbcsa works by blocks to do faster
> encoding/decoding and VLC does not.

Only if bitslice API is used. I have tried both bitslice and regular functions,
both are unable to decrypt the streams encrypted with VLC's CSA implementation.

Georgi Chorbadzhiyski

More information about the vlc-devel mailing list