• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 9
Linux Linux now has a completely working libaacs and libbdplus option.
#76
Sorry I really don't know. My bluray player has died. I just took up the challenge of compiling an updated makemkv into the addon.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#77
(2014-10-09, 20:53)nickr Wrote: Sorry I really don't know. My bluray player has died. I just took up the challenge of compiling an updated makemkv into the addon.

Ah ok, so as far as i know we nove have to replace the libaacs library of the RO openelec filesystem with a symlink pointing to the library of your new compiled addon and then see if native bluray playback works

Anyone know of an easy way to edit the ro filesystem? i found the addon mksquashfs but it wont install.
http://wiki.openelec.tv/index.php?title=...-on_how-to
Reply
#78
Hey,
ok was bored a bit today and tinkered arround more with this.

I used a linux live system to edit openelec 4.2.1 filesystem, removed the libaacs library and symlinks and replaced them with new symlinks to the libmmd library of the makemkv addon.

updated my openelec box with this modified SYSTEM Image and tried to play some dics.. still no luck

Here is the full debug output:
http://pastebin.com/qEqANTap

i tried makemkv for streaming to my desktop and this works fine. So is problem is not makemkv.

My guess is its related to this:
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:82: AACS/Unit_Key_RO.inf found. Disc seems to be AACS protected.
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:103: Using libaacs for AACS
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:123: Loading aacs library (0x7fb1fc038a50)
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:138: Loaded libaacs (0x7fb1fc038a50)
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:141: Registering libaacs filesystem handler 0x93d992 (0x7fb1fc038a50)
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - dl_posix.c:101: dlsym(0x7fb1fc038a50, 'aacs_register_file') failed: /usr/lib/libaacs.so.0: undefined symbol: aacs_register_file
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:272: get_aacs_data(): libaacs not initialized!
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - bluray.c:862: aacs_open() failed!
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray - Error opening file! (0x7fb1fc0d9d20

but i dont now what exactly is the problem, maybe its related to the openssl bug:
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=7370

The only reference i find on google searching for this error is this thread a few pages back Sad



UPDATE:
WHOOO GOT IT WORKING!!!

This post was the missing piece:
http://openelec.tv/forum/128-addons/6705...rt=0#87088

i edited the SYSTEM Image again and added a symlink for the makemkvcon binary to /usr/bin
My testing Blurays now played fine, initialisation took a bit but its now playing for over 10 minutes without problems.

Funny thing is i still get those errors in the debug log but playback works fine.
Havent had much luck with menus yet but i guess this is related to the missing support for java menus, especially on my openelec system.

UPDATE 2:

Here is a zip file with my modified OpenELEC System, it includes the stock 4.2.1 kernel image + my slightly modified base system.
Copy it to your OpenELEC update folder and restart the System.
https://www.dropbox.com/s/o1lholjicd9hw0...R.zip?dl=0

WARNING:

This image is Generic-x64 only! i dont give any support if this breaks your setup!

You will also need nickrs latest version of the makemkv addon:
http://forum.xbmc.org/showthread.php?tid...pid1806385

Blurays also wont autoplay with stock openelec/xbmc, you have to go to Videos -> Files -> %BLURAY-DISC% -> BDMV and launch the index.bdmv.
With some discs it took a while (20sec) to launch, but this could be because of my crappy br-drive.

i also advise you to launch makemkvcon from ssh once so it will create the necessary config folders.
Reply
#79
I uploaded a new OpenELEC Modification:
https://www.dropbox.com/s/okoycv636nistm...2.zip?dl=0

This one also removes libbdplus and adds the needed symlinks for libmmbd for nickrs plugin, i dont own a bd+ disc so i cant confirm yet if this works as well.
I tried over 10 AACS disc tho and everyone of them played fine.

PS: STILL GENERIC-X64 only! Update at your own RISK!
Reply
#80
Thank you,
Is this possible to provide such a modification as an add-on? I assume that such a pull request would never make it to the OpenElec trunk?
Reply
#81
The problem openelec is facing is that they are concerned about potencial legal issues, they say there is no legal way of watching blurays without decrypting copy protection mechanisims. At least that's what they told me when i asked in their forums for help with makemkv
Reply
#82
im no linux expert but i think my modification is not possible as addon atm. You need to replace files in the base Read Only System which is only possible with a new compile or editing a built squashfs image (like i did).
The openelec devs would have to implement some way to select which libraries to use... i doubt they will be doing this anytime soon, especially because its a modification only to get makemkv working, a program that is technicly illegal in many countries i think.
Reply
#83
I've created a free database of AACS keys and and open-source software to keep local KEYDB.cfg files up-to-date.

I've initialized the database with 998 keys: KEYDB.cfg

You can download AACS Updater source code and hack some paths (looking for #if defined(WIN32)).

Project page: http://www.labdv.com/aacs/
Reply
#84
(2014-10-10, 17:50)da.schizzle Wrote: Hey,
ok was bored a bit today and tinkered arround more with this.

I used a linux live system to edit openelec 4.2.1 filesystem, removed the libaacs library and symlinks and replaced them with new symlinks to the libmmd library of the makemkv addon.

updated my openelec box with this modified SYSTEM Image and tried to play some dics.. still no luck

Here is the full debug output:
http://pastebin.com/qEqANTap

i tried makemkv for streaming to my desktop and this works fine. So is problem is not makemkv.

My guess is its related to this:
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:82: AACS/Unit_Key_RO.inf found. Disc seems to be AACS protected.
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:103: Using libaacs for AACS
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:123: Loading aacs library (0x7fb1fc038a50)
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:138: Loaded libaacs (0x7fb1fc038a50)
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:141: Registering libaacs filesystem handler 0x93d992 (0x7fb1fc038a50)
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - dl_posix.c:101: dlsym(0x7fb1fc038a50, 'aacs_register_file') failed: /usr/lib/libaacs.so.0: undefined symbol: aacs_register_file
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - libaacs.c:272: get_aacs_data(): libaacs not initialized!
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray::Logger - bluray.c:862: aacs_open() failed!
17:46:18 T:140402346686208 DEBUG: CDVDInputStreamBluray - Error opening file! (0x7fb1fc0d9d20

but i dont now what exactly is the problem, maybe its related to the openssl bug:
http://www.makemkv.com/forum2/viewtopic.php?f=3&t=7370

The only reference i find on google searching for this error is this thread a few pages back Sad



UPDATE:
WHOOO GOT IT WORKING!!!

This post was the missing piece:
http://openelec.tv/forum/128-addons/6705...rt=0#87088

i edited the SYSTEM Image again and added a symlink for the makemkvcon binary to /usr/bin
My testing Blurays now played fine, initialisation took a bit but its now playing for over 10 minutes without problems.

Funny thing is i still get those errors in the debug log but playback works fine.
Havent had much luck with menus yet but i guess this is related to the missing support for java menus, especially on my openelec system.

UPDATE 2:

Here is a zip file with my modified OpenELEC System, it includes the stock 4.2.1 kernel image + my slightly modified base system.
Copy it to your OpenELEC update folder and restart the System.
https://www.dropbox.com/s/o1lholjicd9hw0...R.zip?dl=0

WARNING:

This image is Generic-x64 only! i dont give any support if this breaks your setup!

You will also need nickrs latest version of the makemkv addon:
http://forum.xbmc.org/showthread.php?tid...pid1806385

Blurays also wont autoplay with stock openelec/xbmc, you have to go to Videos -> Files -> %BLURAY-DISC% -> BDMV and launch the index.bdmv.
With some discs it took a while (20sec) to launch, but this could be because of my crappy br-drive.

i also advise you to launch makemkvcon from ssh once so it will create the necessary config folders.

Thanks in advance, but your zip doesnt work if i put it in the update folder, not even when i rename it to the .tr format ..
Reply
#85
(2014-11-08, 18:45)menno Wrote: Thanks in advance, but your zip doesnt work if i put it in the update folder, not even when i rename it to the .tr format ..


unzip it
Reply
#86
Hi All,

Kodi/VLC is able to play bluray discs with libaacs + libbdplus approach if I create ~/.config/aacs dir and copy KEYDB.cfg file into it. Unfortunatelly this solution works only for some of the bluray discs. There are still discs which cannot be played. However MakeMKV application is able to successfully create mkv file from every disc I tried. Does it mean that MakeMKV uses different mechanism for bluray disc decryption? Or rather there is something wrong with my libaacs + libbdplus setup? Thank you.
Reply
#87
Have you done the setup referred to in post 1?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#88
(2015-01-31, 22:44)nickr Wrote: Have you done the setup referred to in post 1?
Yes, I have.
Code:
1. sudo apt-get remove libaacs0 2. cd /usr/lib 3. sudo ln -s libmmbd.so.0 libaacs.so.0 4. sudo ln -s libmmbd.so.0 libbdplus.so.0
Then I had to do
Code:
sudo apt-get install kodi
again, because the step one uninstalled kodi as well. Bluray discs playback has worked since I added KEYDB.cfg file into ~/.config/aacs dir. But as I said only for some discs. For example Lord of the Ring - Fellowship + Two Towers works fine whereas Word War Z or The Wolf of Wall Street doesn't.
Reply
#89
I've been looking at this hoping to give it a go ...
I've upgraded to openelec 5.0.7, so I'm looking to modify the system image myself .. what I can't quite figure out at the moment is how to modify the image using a live CD ? ( could anyone point me in the right direction ? ),
This is the only thing I've come across - > https://sites.google.com/site/andreierde...shfs-howto .. but given I have a fresh download of openelec, ideally I would like to mount that virtually somewhere and modify it ...
Reply
#90
Hi all,

I'm interested in playing bluray disks in Kodi using my linux system, an ubuntu with Kodi 14.2

I want a free way of doing this, with no 30 days of trial, but work with no time limit. I have to clear that free means "free", not "pirated", I'm not interested at all in having an illegal/pirated software.

Can this be archieved using this method? if so, anyone can point me to a tutorial or guide for this.

Many thanks in advance
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 9

Logout Mark Read Team Forum Stats Members Help
Linux now has a completely working libaacs and libbdplus option.1