Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 14
WIP Blu-ray Disc Java menus support
#91
(2015-02-22, 12:27)tudstudent Wrote: Ace, in what way is your brach different than kodi master?
I always compile from git on linux...

I am always compiling libbluray from source (git).
Can you advise what is different?
(Have been away for some time coz of other projects)

Have a look athttps://github.com/ace20022/xbmc/commits/bdj . But haven't rebased for a while.
#92
(2015-02-22, 12:44)Ace Wrote:
(2015-02-22, 12:13)Shvarc Wrote: Done.
Debug log 2 is here: http://goo.gl/f2VR2f

I don't know if \/ works ad-hoc. Try to remove the \. Does
c:\Program Files\Java\jdk1.8.0_31/jre/bin/server/jvm.dll exist at all?
Done.
Debug log 3 is here: http://goo.gl/OtdtdL
And:
Java vm.png на fotkidepo.ru:
Image
#93
I'm runnig out of ideas, you could try the 32bit jdk version.
#94
(2015-02-22, 13:23)Ace Wrote: I'm runnig out of ideas, you could try the 32bit jdk version.
Thank you!!!
Now it is working.
#95
(2015-02-22, 12:47)Ace Wrote: Have a look athttps://github.com/ace20022/xbmc/commits/bdj . But haven't rebased for a while.

A lot of those are already in master kodi, as far as I can remember, not?
Furthermore, on linux there is no need to point to the external libbluray right, configure is doing that automatically.
Aka. it is not always using libbluray internal from kodi?

Hmz, interesting, I am currently reading this complete thread and there was something about java_path and th prefix where .jar should be installed.
Checked java_path -> empty, just fixed it. Tried again -> no luck.
Then uninstalled libbluray and compiled with prefix -> now kodi needs to be recompiled before testing. I am curious.

Before the prefix change I still had:

13:14:38 T:139863177287424 DEBUG: CDVDInputStreamBluray::Logger - bdj.c:385: BD-J check: Failed to load libbluray.jar

Update 1:
Just installed latest GIT with bdj in /usr and java_home.
Now I am getting errors on the BDJ menu's (Batman Begins (bdjo and JAR folder))
http://pastebin.com/5ZWw8pwb

Update 2:
Wanted to update my libbluray with latest changes, so I did a "make distclean", and what happend... I got an error ... YaY:
Code:
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java/bin/java
This is something I can work with, it seemed the JAVA_HOME was too long, so I removed the bin/java and updated source. Now building again (make distclean was working after that change)

Update 3:
Still no luck...
#96
(2015-02-22, 13:50)tudstudent Wrote: Wanted to update my libbluray with latest changes, so I did a "make distclean", and what happend... I got an error ... YaY:
Code:
Error: JAVA_HOME is not defined correctly.
  We cannot execute /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java/bin/java
This is something I can work with, it seemed the JAVA_HOME was too long, so I removed the bin/java and updated source. Now building again (make distclean was working after that change)
In my Ubuntu 12.04 (i386):
JAVA_HOME = /usr/lib/jvm/java-7-openjdk-i386 (defined in /etc/environment)
libbluray is compiled from git in /usr/local (by default), I only create link:
/usr/share/java/libbluray-j2se-0.7.0.jar -> /usr/local/share/java/libbluray-j2se-0.7.0.jar
Kodi is compiled from BDJ branch
70% of BD-J are working
Ubuntu 22.04, Linux desktop 5.15.0-57-generic #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kodi (20.1 (20.1.0) Git:20230312-289ec664e3). Platform: Linux x86 64-bit
Sony Android TV, Kodi 20.1
#97
Does this now use libbluray 0.7.0 which among other new changes now supports Java 8 compability?

http://www.jbkempf.com/blog/post/2015/Bl...s-releases
Quote:Blu-Ray libraries releases

By Jean-Baptiste Kempf on Tuesday, January 27 2015, 14:18 - VideoLAN

Today, we release a new version of all our Blu-Ray libraries:

libbluray 0.7.0
libaacs 0.8.0
libbdplus 0.1.2

Those releases feature minor features improvements, and numerous bug fixes.

The biggest changes lie on the BD-J support, Java 8 support, fonts management and the raw access to devices and filesystem.

Our BD-J support should now be mostly working for most disks.

The filesystem changes is preparing the development of ISO support in those libraries.

Finally, a lot of code for portability has been merged between those libraries!
#98
@RockerC: Yes, libbluray in first post is V0.7
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
#99
(2015-02-25, 12:40)RockerC Wrote: Does this now use libbluray 0.7.0 which among other new changes now supports Java 8 compability?

http://www.jbkempf.com/blog/post/2015/Bl...s-releases
Quote:Blu-Ray libraries releases

By Jean-Baptiste Kempf on Tuesday, January 27 2015, 14:18 - VideoLAN

Today, we release a new version of all our Blu-Ray libraries:

libbluray 0.7.0
libaacs 0.8.0
libbdplus 0.1.2

