VLC 1.2 and Blu-ray on Mac OSX Lion

macOS specific usage questions
Pat99
New Cone
New Cone
Posts: 5
Joined: 24 Sep 2011 23:00

VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Pat99 » 24 Sep 2011 23:37

Hi,

I saw some references to VLC 1.2 supporting Blu-ray and decided to give a try to latest nightly build:
- MacBook Air July 2011 with MacOSX Lion
- USB Blu-ray reader: MATSHITA BD-CMB UJ141AL
- VLC 1.2 from vlc-git-intel-20110924-0009.zip and vlc-git-intel64-20110924-0110.zip (same result with 32 or 64 bits versions)

Steps:
1/ launch VLC 1.2
2/ click on "Open media..."
3/ click on "Disc"
4/ Select Blu-ray title from menu (here "DEPECHE_MODE_DISC1")
5/ click "Open"
=> Playlist appears with yellow triangle on left of "DEPECHE_MODE_DISC1"
6/ double-click on "DEPECHE_MODE_DISC1"
=> Error message: "Your input can't be opened. VLC is unable to open the MRL 'bluray:///dev/rdisk3'. Check the logs for details"

I do not know if it is the current expected behavior at this stage with VLC 1.2 but I do have the hardware to make some tests if needed.

My 2 cents,

Patrice

Full log:
main debug: using interface module "macosx"
main debug: TIMER module_need() : 146.373 ms - Total 146.373 ms / 1 intvls (Avg 146.373 ms)
main debug: playlist threads correctly activated
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 0 items, index -1
main debug: no fetch required for (null) (art currently (null))
main debug: looking for services probe module: 5 candidates
main debug: no services probe module matching "any" could be loaded
main debug: TIMER module_need() : 1.941 ms - Total 1.941 ms / 1 intvls (Avg 1.941 ms)
main debug: looking for services probe module: 5 candidates
main debug: no services probe module matching "any" could be loaded
main debug: TIMER module_need() : 0.259 ms - Total 0.259 ms / 1 intvls (Avg 0.259 ms)
macosx debug: using future AR cookies
macosx debug: Found 1 capture devices
main debug: looking for services probe module: 5 candidates
main debug: no services probe module matching "any" could be loaded
main debug: TIMER module_need() : 0.295 ms - Total 0.295 ms / 1 intvls (Avg 0.295 ms)
macosx warning: unknown disk type, no idea what to display
macosx warning: unknown disk type, no idea what to display
main debug: adding item `DEPECHE_MODE_DISC1' ( bluray:///dev/rdisk3 )
main debug: rebuilding array of current - root Playlist
main debug: Creating an input for 'DEPECHE_MODE_DISC1'
main debug: rebuild done - 1 items, index -1
main debug: no fetch required for (null) (art currently (null))
main debug: processing request item: DEPECHE_MODE_DISC1, node: Playlist, skip: 0
main debug: resyncing on DEPECHE_MODE_DISC1
main debug: DEPECHE_MODE_DISC1 is at 0
main debug: starting playback of the new playlist item
main debug: creating new input thread
main debug: Creating an input for 'DEPECHE_MODE_DISC1'
main debug: using timeshift granularity of 50 MiB, in path '/tmp'
main debug: `bluray:///dev/rdisk3' gives access `bluray' demux `' path `/dev/rdisk3'
main debug: creating demux: access='bluray' demux='' location='/dev/rdisk3' file='/dev/rdisk3'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "bluray"
main debug: TIMER module_need() : 0.114 ms - Total 0.114 ms / 1 intvls (Avg 0.114 ms)
main debug: creating access 'bluray' location='/dev/rdisk3', path='/dev/rdisk3'
main debug: looking for access module: 0 candidates
main debug: no access module matched "bluray"
main debug: TIMER module_need() : 0.124 ms - Total 0.124 ms / 1 intvls (Avg 0.124 ms)
main error: open of `bluray:///dev/rdisk3' failed
main debug: finished input
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Jean-Baptiste Kempf » 25 Sep 2011 21:29

It means the bluray modules isn't compiled in your version of VLC :D
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Pat99
New Cone
New Cone
Posts: 5
Joined: 24 Sep 2011 23:00

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Pat99 » 25 Sep 2011 22:11

Makes sense :-)

I'll give a try at compiling my own version with bluray module... and will report my results.

Thanks,

Patrice

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Jean-Baptiste Kempf » 25 Sep 2011 22:13

Great. COme on IRC!
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Pat99
New Cone
New Cone
Posts: 5
Joined: 24 Sep 2011 23:00

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Pat99 » 27 Sep 2011 04:03

Successfully built VLC 1.2 using the following:

Code: Select all

git clone git://git.videolan.org/vlc.git --depth 1 cd vlc TARGET=x86_64-apple-darwin10 export CC=/Developer/usr/bin/llvm-gcc-4.2 export CXX=/Developer/usr/bin/llvm-g++-4.2 export OBJC=/Developer/usr/bin/llvm-gcc-4.2 cd extras/contrib ./bootstrap -t $TARGET make cd ../.. ./bootstrap ./configure --enable-debug --build=$TARGET --with-macosx-sdk=/Developer/SDKs/MacOSX10.7.sdk --enable-macosx --disable-nls ./compile
Tried the same with --enable-bluray and it failed (did not find how to activate auto-download/build of contrib/src/bluray). I downloaded and built independently libbluray and libaacs (and aacskeys and dumphd...) and started investigating more overall Blu-ray support on MacOSX independently of VLC...

It looks like the only solution to reliably read Blu-ray at this time is by using MakeMKV (non-free) to stream to VLC. Libbluray+libaacs seem to be insufficient with my current hardware (recent non-patchable Blu-ray reader revoking available keys).

I would be more than happy to help but it does not look like VLC will be able to play Blu-ray on my current configuration any time soon so there is probably no point in integrating the components since I can not prove it works at this time...

Am I wrong? Should I move the discussion to IRC :-) ?

BTW: I do not NEED to play Blu-ray movies on this computer but I'm just curious about open support for Blu-ray...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Jean-Baptiste Kempf » 27 Sep 2011 21:53

Am I wrong? Should I move the discussion to IRC :-) ?
Yes, to both :D
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

TheSmokeMonster
Blank Cone
Blank Cone
Posts: 10
Joined: 22 Jul 2011 17:15

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby TheSmokeMonster » 29 Sep 2011 03:20

You would be my hero if you figured out how to get blu-ray support (menu's/the BDMV folder) on VLC!

kethinov
New Cone
New Cone
Posts: 3
Joined: 30 Sep 2011 13:52

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby kethinov » 30 Sep 2011 13:59

I too am trying to get VLC 1.2 + libbluray working in OSX. I tried seeking help on IRC but no one was available, so I'll post here instead.

Here are the steps I followed so far.

Code: Select all

git clone git://git.videolan.org/libbluray.git cd libbluray ./bootstrap ./configure make sudo make install git clone git://git.videolan.org/vlc.git --depth 1 cd vlc TARGET=x86_64-apple-darwin10 export CC=/Developer/usr/bin/llvm-gcc-4.2 export CXX=/Developer/usr/bin/llvm-g++-4.2 export OBJC=/Developer/usr/bin/llvm-gcc-4.2 cd extras/contrib ./bootstrap -t $TARGET make cd ../.. ./bootstrap ./configure --enable-debug --build=$TARGET --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk --enable-macosx --disable-nls --enable-bluray=/usr/local/lib ./compile
These steps succeed in producing a build of VLC ostensibly with libbluray enabled, but when I try to play an unencrypted disk, I get "macosx warning: unknown disk type, no idea what to display" along with "main error: open of `bluray:///Volumes/TEST_DISK/BDMV' failed."

