Blu-ray playback libraries for encrypted discs (libaacs and libbdplus)?

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
RockerC Offline
Posting Freak
Posts: 1,351
Joined: May 2011
Reputation: 23
Lightbulb  Blu-ray playback libraries for encrypted discs (libaacs and libbdplus)?
Post: #1
@ace, do you think that the mainlining plan will also include adding libaacs and libbdplus libraries as well as the libbluray library in the master branch?

I mean will Kodi in the future also be built with libaacs and libbdplus by default kind-of similar to how Kodi is already built with libdvdss by default?

To clarify, I'm not asking for an ETA when those will be added but if they will actually be added at all.

http://www.videolan.org/developers/libaacs.html

https://www.videolan.org/developers/libbdplus.html

Kodi already include libdvdcss to playback encrypted DVD-Video, and AACS / BD+ is really Blu-ray Disc encryption equal to DVD CSS for DVD-Video.

Main difference is Kodi will decrypt encrypted Bluray Discs with libaacs and libbdplus libraries alone, as users then need to provide a file with keys.
(This post was last modified: 2016-08-18 09:23 by RockerC.)
find quote
jjd-uk Offline
Team-Kodi Member
Posts: 5,963
Joined: Oct 2011
Reputation: 141
Post: #2
(2015-06-25 12:41)RockerC Wrote:  @ace, do you think that the mainlining plan will also include adding libaacs and libbdplus libraries as well as the libbluray library in the master branch?

I mean will Kodi in the future also be built with libaacs and libbdplus by default kind-of similar to how Kodi is already built with libdvdss by default?

To clarify, I'm not asking for an ETA when those will be added but if they will actually be added at all.

From my non-dev perspective I think the best hope of including libaacs and libbdplus would be if they could be done as binary add-ons (assuming they are not completely impossible to compile for multiple platforms) thus we avoid any legal issues with the Kodi core application.
find quote
da-anda Offline
Team-Kodi Member
Posts: 5,692
Joined: Jun 2009
Reputation: 74
Location: germany
Post: #3
IMO these libs are fine to ship as they don't do anything without any key files
find quote
RockerC Offline
Posting Freak
Posts: 1,351
Joined: May 2011
Reputation: 23
Post: #4
(2015-06-25 14:33)da-anda Wrote:  these libs are fine to ship as they don't do anything without any key files
Correct, these libaacs and libbdplus libraries alone does not decrypt AACS encrypted Blu-ray Disc media and ISOs without additional components (keys), as you would still require to either separately add keys yourself or use a yet an additional library or application such as aacskeys which can download or generate a AACS key on demand.

http://wiki.archlinux.org/index.php/Blu-ray
http://www.labdv.com/aacs/
http://www.labdv.com/aacs/KEYDB.cfg

Though again as Kodi already comes with libdvdcss which decrypts CCS encrypted DVD-Video media I don't see why not could could not also include aacskeys as well to generate AACS keys, but that could otherwise be solved with an addon or third-party application

https://aur.archlinux.org/packages/aacskeys/
http://forum.doom9.org/showthread.php?t=123311
http://cyberside.net.ee/ripping/BD_DeviceKeys/

Also checkout http://forum.kodi.tv/showthread.php?tid=173474&page=6

