[MPlayer-dev-eng] aes & bluray

Jonathan Nell crtrn13 at gmail.com
Fri Sep 11 14:03:56 CEST 2009


2009/9/11 Reimar Döffinger <Reimar.Doeffinger at gmx.de>:

>> > I didn't read the specs, but unless decryption can't be implemented
>> > otherwise I'd prefer to keep it in the stream layer, just like for CSS
>
> And why? I really think it is a mistake to do it there for CSS already.
> The encryption part of CSS does not really depends on a physical medium
> at all and could be used for any MPEG stream - if it wasn't always
> implemented "at the wrong place".

We can debate moving the decryption out of the stream layer at a later
stage. It's all a bunch of separate functions anyway so it's a 10 min
job to move it out if we so wish. Let's get it all working nicely
first I think...

>
> Maybe things are completely different for BluRay, but for HD-DVD the TS
> itself isn't encrypted, just _some_ of its contents.
> And for what I can tell, a file can even be partially encrypted.
> Are you sure that the only reason why your code doesn't work for HD-DVD
> is exactly because you are handling things at the stream layer whereas
> it would be the same code if done at the demuxer layer?

Yes, the entire TS is encrypted (well at least 6128 bytes out of every
6144 byte unit). 0 decryption means 0 playback - it's not even
recognisable as a stream.
The reason it doesn't work for HD-DVD is because at the moment it's
not handling the HD-DVD directory structure and there is no EVO
decryption at the moment either.



More information about the MPlayer-dev-eng mailing list