My test disk plays in commercial blu-ray players for Windows, so I do not believe the disk is faulty.

Any advice?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Jean-Baptiste Kempf » 30 Sep 2011 18:30

please share the full logs with playback of VLC.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kethinov
New Cone
New Cone
Posts: 3
Joined: 30 Sep 2011 13:52

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby kethinov » 30 Sep 2011 21:24

Sure thing - wasn't sure if that was considered spammy so I withheld. :)

Here they are:

Code: Select all

main debug: using interface module "macosx" main debug: TIMER module_need() : 125.413 ms - Total 125.413 ms / 1 intvls (Avg 125.413 ms) main debug: playlist threads correctly activated main debug: rebuilding array of current - root Playlist main debug: rebuild done - 0 items, index -1 main debug: no fetch required for (null) (art currently (null)) main debug: looking for services probe module: 5 candidates main debug: no services probe module matching "any" could be loaded main debug: TIMER module_need() : 2.112 ms - Total 2.112 ms / 1 intvls (Avg 2.112 ms) main debug: looking for services probe module: 5 candidates main debug: no services probe module matching "any" could be loaded main debug: TIMER module_need() : 0.341 ms - Total 0.341 ms / 1 intvls (Avg 0.341 ms) macosx debug: using Snow Leopard AR cookies macosx debug: Found 1 capture devices main debug: looking for services probe module: 5 candidates main debug: no services probe module matching "any" could be loaded main debug: TIMER module_need() : 0.454 ms - Total 0.454 ms / 1 intvls (Avg 0.454 ms) macosx warning: unknown disk type, no idea what to display macosx warning: unknown disk type, no idea what to display macosx warning: unknown disk type, no idea what to display macosx warning: unknown disk type, no idea what to display macosx warning: unknown disk type, no idea what to display main debug: adding item `BDMV' ( bluray:///Volumes/TEST_DISK/BDMV ) main debug: rebuilding array of current - root Playlist main debug: Creating an input for 'BDMV' main debug: rebuild done - 1 items, index -1 main debug: no fetch required for (null) (art currently (null)) main debug: processing request item: BDMV, node: Playlist, skip: 0 main debug: resyncing on BDMV main debug: BDMV is at 0 main debug: starting playback of the new playlist item main debug: creating new input thread main debug: Creating an input for 'BDMV' main debug: using timeshift granularity of 50 MiB, in path '/tmp' main debug: `bluray:///Volumes/TEST_DISK/BDMV' gives access `bluray' demux `' path `/Volumes/TEST_DISK/BDMV' main debug: creating demux: access='bluray' demux='' location='/Volumes/TEST_DISK/BDMV' file='/Volumes/TEST_DISK/BDMV' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "bluray" main debug: TIMER module_need() : 0.183 ms - Total 0.183 ms / 1 intvls (Avg 0.183 ms) main debug: creating access 'bluray' location='/Volumes/TEST_DISK/BDMV', path='/Volumes/TEST_DISK/BDMV' main debug: looking for access module: 0 candidates main debug: no access module matched "bluray" main debug: TIMER module_need() : 0.102 ms - Total 0.102 ms / 1 intvls (Avg 0.102 ms) main error: open of `bluray:///Volumes/TEST_DISK/BDMV' failed main debug: finished input main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play