"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/ "
(This post was last modified: 2016-08-18 09:32 by RockerC.)
find quote
jjd-uk Offline
Team-Kodi Member
Posts: 5,963
Joined: Oct 2011
Reputation: 141
Post: #5
Irrespective of the potential legal issues, I think binary add-ons would still be best as it would allow bumping of the version used between kodi releases, in fact I also wonder if libbluray could also be a binary add-on for ease of bumping since it's a rapidly developing library.
(This post was last modified: 2015-06-25 15:27 by jjd-uk.)
find quote
Ace Offline
Team-Kodi Member
Posts: 757
Joined: Aug 2012
Reputation: 26
Location: Germany
Post: #6
Relevance to bd-j?
find quote
jjd-uk Offline
Team-Kodi Member
Posts: 5,963
Joined: Oct 2011
Reputation: 141
Post: #7
Split this off as Ace rightly pointed out it's not directly related to bd-j
find quote
nalor Offline
Senior Member
Posts: 103
Joined: Oct 2013
Reputation: 0
Post: #8
Just want to note that I would greatly appreciate if libaacs and libbdplus libraries could be included directly into kodi Smile
find quote
Lamerjack Offline
Junior Member
Posts: 49
Joined: Sep 2013
Reputation: 1
Post: #9
Somebody on windows had success with libraries newer than libaacs-0.7.1 and libbdplus-0.1.1?
I try with llibaacs 0.8.1, libbdplus 0.1.2 but Kodi hangs.
find quote
Ace Offline
Team-Kodi Member
Posts: 757
Joined: Aug 2012
Reputation: 26
Location: Germany
Post: #10
Where are these libs from?
find quote
Lamerjack Offline
Junior Member
Posts: 49
Joined: Sep 2013
Reputation: 1
Post: #11
(2015-11-09 13:00)Ace Wrote:  Where are these libs from?
I try to compile myself... but with no success..
so i got from there:
http://forum.doom9.org/showthread.php?p=1743981
the post of 30 october at 11:00.
With vlc works but not with kodi.
find quote
Wanilton Offline
Donor
Posts: 2,918
Joined: Jun 2010
Reputation: 149
Location: Brazil (GMT -3)
Post: #12
Better wait for proper DLL by Ace. Try here and donĀ“t work.

MediaBrazil forum - Youtube Channel
Windows 10 - Kodi 18 Leia - MQ 7 - 2.3.0 - Aeon MQ Team
Wanilton Website - MarcosQui Website


(This post was last modified: 2015-11-09 18:00 by Wanilton.)
find quote
Ace Offline
Team-Kodi Member
Posts: 757
Joined: Aug 2012
Reputation: 26
Location: Germany
Post: #13
I have no plans for providing them Wink. But they should ofc work with kodi's libbluray... btw I've briefly tested 0.9.0 last week, meanwhile we have 0.9.1, so please be patient.
find quote
sectune Offline
Donor
Posts: 64
Joined: Mar 2012
Reputation: 0
Post: #14
Hi,

just a short question regarding compiling the latest jarvis with libbluray as I am very much interested in testing the actual status of bd-j menus in kodi. I have read that jarvis includes the 0.81 libbluray already but this is not enabled by default. What I would like to do is to compile libbluray 0.9.2 from git and compile jarvis with enabled libbluray option.

1) How do I make sure that my compiled libbluray is taken and not the outdated one from jarvis?
2) are the build instructions from this thread still applicable? (besides not using Aces' build and using the dafault jarvis build instead)

Sorry for the noob question - what I would like is to achive a custom jarvis build, enabled with the most actual libbluray from git.

I would really appreciate some guidance. Thank you a lot in advance!

P.S: I am on x64 windows10 and want to build for that
(This post was last modified: 2015-12-08 16:14 by sectune.)
find quote
RockerC Offline
Posting Freak
Posts: 1,351
Joined: May 2011
Reputation: 23
Post: #15
Please, could maybe Team Kodi reconsider including libaacs and libbdplus (for libbluray) in future Kodi releases? The reason for this is again because with libbluray compiled with support for these libraries and including them in official build releases then Kodi could be made to playback encrypted Blu-ray Discs without changing any code.

Kodi will still not playback encrypted Blu-ray Discs out-out-the-box with this change, but it does add the potential for allowing Kodi to playback encrypted Blu-ray. User will still need to add a config file with unique AACS keys (which users could easily do manually themselfes or have an addon without recompiling).

More people discussing and requesting this here:

http://forum.kodi.tv/showthread.php?tid=173474
http://forum.kodi.tv/showthread.php?tid=67420
http://forum.kodi.tv/showthread.php?tid=274319
(This post was last modified: 2016-08-18 09:33 by RockerC.)
find quote
Post Reply