Those releases feature minor features improvements, and numerous bug fixes.

The biggest changes lie on the BD-J support, Java 8 support, fonts management and the raw access to devices and filesystem.

Our BD-J support should now be mostly working for most disks.

The filesystem changes is preparing the development of ISO support in those libraries.

Finally, a lot of code for portability has been merged between those libraries!
O.T.
Somebody has
libaacs 0.8.0
libbdplus 0.1.2
binary for win32?
Hmz, just tested the latest test release posted by a user by dropbox.
Copied the latest 0.7 bluray in the folder specified in the FIPO.

Tried to run from NFS-> nothing
Tried to run the same movie from local drive -> voila menu is working fine.

So NFS by Kodi not working. Wondering if it works if I let the host (Ubuntu) do the NFS part. Kodi then sees it as local FS!?!

Tested Bourne Identity -> working
Hello,

I really want to help in the debugging process of this. Nothing I have made so far worked for me. 64-bit Java was not working at all, with 32-bit things look better in the logs and I get a never ending spinning loading when i try to play an index file (before I was getting nothing). I have to press X to stop this. Here is the latest log:

http://pastebin.com/r9nHcuAT
Update from my side:
- Update 2day to latest git Kodi
- Update 2day to latest git Libbluray
- Mounted NFS kernel driver in Ubuntu (so not using the build-in kodi NFS functionality)

Gives me a working Bluray (Bourne Identity, but also Disney WoW).

Not working: ISO playpack, wondering if playback of ISO is fixed if I would compile libbluray with libudfread enabled -> any feedback on this?

(2015-03-01, 17:05)ppkstat Wrote: Hello,

I really want to help in the debugging process of this. Nothing I have made so far worked for me. 64-bit Java was not working at all, with 32-bit things look better in the logs and I get a never ending spinning loading when i try to play an index file (before I was getting nothing). I have to press X to stop this. Here is the latest log:

http://pastebin.com/r9nHcuAT

Look at this piece, did you check your java path? Did you check the revision posted on this board, standard kodi does not have BDJ enabled.
Furthermore Latest jar?:
Code:
16:55:36 T:10108   DEBUG: CDVDInputStreamBluray::Logger - libbluray/bdj/native/org_videolan_Libbluray.c:317: getBdjoN(C:\Users\Thomas\Desktop\Naked Lunch (1991)\BDMV\BDJO\65535.bdjo)
16:55:36 T:10108   DEBUG: CDVDInputStreamBluray::Logger - libbluray/bdj/bdjo_parse.c:492: [bdj] BDJO > Version: 0200
16:55:36 T:10108   DEBUG: CUtil::ScanForExternalSubtitles: Searching for subtitles...
16:55:36 T:10108   DEBUG: CDVDInputStreamBluray::Logger - libbluray/bluray.c:1344: libbluray version 0.7.0
16:55:36 T:10108   DEBUG: CDVDInputStreamBluray - Error opening file! (0B5F3A98)
16:55:36 T:10108   DEBUG: CDVDInputStreamBluray::Logger - file/libaacs.c:86: AACS\Unit_Key_RO.inf not found. No AACS protection.
16:55:36 T:10108   DEBUG: CDVDInputStreamBluray - Error opening file! (0B5F3A98)
16:55:36 T:10108   DEBUG: CDVDInputStreamBluray::Logger - file/libbdplus.c:85: BDSVM\00000.svm not found. No BD+ protection.
16:55:36 T:10108   ERROR: dllFreeLibrary - Invalid hModule specified
16:55:36 T:10108   DEBUG: CDVDInputStreamBluray::Logger - libbluray/bluray.c:1378: BLURAY initialized!
16:55:36 T:10108   DEBUG: CDVDInputStreamBluray::Logger - libbluray/bluray.c:1419: BLURAY destroyed!
16:55:36 T:10108   DEBUG: CUtil::ScanForExternalSubtitles: END (total time: 4 ms)
Hello and thanks for the answer.

Yes I have the revision posted here, specifically the one that was upped in dropbox (since the link in the first post is dead).

Java path on my computer is C:\Program Files (x86)\Java\jdk1.8.0_31\bin. Java version returns this

java version "1.8.0_31"
Java™ SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot™ Client VM (build 25.31-b07, mixed mode, sharing)

I have not set a JAVA_HOME variable by myself in enviroment variables.

Please be aware that I am not an expert on these things. I just want to help because it's an important feature for me.
I've update the build in the first post to current upstream master. I haven't changed the bdj code.

(2015-02-22, 13:50)tudstudent Wrote:
(2015-02-22, 12:47)Ace Wrote: Have a look athttps://github.com/ace20022/xbmc/commits/bdj . But haven't rebased for a while.

A lot of those are already in master kodi, as far as I can remember, not?

None of them are Wink
Ahhh, not an expert in github, so your "clone" is not always clear when it is a master branch patch or "your" patch
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 14

Logout Mark Read Team Forum Stats Members Help
Blu-ray Disc Java menus support3