Pat99
New Cone
New Cone
Posts: 5
Joined: 24 Sep 2011 23:00

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Pat99 » 01 Oct 2011 03:05

Looks to me like you are stuck at the same place: <no access_demux module matched "bluray"> seems to say that the bluray module is not built/loaded even with --enable-bluray and no error during compile.

Also on mine, vlc --list or vlc -p bluray do not list any bluray module.

My logs trying to read a local decrypted copy of a blu-ray disk follow. I'll try to spend some time on IRC.

Code: Select all

main debug: using interface module "macosx" main debug: TIMER module_need() : 125.734 ms - Total 125.734 ms / 1 intvls (Avg 125.734 ms) main debug: playlist threads correctly activated main debug: rebuilding array of current - root Playlist main debug: rebuild done - 0 items, index -1 main debug: looking for services probe module: 5 candidates main debug: no services probe module matching "any" could be loaded main debug: TIMER module_need() : 1.289 ms - Total 1.289 ms / 1 intvls (Avg 1.289 ms) macosx debug: using future AR cookies main debug: no fetch required for (null) (art currently (null)) main debug: looking for services probe module: 5 candidates main debug: no services probe module matching "any" could be loaded main debug: TIMER module_need() : 0.241 ms - Total 0.241 ms / 1 intvls (Avg 0.241 ms) macosx debug: Found 1 capture devices main debug: looking for services probe module: 5 candidates main debug: no services probe module matching "any" could be loaded main debug: TIMER module_need() : 0.379 ms - Total 0.379 ms / 1 intvls (Avg 0.379 ms) macosx warning: unknown disk type, no idea what to display macosx warning: unknown disk type, no idea what to display macosx warning: unknown disk type, no idea what to display main debug: adding item `BDMV' ( bluray:///Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV ) main debug: rebuilding array of current - root Playlist main debug: Creating an input for 'BDMV' main debug: rebuild done - 1 items, index -1 main debug: no fetch required for (null) (art currently (null)) main debug: processing request item: BDMV, node: Playlist, skip: 0 main debug: resyncing on BDMV main debug: BDMV is at 0 main debug: starting playback of the new playlist item main debug: creating new input thread main debug: Creating an input for 'BDMV' main debug: using timeshift granularity of 50 MiB, in path '/tmp' main debug: `bluray:///Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' gives access `bluray' demux `' path `/Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' main debug: creating demux: access='bluray' demux='' location='/Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' file='/Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "bluray" main debug: TIMER module_need() : 0.123 ms - Total 0.123 ms / 1 intvls (Avg 0.123 ms) main debug: creating access 'bluray' location='/Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV', path='/Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' main debug: looking for access module: 0 candidates main debug: no access module matched "bluray" main debug: TIMER module_need() : 0.075 ms - Total 0.075 ms / 1 intvls (Avg 0.075 ms) main error: open of `bluray:///Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' failed main debug: finished input main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play
Last edited by Pat99 on 01 Oct 2011 23:07, edited 1 time in total.

