Working BD-J menu support for Kodi 18.4 or newer, links to a precompiled libbluray
#16
(2019-10-31, 21:00)te36 Wrote: Alas, i can not find anyone who would tell me where to find the MVC patches *sigh*. Oh well, i'll continue hunting.

I think this could be what you are looking for https://github.com/afedchin/xbmc/commits/mvc.v18
Reply
#17
(2019-11-01, 13:38)jjd-uk Wrote:
(2019-10-31, 21:00)te36 Wrote: Alas, i can not find anyone who would tell me where to find the MVC patches *sigh*. Oh well, i'll continue hunting.

I think this could be what you are looking for https://github.com/afedchin/xbmc/commits/mvc.v18 
Yes. I found this going back through the MVC thread.

Alas, the problem is that that MVC "patch" to kodi requires libbluray-1.0.2-mvc-x64-v141, and i can not locate the source for the MVC patch for libbluray-1.0.2. And of course, i would need to try to rebase that patch i can't find to 1.1.2 and figure out how to compile 1.1.2.

One of the functions required by mvc.v18 not in standard libbluray is bd_get_title_mpls, googling that seems to have been introduced by some "libbluray-02-add-mvc-support.patch", but i can not find an authoritative source where it comes from. Supposedly openelec, but i can not find that file on their github, just on some search tool.

*sigh*
Reply
#18
(2019-10-31, 21:16)fandangos Wrote:
(2019-10-31, 21:00)te36 Wrote:
(2019-10-29, 16:21)fandangos Wrote: This is an old thread before I started working my own fork of Kodi.

If you want a complete already compiled package to compile yourself along with Kodi you can get on my github:
https://github.com/fandangos/xbmc/releases/tag/1.1.2
Install instructions already provided on github but there you go:

This is a formed package for libbluray 1.1.2 this can be used instead of the old 1.0.2 when using the download dependencies batch file.

1. Replace the line: libbluray-1.0.2-x64-vc140.7z
with libbluray-1.1.2-x64.7z
on file xbmc-master/project/BuildDependencies/scripts/0_package.target-x64.list

2. Add this package to xbmc-master/project/BuildDependencies/downloads/

3. Compile kodi as explained here:
https://github.com/xbmc/xbmc/blob/master...Windows.md

This is aimed for Windows x64 only and you can use this package with Kodi 18 if you want to. 


My fork named Kodi HDR Edition already incorporates libbluray 1.1.2 to Kodi 19 nightly. 
Thread here: 
https://forum.kodi.tv/showthread.php?tid=345566

Latest release here:
https://github.com/fandangos/xbmc/releases/tag/2.9.1

As explained in the other thread HDR can't be incorporated in Kodi prior to 19
Link here:
https://forum.kodi.tv/showthread.php?tid...pid2895473

Hope this helps. 
Great info, thanks. I have not yet gotten into HDR due to the absence of a HDR capable display, but i am lurking for a new projector for christmas that would be able to do HDR.

Meanwhile i am trying to figure out how i can build an MVC version of Kodi together with latest libbluray, so your pointer is very welcome wrt. to compiling new libbluray. Alas, i can not find anyone who would tell me where to find the MVC patches *sigh*. Oh well, i'll continue hunting. 

I don't own a 3D display and even at the dolby cinema in Eindhoven I felt it wasn't that exciting maybe I'm part of the population that can't see 3D effects.

So, as far as I know MVC can't be integrated with Kodi 19.
It needs a Leia build.

You should PM Wanilton or visit xbmcbrasil. I believe you might find what you are looking for. 
Thanks. See my other reply. Trying to compile mvc.v18 with your libbluray-1.1.2 resulted in the missing libbluray MVC patch.

Any pointers of how i would compile libbluray-1.1.2 on windows ? I could then try to see if i can rebase that libbluray patch i found.
Reply
#19
(2019-11-01, 23:59)te36 Wrote:
(2019-10-31, 21:16)fandangos Wrote:
(2019-10-31, 21:00)te36 Wrote: Great info, thanks. I have not yet gotten into HDR due to the absence of a HDR capable display, but i am lurking for a new projector for christmas that would be able to do HDR.

Meanwhile i am trying to figure out how i can build an MVC version of Kodi together with latest libbluray, so your pointer is very welcome wrt. to compiling new libbluray. Alas, i can not find anyone who would tell me where to find the MVC patches *sigh*. Oh well, i'll continue hunting. 

I don't own a 3D display and even at the dolby cinema in Eindhoven I felt it wasn't that exciting maybe I'm part of the population that can't see 3D effects.

So, as far as I know MVC can't be integrated with Kodi 19.
It needs a Leia build.

You should PM Wanilton or visit xbmcbrasil. I believe you might find what you are looking for. 
Thanks. See my other reply. Trying to compile mvc.v18 with your libbluray-1.1.2 resulted in the missing libbluray MVC patch.

Any pointers of how i would compile libbluray-1.1.2 on windows ? I could then try to see if i can rebase that libbluray patch i found.

This helped me with compiling libbluray by myself:

https://github.com/ShiftMediaProject/libbluray

Before the guy released his compiled version of 1.1.2 I used his sln visual studio file to compile it.
He also has all 3 dependencies compiled on his github.

Also just some heads up, the main advantage of libbluray 1.1.x is the support for uhd titles which doesn't have 3D.
I know your main goal is to have everything into a single place but you can have 2 kodi installs.

