Page 1 of 1

Adding Blu-ray support to VLC

Posted: 28 Nov 2011 00:59
by FlamingFirewire
Would it be realistic to expect blu-ray support in VLC in the future? It lists that VLC can read blu-ray discs, but after trying to watch commercial blu-rays with VLC they are not recognized at all. So is this a possibility, or not?

Re: Adding Blu-ray support to VLC

Posted: 28 Nov 2011 01:04
by Jean-Baptiste Kempf
VLC 1.2 can do it, with some tweaks.

Re: Adding Blu-ray support to VLC

Posted: 28 Nov 2011 03:46
by huynhvx
Where can one get VLC 1.2? And what kind of tweaks are necessary to make it work on a BD?

Re: Adding Blu-ray support to VLC

Posted: 28 Nov 2011 09:32
by Jean-Baptiste Kempf
Nightly Build of VLC
You need to add libaacs.dll and the right key file.

Re: Adding Blu-ray support to VLC

Posted: 29 Nov 2011 05:16
by FlamingFirewire
Thanks alot, can't wait for the full release and full support!

Re: Adding Blu-ray support to VLC

Posted: 20 Dec 2011 00:40
by Arite
Nightly Build of VLC
You need to add libaacs.dll and the right key file.
How would one go about compiling libaacs.dll for Windows?

I (believe I) managed to compile libaacs under Cygwin for a mingw32 host, however presumably that isn't much use when used in conjunction with VLC. I did attempt cross-compiling from Debian but was unsuccessful; and again just compiling libaacs probably wouldn't be enough.

Thanks,

Arite.

Re: Adding Blu-ray support to VLC

Posted: 20 Dec 2011 14:43
by Jean-Baptiste Kempf
Nightly Build of VLC
You need to add libaacs.dll and the right key file.
How would one go about compiling libaacs.dll for Windows?

I (believe I) managed to compile libaacs under Cygwin for a mingw32 host, however presumably that isn't much use when used in conjunction with VLC. I did attempt cross-compiling from Debian but was unsuccessful; and again just compiling libaacs probably wouldn't be enough.

Thanks,

Arite.
Put the libaacs.dll file in the VLC folder and put the key file in %appdata%/aacs

Re: Adding Blu-ray support to VLC

Posted: 21 Dec 2011 01:10
by Arite
Thanks :). Should compiling using MinGW/doing a linux cross-compile produce a libaacs.dll?

Arite.

Re: Adding Blu-ray support to VLC

Posted: 21 Dec 2011 01:11
by Jean-Baptiste Kempf
yes

Re: Adding Blu-ray support to VLC

Posted: 21 Dec 2011 02:04
by Arite
Apologies for probably asking silly questions - but how do you make a DLL using MinGW :P? Compiling libaacs (on Windows using MinGW32/MSYS with libgcrypt and libgpg-error installed) generates a vairety of *.a, *.la libaacs files and things such as libaacs_test.exe.

Thanks again,

Arite.

Re: Adding Blu-ray support to VLC

Posted: 21 Dec 2011 02:32
by Jean-Baptiste Kempf
Did you look at .libs?

Re: Adding Blu-ray support to VLC

Posted: 21 Dec 2011 02:39
by Arite
Yeh - here's the contents of src/.libs:

Code: Select all

aacs.o crypto.o file_posix.o keydbcfg-lexer.o keydbcfg-parser.o keydbcfg.o libaacs.a libaacs.la libaacs.lai logging.o mkb.o mmc.o strutl.o win32.o
Arite.

Re: Adding Blu-ray support to VLC

Posted: 22 Dec 2011 19:03
by TheFalcon
So if I compile and use newest beta VLC it will support Blu ray with genuine quality?

Also with menu etc?

Re: Adding Blu-ray support to VLC

Posted: 22 Dec 2011 21:21
by Jean-Baptiste Kempf
Yes, no menu.

Re: Adding Blu-ray support to VLC

Posted: 17 Jan 2012 04:24
by Sprinkler
Yeh - here's the contents of src/.libs:

Code: Select all

aacs.o crypto.o file_posix.o keydbcfg-lexer.o keydbcfg-parser.o keydbcfg.o libaacs.a libaacs.la libaacs.lai logging.o mkb.o mmc.o strutl.o win32.o
Arite.
same problem here with cygwin
any updates on that or workarounds?

Re: Adding Blu-ray support to VLC

Posted: 11 Mar 2012 14:43
by tittbit
sorry for that but doing all this is very complicated but i can do that, still i am asking that any latest update that can do it automatically

Re: Adding Blu-ray support to VLC

Posted: 12 Mar 2012 02:35
by Arite
If you have VLC 2.0:
http://vlc-bluray.whoknowsmy.name/

Arite.

Re: Adding Blu-ray support to VLC

Posted: 19 Mar 2012 16:08
by hajj_3
i get this message on win7 x64 using vlc 2.0.1:

Code: Select all

Blu-Ray error: This Blu-Ray Disc needs a library for AACS decoding, and your system does not have it. Your input can't be opened: VLC is unable to open the MRL 'bluray:///F:/'. Check the log for details.
I have put the libaacs.dll in: C:\Program Files (x86)\VideoLAN\VLC and the KEYDB.cfg in C:\Users\hajj_3\AppData\aacs but it just isn't working, trying to play a bluray disc btw not an .iso or bluray video file. Hoping that it will be able to play the main movie file off the disc as vlc doesn't support menu's yet.

Re: Adding Blu-ray support to VLC

Posted: 18 Jun 2012 17:44
by Arite
Have you added KEYDB.cfg to %APPDATA%\aacs (type into Windows Explorer address bar to get to it)?

What error messages are you getting etc.?

If you have a 64-bit version of Windows see here (32-bit version should work with x86 VLC, but can try 64-bit/x64 version if it's not working):
viewtopic.php?f=14&t=96787&start=60#p342573

Arite.

Re: Adding Blu-ray support to VLC

Posted: 18 Jun 2012 17:48
by hajj_3
hopefully someone will create an installer for bluray capability which will include keydb.cfg etc.