kethinov
New Cone
New Cone
Posts: 3
Joined: 30 Sep 2011 13:52

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby kethinov » 01 Oct 2011 21:57

Maybe there's a problem with the configure script if "--enable-bluray=/usr/local/lib" doesn't appear to work as advertised.

I wonder if it's a regression? Are older nightlies known to work?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Jean-Baptiste Kempf » 03 Oct 2011 15:34

No. --enable-bluray is not --enable-bluray=/usr/local/lib
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Pat99
New Cone
New Cone
Posts: 5
Joined: 24 Sep 2011 23:00

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Pat99 » 03 Oct 2011 23:25

This:

Code: Select all

PKG_CONFIG_PATH=~/Desktop/Works/libbluray/src ./configure --enable-debug --build=$TARGET --with-macosx-sdk=/Developer/SDKs/MacOSX10.7.sdk --enable-macosx --disable-nls --enable-bluray
... generate a build with libbluray included as shown below:

Code: Select all

$ ./vlc --list | grep bluray VLC media player 1.2.0-git Twoflower (revision 3aed491) libbluray Blu-Ray Disc support (libbluray)
But trying to read a decrypted copy of a bluray disk (I own! using MakeMKV) does not work and generate the log below:

Code: Select all

main debug: using interface module "macosx" main debug: TIMER module_need() : 155.719 ms - Total 155.719 ms / 1 intvls (Avg 155.719 ms) main debug: playlist threads correctly activated main debug: rebuilding array of current - root Playlist main debug: rebuild done - 0 items, index -1 main debug: no fetch required for (null) (art currently (null)) main debug: looking for services probe module: 5 candidates main debug: no services probe module matching "any" could be loaded main debug: TIMER module_need() : 2.479 ms - Total 2.479 ms / 1 intvls (Avg 2.479 ms) main debug: looking for services probe module: 5 candidates main debug: no services probe module matching "any" could be loaded main debug: TIMER module_need() : 0.241 ms - Total 0.241 ms / 1 intvls (Avg 0.241 ms) macosx debug: using future AR cookies macosx debug: Found 1 capture devices main debug: looking for services probe module: 5 candidates main debug: no services probe module matching "any" could be loaded main debug: TIMER module_need() : 0.265 ms - Total 0.265 ms / 1 intvls (Avg 0.265 ms) macosx warning: unknown disk type, no idea what to display macosx warning: unknown disk type, no idea what to display macosx warning: unknown disk type, no idea what to display main debug: adding item `BDMV' ( bluray:///Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV ) main debug: Creating an input for 'BDMV' main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: no fetch required for (null) (art currently (null)) main debug: processing request item: BDMV, node: Playlist, skip: 0 main debug: resyncing on BDMV main debug: BDMV is at 0 main debug: starting playback of the new playlist item main debug: creating new input thread main debug: Creating an input for 'BDMV' main debug: using timeshift granularity of 50 MiB, in path '/tmp' main debug: `bluray:///Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' gives access `bluray' demux `' path `/Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' main debug: creating demux: access='bluray' demux='' location='/Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' file='/Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' main debug: looking for access_demux module: 1 candidate libbluray: First play: 0, Top menu: 0 HDMV Titles: 0, BD-J Titles: 0, Other: 0 libbluray debug: Selecting Title -536868872 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.535 ms - Total 0.535 ms / 1 intvls (Avg 0.535 ms) main debug: creating access 'bluray' location='/Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV', path='/Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' main debug: looking for access module: 0 candidates main debug: no access module matched "bluray" main debug: TIMER module_need() : 0.192 ms - Total 0.192 ms / 1 intvls (Avg 0.192 ms) main error: open of `bluray:///Users/patrice/Downloads/DEPECHE_MODE_DISC1/BDMV' failed main debug: finished input main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.2 and Blu-ray on Mac OSX Lion

Postby Jean-Baptiste Kempf » 03 Oct 2011 23:55

libbluray: First play: 0, Top menu: 0
HDMV Titles: 0, BD-J Titles: 0, Other: 0
libbluray debug: Selecting Title -536868872
libbluray error: cannot select bd title '0'
libbluray error: Could not set the title -1
Libbluray loads and finds no title/chapter to play... So it doesn't play...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 23 guests