[MPlayer-dev-eng] [PATCH] Initial Bluray support

Jonathan Nell crtrn13 at gmail.com
Sun Sep 13 12:01:19 CEST 2009


Here's the sweet and short version. You need to link openssl crypto
lib (./configure --extra-libs=-lcrypto) to compile (still can't get
the aes in libavutils working for me...??).
Also please don't flame me. :) This is v. basic, and I know there are
some bits not done right.

This code only works from VUK (which is only two v small decryption
functions). I hope to implement the crypto from PK (and I have code
working on my PC basically from that point). This will come later.

Also, i'm having a problem with stream_t end_pos. The off_t should be
big enough to take the size of the bluray title (it's 64 bits isn't
it?) but for some reason this doesn't work (even when compiling for
x64).

Current command line format looks like:

BD://<title>@VUK/<mnt/location>

For example: ./mplayer
BD://117@AABBCCDDEEFF11223344556677889900/media/THE_MUMMY/

<title> - the number of the m2ts file in bdvm/stream/.
VUK - Volume Unique Key (for decryption)

There is no playtree stuff added yet so you can't do something like
"BD://1-200@..." yet...
There is also no vid/aid selection yet or anything that intelligently
deals with titles (want to get playback working well first).

Feedback would be great!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bluray.diff
Type: text/x-patch
Size: 8517 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090913/26c9b960/attachment.bin>


More information about the MPlayer-dev-eng mailing list