[MPlayer-dev-eng] [PATCH] Bluray support through libbluray

Benjamin Zores ben at geexbox.org
Sun Jul 4 11:21:54 CEST 2010


On Sun, Jul 4, 2010 at 9:17 AM, Ergzay <ergzay at gmail.com> wrote:

> Well I threw in an #include config.h and an #ifdef for it anyway for the time being. I tried to create a patch, but I'm new to this. When I did an svn diff > file.diff it included all the patch changes except it didn't include the stream_bluray.c file in the patch for some reason. So not sure there.

I fixed it in my tree. Thx for spotting out.

> It now seems to compile fine and it basically works with the single bluray folder I have. I can't switch audio tracks. I can't select subtitle tracks. I can't seek by chapters using ! and @. It just plays the video and it connects all the .m2ts files together and I can seek seamlessly between them. The channel decoding down to 2 channels is wrong (most sound comes from the right speaker). The timestamp of the video starts at 1:10:00.  The over all length of the timestamp is reported as 49:57:46 which is obviously much longer than it actually is. The timestamp on the OSD also flickers backward and forward right around when its changing second sometimes. This may be related to my computer not being quite fast enough to render some scenes, but I haven't seen this in other videos before. (I have a Core 2 Duo 2.5 GHz with nvida 8600M GT.)

libbluray will only provide you access to MPEG-TS stream actually.
So all of the decoding issues are probably not related to bluray but
inherent to MPlayer (i.e. if you play m2ts file by hand you probably
will have the same ones).

> Mplayer crashes when you give it a title outside of the number of titles. For some reason on my disk using title 0 or title 1 both pointed to the same thing (using 0000 or 0 and 0001 or 1 both seem to work). Disk also had a title 2 but using title caused a crash with this error:

I'll have a look at the chapter seeking thing though and title number
overflow (though I thought i tested it).
But one thing/feature at a time.

Ben



More information about the MPlayer-dev-eng mailing list