[MPlayer-dev-eng] aes & bluray

Jonathan Nell crtrn13 at gmail.com
Thu Sep 10 23:29:12 CEST 2009


Good news everyone - *basic* bluray support has been implemented
natively in mplayer (as a stream)!
Nothing fancy yet (and a few issues with positioning) but at least
it's working (tested with The Mummy and I am Legend).

Ok, so two issues I hope that someone can enlighten me on:

1) I've tried using the aes fcns included in libavutil but it doesn't
work (i've had to user the openssl ones for now). I mean i have
implemented the functions exacly as per the test example in aes.c but
neither cbc nor ecb is working at all (all the values are wrong). Any
ideas what's going on here? Is this traight forward aes (with the
correct sboxes)?

2) the 'fill_buffer' fcn in the stream code always have a len of 2048
passed to it. Is this standard/configurable? Does this change at all?
It's not a problem but i've hard-coded the splitting of the m2ts units
into 2048byte sub-units and if this value changes every, my code won't
work (I've done it stupidly anyway and will improve it, but i would
still like to know where this len value comes from).

I don't want to release a patch yet as it's still messy and I would
like to get seeking working correctly first. Then I'll release a very
preliminary patch. Does anyone have bluray drives+discs that they
could test with? Please note that at the moment this will only decrypt
and play encrypted discs. HD-DVDs and non-encrypted bluray discs will
not play at all (althought I'll certainly add support for
non-encrypted bluray).



More information about the MPlayer-dev-eng mailing list