And since you seem to be getting into this, if you manage to bring full mvc support to Kodi 19 and feel like doing you can share your code and I'll add it to my fork.

And finally if you really dig into libbluray there are a few problems that with my limited knowledge I can't solve, for UHD BD the current chapter is always zero.
Chapter skipping doesn't work.
Seeking end up putting you on random time stamps.

Let us know or any development on your end.
Reply
#20
(2019-11-02, 00:36)fandangos Wrote:
(2019-11-01, 23:59)te36 Wrote:
(2019-10-31, 21:16)fandangos Wrote: I don't own a 3D display and even at the dolby cinema in Eindhoven I felt it wasn't that exciting maybe I'm part of the population that can't see 3D effects.

So, as far as I know MVC can't be integrated with Kodi 19.
It needs a Leia build.

You should PM Wanilton or visit xbmcbrasil. I believe you might find what you are looking for. 
Thanks. See my other reply. Trying to compile mvc.v18 with your libbluray-1.1.2 resulted in the missing libbluray MVC patch.

Any pointers of how i would compile libbluray-1.1.2 on windows ? I could then try to see if i can rebase that libbluray patch i found.

This helped me with compiling libbluray by myself:

https://github.com/ShiftMediaProject/libbluray

Before the guy released his compiled version of 1.1.2 I used his sln visual studio file to compile it.
He also has all 3 dependencies compiled on his github.

Also just some heads up, the main advantage of libbluray 1.1.x is the support for uhd titles which doesn't have 3D.
I know your main goal is to have everything into a single place but you can have 2 kodi installs.

And since you seem to be getting into this, if you manage to bring full mvc support to Kodi 19 and feel like doing you can share your code and I'll add it to my fork.

And finally if you really dig into libbluray there are a few problems that with my limited knowledge I can't solve, for UHD BD the current chapter is always zero.
Chapter skipping doesn't work.
Seeking end up putting you on random time stamps.

Let us know or any development on your end.

I am the current owner of the MVC fork (kodi v19 & early v20 365120 (thread))

My current task is updating libbluray in kodi to 1.3.0 (367093 (thread)) and this is how i found this thread... I was looking for the patch myself and indeed found it (https://searchcode.com/file/116503483/pa...ort.patch/) but it is lacking a lot of functions related to reading and seeking in unorderly fashion.

for that i am changing how MVC's 2nd eye was treated in the blurayinputstream in conjunction with libbluray. Also, I am making libbluray compile along with kodi during build so it is easy to apply my small changes to libbluray.
I am basing all of my changes on paxxy's repository (https://github.com/Paxxi/libbluray/tree/...libbluray) which is being used to build the kodi dependencies forward -  also it has cmakelists.txt and it was easier to integrate as an externalproject to kodi.

My current patch for libbluray (over paxxy's kodi branch) is very small - still WIP and not finalized yet:
cpp:

From 8ed215e2dc564b9aefed28ea1e9baf1dd4e19699 Mon Sep 17 00:00:00 2001
From: Assaf Paz <damagedspline_ATT_gmail.com>
Date: Tue, 15 Feb 2022 23:06:36 +0200
Subject: [PATCH] Return functions required for 3D MVC identification

Signed-off-by: Assaf Paz <damagedspline_ATT_gmail.com>
---
 CMakeLists.txt         | 2 ++
 src/libbluray/bluray.c | 7 +++++++
 src/libbluray/bluray.h | 1 +
 3 files changed, 10 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f753cf67..ecec33bc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -260,6 +260,8 @@ install(FILES
   ${CMAKE_CURRENT_SOURCE_DIR}/src/libbluray/player_settings.h
   ${CMAKE_CURRENT_SOURCE_DIR}/src/util/log_control.h
   ${CMAKE_CURRENT_SOURCE_DIR}/src/libbluray/bdnav/meta_data.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/src/libbluray/bdnav/mpls_data.h
+  ${CMAKE_CURRENT_SOURCE_DIR}/src/libbluray/bdnav/uo_mask_table.h
   DESTINATION include/libbluray)
 
 install(FILES
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index fcb3e6a3..e3398daf 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -3988,6 +3988,13 @@ struct mpls_pl *bd_read_mpls(const char *mpls_file)
     return mpls_parse(mpls_file);
 }
 
+struct mpls_pl *bd_get_title_mpls(BLURAY *bd)
+{
+    if (bd != NULL && bd->title != NULL && bd->title->pl != NULL)
+        return bd->title->pl;
+    return NULL;
+}
+
 void bd_free_mpls(struct mpls_pl *pl)
 {
     mpls_free(&pl);
diff --git a/src/libbluray/bluray.h b/src/libbluray/bluray.h
index 01d46711..049a94d2 100644
--- a/src/libbluray/bluray.h
+++ b/src/libbluray/bluray.h
@@ -1079,6 +1079,7 @@ void bd_free_clpi(struct clpi_cl *cl);
 
 
 struct mpls_pl;
+struct mpls_pl *bd_get_title_mpls(BLURAY *bd);
 struct mpls_pl *bd_read_mpls(const char *mpls_file);
 void bd_free_mpls(struct mpls_pl *);
 
-- 
2.30.0.windows.2

Reply

Logout Mark Read Team Forum Stats Members Help
Working BD-J menu support for Kodi 18.4 or newer, links to a precompiled libbluray2