Page 1 of 2

Blu-ray on mac

Posted: 25 Jan 2012 21:56
by dandu
Hello

I try to test the Blu-ray on my Mac with VLC... but nothing happend.

My Mac :

MacBook Pro 17 inch with Lion
Blu-ray reader : MATSHITA BD-CMB UJ-120 (external, FireWire)
VLC Version 1.2.0-rc1 64 bits (i can't use the 32 bits i686 version)

When i try to read a Blu-ray, i have the same error with libbluray :

Code: Select all

[0x100280c50] main playlist debug: adding item `ROCKY_HORROR_WW' ( bluray:///dev/rdisk2 ) [0x109c50560] main input debug: Creating an input for 'ROCKY_HORROR_WW' [0x100280c50] main playlist debug: rebuilding array of current - root Playlist [0x100280c50] main playlist debug: rebuild done - 2 items, index 0 [0x100280c50] main playlist debug: no fetch required for (null) (art currently (null)) [0x100280c50] main playlist debug: processing request item: ROCKY_HORROR_WW, node: Playlist, skip: 0 [0x100280c50] main playlist debug: resyncing on ROCKY_HORROR_WW [0x100280c50] main playlist debug: ROCKY_HORROR_WW is at 1 [0x100280c50] main playlist debug: starting playback of the new playlist item [0x100280c50] main playlist debug: creating new input thread [0x109c8bfb0] main input debug: Creating an input for 'ROCKY_HORROR_WW' [0x109c8bfb0] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x109c8bfb0] main input debug: `bluray:///dev/rdisk2' gives access `bluray' demux `' path `/dev/rdisk2' [0x109c8bfb0] main input debug: creating demux: access='bluray' demux='' location='/dev/rdisk2' file='/dev/rdisk2' [0x109c90730] main demux debug: looking for access_demux module: 1 candidate libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /dev/rdisk2/BDMV/index.bdmv libbluray/bdnav/index_parse.c:162: indx_parse(): error opening /dev/rdisk2/BDMV/BACKUP/index.bdmv [0x109c90730] libbluray demux: First play: 0, Top menu: 0 HDMV Titles: 0, BD-J Titles: 0, Other: 0 libbluray/bluray.c:1554: nav_get_title_list(/dev/rdisk2) failed (0x102216800) [0x109c90730] libbluray demux debug: Selecting Title 268435456 [b][0x109c90730] libbluray demux error: cannot select bd title '0' [0x109c90730] libbluray demux error: Could not set the title -1[/b] [0x109c90730] main demux debug: no access_demux module matching "bluray" could be loaded [0x109c90730] main demux debug: TIMER module_need() : 0,505 ms - Total 0,505 ms / 1 intvls (Avg 0,505 ms) [0x109c8bfb0] main input debug: creating access 'bluray' location='/dev/rdisk2', path='/dev/rdisk2' [0x109c946e0] main access debug: looking for access module: 0 candidates [0x109c946e0] main access debug: no access module matched "bluray" [0x109c946e0] main access debug: TIMER module_need() : 0,180 ms - Total 0,180 ms / 1 intvls (Avg 0,180 ms) [0x109c8bfb0] main input error: open of `bluray:///dev/rdisk2' failed [0x100280c50] main playlist debug: dead input [0x100280c50] main playlist debug: changing item without a request (current 1/2) [0x100280c50] main playlist debug: nothing to play
I have tried with old Blu-ray (MPEG2), recent, etc.

Have you an idea ?

(i have tried to install libaacs and the key on ~/.config/aacs)

Re: Blu-ray on mac

Posted: 26 Jan 2012 12:22
by dandu
Today, i made a test with another Blu-ray reader and a Blu-ray demo with no protection, and i have the same problem.

Re: Blu-ray on mac

Posted: 26 Jan 2012 14:10
by Jean-Baptiste Kempf
libbluray/bluray.c:1554: nav_get_title_list(/dev/rdisk2) failed (0x102216800)
[0x109c90730] libbluray demux debug: Selecting Title 268435456
[0x109c90730] libbluray demux error: cannot select bd title '0'

Interesting issue

Did you mount the BD first in your finder?

Re: Blu-ray on mac

Posted: 26 Jan 2012 14:34
by dandu
Yes, i can mount the Blu-ray.

The second test was made with a Blu-ray demo (x264) and i burn myself the Blu-ray

Re: Blu-ray on mac

Posted: 26 Jan 2012 14:48
by Jean-Baptiste Kempf
Did you try opening the mounted folder and not the device?

Re: Blu-ray on mac

Posted: 26 Jan 2012 15:00
by dandu
Like with "bluray:///Volumes/"x264 Demo Blu-ray" ?

I have the same error, VLC try to open /dev/rdisk2

Re: Blu-ray on mac

Posted: 26 Jan 2012 15:08
by Jean-Baptiste Kempf
Yes.

Re: Blu-ray on mac

Posted: 26 Jan 2012 15:14
by dandu
Why VLC use /dev/rdisk instead /dev/disk ?

Re: Blu-ray on mac

Posted: 26 Jan 2012 15:25
by Jean-Baptiste Kempf
No idea. The bluray module can only read folders and not raw devices.

Re: Blu-ray on mac

Posted: 30 Jan 2012 21:10
by dandu
It's strange : on my MacBook Pro, i can't read Blu-ray.

With the MacBook from my colleague, it works with a demo Blu-ray (x264 Demo) and the same USB reader.

Re: Blu-ray on mac

Posted: 30 Jan 2012 23:01
by Jean-Baptiste Kempf
Funny. Same OSX version? Same VLC version? (Sorry to state the obvious)
Can you share message logs of those 2 playback?

Re: Blu-ray on mac

Posted: 30 Jan 2012 23:38
by dandu
Same OS X version (10.7.2), same VLC version i suppose.

I try tomorrow (it's very slow on a old MacBook)

Re: Blu-ray on mac

Posted: 03 Feb 2012 15:55
by dandu
OK, i try on the other Mac : impossible to reproduce : i can't read Blu-ray.

When i try to read a BDMV folder, same error.

When i try to read directly the m2ts into the stream folder : it works, but very slowly, with buffering.

Re: Blu-ray on mac

Posted: 06 Feb 2012 18:02
by Jean-Baptiste Kempf
You should be able to play simple BDMV folder directly by open bluray:///path/to/folder/BDMV/..

Re: Blu-ray on mac

Posted: 06 Feb 2012 20:12
by dandu
i have the same message :

libbluray debug: Selecting Title -536870912
libbluray error: cannot select bd title '0'
libbluray error: Could not set the title -1
main debug: no access_demux module matching "bluray" could be loaded
main debug: TIMER module_need() : 0.647 ms - Total 0.647 ms / 1 intvls (Avg 0.647 ms)
main debug: creating access 'bluray' location='/dev/rdisk2', path='/dev/rdisk2'
main debug: looking for access module: 0 candidates
main debug: no access module matched "bluray"
main debug: TIMER module_need() : 0.119 ms - Total 0.119 ms / 1 intvls (Avg 0.119 ms)
main error: open of `bluray:///dev/rdisk2' failed
main debug: dead input
main debug: Destroying the input for 'x264 Demo Blu-ray'
main debug: TIMER input launching for 'x264 Demo Blu-ray' : 18.627 ms - Total 18.627 ms / 1 intvls (Avg 18.627 ms)
main debug: changing item without a request (current 2/3)
main debug: nothing to play

Re: Blu-ray on mac

Posted: 07 Feb 2012 00:24
by Jean-Baptiste Kempf
You are not opening a folder...

Re: Blu-ray on mac

Posted: 07 Feb 2012 10:19
by dandu
I try, i write the name of the folder (like Volumes/blabla/BDMV) but VLC try to open the /dev/rdisk2

Re: Blu-ray on mac

Posted: 07 Feb 2012 13:05
by Jean-Baptiste Kempf
main debug: creating access 'bluray' location='/dev/rdisk2', path='/dev/rdisk2'

means bluray:///dev/rdisk2 was entered... It can be a GUI bug too, btw.

Can you run it command line?

Re: Blu-ray on mac

Posted: 08 Feb 2012 09:42
by dandu
Good news !

With command line, it works.

With the Interface, VLC try to open /dev/rdisk2

But if i force to use /Volumes/x264\ Demo\ Blu-ray with command line, it works. It's slow, but it works.

I try with a commercial Blu-ray

Re: Blu-ray on mac

Posted: 08 Feb 2012 09:53
by Jean-Baptiste Kempf
Is it a slow start or?

Re: Blu-ray on mac

Posted: 08 Feb 2012 11:25
by dandu
slow to start and slow with the video, because it's a old Blu-ray reader (a 2x reader for notebook)

And i can't reade protected Blu-ray. I put the right library (i think) into VLC, but i have this message : Ce disque Blu-Ray a besoin d'une bibliothèque de décodage AACS, et votre système ne l'a pas.

Re: Blu-ray on mac

Posted: 08 Feb 2012 19:27
by Jean-Baptiste Kempf
yes, AACS is not ported to Macs, AFAIK.

Re: Blu-ray on mac

Posted: 14 Feb 2012 13:12
by dandu
With the last version of VLC, it works !

Re: Blu-ray on mac

Posted: 14 Feb 2012 18:36
by uncola
dando can you post the command line to open a blu-ray?

Re: Blu-ray on mac

Posted: 14 Feb 2012 18:37
by Jean-Baptiste Kempf
\o/

Yes, I discussed with Felix so he could fix the GUI.