[WiP] madVR support in MP1 (11 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Ok :)
    So last time when i have search about log level : BD-J menu bug on Alien blu rays
    In your log :
    Code:
    02-02-2018 17:34:29.335 [ 1094]CLibBlurayWrapper - Play failed!
    02-02-2018 17:34:29.340 [ 1094]Read failed...failure on libbluray side

    in my (bd_debug.log) log file :
    Code:
    bdj.c:303: Opening C:\Program Files (x86)\Java\jdk1.8.0_144\jre\bin\server\jvm ...
    bdj.c:699: BD-J check: OK
    bdj.c:819: bdj_open()
    bdj.c:303: Opening C:\Program Files (x86)\Java\jdk1.8.0_144\jre\bin\server\jvm ...
    bdj.c:870: Java version: 1.8
    java.awt.BDFontMetrics:0: INFO: mapping serif.0 (Arial) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaBrightRegular.ttf
    java.awt.BDFontMetrics:0: INFO: mapping serif.1 (Arial) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaBrightDemiBold.ttf
    java.awt.BDFontMetrics:0: INFO: mapping serif.2 (Arial) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaBrightItalic.ttf
    java.awt.BDFontMetrics:0: INFO: mapping serif.3 (Arial) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaBrightDemiItalic.ttf
    java.awt.BDFontMetrics:0: INFO: mapping sansserif.0 (Times New Roman) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaSansRegular.ttf
    java.awt.BDFontMetrics:0: INFO: mapping sansserif.1 (Times New Roman) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaSansDemiBold.ttf
    java.awt.BDFontMetrics:0: INFO: fontconfig: mapping sansserif.2 (Times New Roman) to C:\WINDOWS\Fonts\arial.ttf
    java.awt.BDFontMetrics:0: INFO: fontconfig: mapping sansserif.3 (Times New Roman) to C:\WINDOWS\Fonts\arial.ttf
    java.awt.BDFontMetrics:0: INFO: mapping monospaced.0 (Courier New) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaTypewriterRegular.ttf
    java.awt.BDFontMetrics:0: INFO: mapping monospaced.1 (Courier New) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaTypewriterBold.ttf
    java.awt.BDFontMetrics:0: INFO: fontconfig: mapping monospaced.2 (Courier New) to C:\WINDOWS\Fonts\arial.ttf
    java.awt.BDFontMetrics:0: INFO: fontconfig: mapping monospaced.3 (Courier New) to C:\WINDOWS\Fonts\arial.ttf
    java.awt.BDFontMetrics:0: INFO: mapping dialog.0 (Times New Roman) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaSansRegular.ttf
    java.awt.BDFontMetrics:0: INFO: mapping dialog.1 (Times New Roman) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaSansDemiBold.ttf
    java.awt.BDFontMetrics:0: INFO: fontconfig: mapping dialog.2 (Times New Roman) to C:\WINDOWS\Fonts\arial.ttf
    java.awt.BDFontMetrics:0: INFO: fontconfig: mapping dialog.3 (Times New Roman) to C:\WINDOWS\Fonts\arial.ttf
    java.awt.BDFontMetrics:0: INFO: mapping dialoginput.0 (Courier New) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaTypewriterRegular.ttf
    java.awt.BDFontMetrics:0: INFO: mapping dialoginput.1 (Courier New) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaTypewriterBold.ttf
    java.awt.BDFontMetrics:0: INFO: fontconfig: mapping dialoginput.2 (Courier New) to C:\WINDOWS\Fonts\arial.ttf
    java.awt.BDFontMetrics:0: INFO: fontconfig: mapping dialoginput.3 (Courier New) to C:\WINDOWS\Fonts\arial.ttf
    java.awt.BDFontMetrics:0: INFO: mapping default.0 (Times New Roman) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaSansRegular.ttf
    java.awt.BDFontMetrics:0: INFO: mapping default.1 (Times New Roman) to C:\Program Files (x86)\Java\jdk1.8.0_144\jre\lib\fonts\LucidaSansDemiBold.ttf
    java.awt.BDFontMetrics:0: INFO: fontconfig: mapping default.2 (Times New Roman) to C:\WINDOWS\Fonts\arial.ttf
    java.awt.BDFontMetrics:0: INFO: fontconfig: mapping default.3 (Times New Roman) to C:\WINDOWS\Fonts\arial.ttf
    bdj.c:573: LIBBLURAY_PERSISTENT_ROOT not set, using C:\Users\sebastien\AppData\Roaming\bluray\dvb.persistent.root\
    bdj.c:604: LIBBLURAY_CACHE_ROOT not set, using C:\Users\sebastien\AppData\Roaming\bluray\bluray.bindingunit.root\
    org_videolan_Libbluray.c:224: getAacsDataN(4096) -> 00000000
    org_videolan_Libbluray.c:389: readPSRN(31) -> 197120
    bdj.c:980: bdj_process_event(START,2)
    org_videolan_Libbluray.c:191: getTitleInfosN()
    org_videolan_Libbluray.c:503: getBdjoN(00000.bdjo)
    bdjo_parse.c:490: [bdj] BDJO > Version: 0020
    org_videolan_Libbluray.c:503: getBdjoN(00001.bdjo)
    bdjo_parse.c:490: [bdj] BDJO > Version: 0020
    org_videolan_Libbluray.c:503: getBdjoN(00002.bdjo)
    bdjo_parse.c:490: [bdj] BDJO > Version: 0020
    org_videolan_Libbluray.c:503: getBdjoN(00003.bdjo)
    bdjo_parse.c:490: [bdj] BDJO > Version: 0020
    org.bluray.ti.selection.TitleContextImpl:0: INFO: start(Title 2, restart=true)
    org.videolan.CacheDir:0: INFO: Created cache in G:\Temp\libbluray-bdj-cache\80186276190135
    java.awt.BDRootWindow:0: INFO: setting default font to *****.otf (null)
    org_videolan_Libbluray.c:259: setUOMaskN(1,1)
    org_videolan_Libbluray.c:267: setKeyInterestN(0x0)
    org_videolan_Libbluray.c:408: cacheBdRomFile(BDMV\JAR\00000.jar => G:\Temp\libbluray-bdj-cache\80186276190135\VFSCache\BDMV\JAR\00000.jar)
    org.videolan.VFSCache:0: INFO: cached BDMV\JAR\00000.jar
    org.videolan.VFSCache:0: INFO: using cached G:\Temp\libbluray-bdj-cache\80186276190135\VFSCache\\BDMV\JAR\00000.jar
    org.videolan.MountManager:0: INFO: Mounting JAR: 00000
    org.videolan.VFSCache:0: INFO: using cached G:\Temp\libbluray-bdj-cache\80186276190135\VFSCache\\BDMV\JAR\00000.jar
    org.videolan.MountManager:0: INFO:    mount: com/warnerbd/pixelogic/xlet/bluray.StandardMenuXlet.perm
    org.videolan.MountManager:0: INFO:    mount: com/warnerbd/radius/bluray.TitleBoundXlet.perm
    java.awt.BDRootWindow:0: INFO: sync() ignored (overlay not open, empty overlay)
    org.videolan.MountManager:0: INFO:    mount: kudu/com/bluecast/xml/package.html
    org.videolan.MountManager:0: INFO:    mount: kudu/com/bluecast/xml/Piccolo.y
    org.videolan.MountManager:0: INFO:    mount: kudu/com/bluecast/xml/PiccoloLexer.flex
    org.videolan.MountManager:0: INFO:    mount: kudu/com/bluecast/xml/XMLDeclParser.flex
    org.videolan.MountManager:0: INFO:    mount: kudu/javax/xml/parsers/package.html
    org.videolan.MountManager:0: INFO:    mount: kudu/org/xml/sax/ext/package.html
    org.videolan.MountManager:0: INFO:    mount: kudu/org/xml/sax/helpers/package.html
    org.videolan.MountManager:0: INFO:    mount: kudu/org/xml/sax/package.html
    org.videolan.MountManager:0: INFO:    mount: kudu/xml/utilities/LICENSE.txt
    org.videolan.MountManager:0: INFO:    mount: kudu/xml/utilities/NOTICE.txt
    org.videolan.MountManager:0: INFO:    mount: padding.pad
    org.videolan.MountManager:0: INFO:    mount: README.txt
    org.videolan.MountManager:0: INFO:    mount: remote.config
    org.videolan.MountManager:0: INFO:    mount: space.pad
    org.videolan.MountManager:0: INFO:    mount: META-INF/MANIFEST.MF
    org.videolan.MountManager:0: INFO:    mount: META-INF/SIG-BD00.SF
    org.videolan.MountManager:0: INFO:    mount: META-INF/SIG-BD00.RSA
    org.videolan.MountManager:0: INFO: Mounting PARTIAL JAR 0 complete.
    org.videolan.BDJXletContext:0: INFO: Mounted Xlet home directory from 00000.jar to G:\Temp\libbluray-bdj-cache\80186276190135\mount\00000\(319ms)
    org.videolan.BDJLoader:0: INFO: Loaded class: com.warnerbd.radius.TitleBoundXlet from 00000.jar
    org.videolan.VFSCache:0: INFO: using cached G:\Temp\libbluray-bdj-cache\80186276190135\VFSCache\\BDMV\JAR\00000.jar
    org.videolan.MountManager:0: INFO: Mounting JAR: 00000
    org.videolan.MountManager:0: INFO: JAR 0 already mounted
    org.videolan.BDJXletContext:0: INFO: Mounted Xlet home directory from 00000.jar to G:\Temp\libbluray-bdj-cache\80186276190135\mount\00000\(0ms)
    org.videolan.BDJLoader:0: INFO: Loaded class: com.warnerbd.pixelogic.xlet.StandardMenuXlet from 00000.jar
    org_videolan_Libbluray.c:376: writePSRN(4,2)
    org.videolan.BDJLoader:0: INFO: Autostart xlet 0: com.warnerbd.radius.TitleBoundXlet
    org.videolan.BDJLoader:0: INFO: Autostart xlet 1: com.warnerbd.pixelogic.xlet.StandardMenuXlet
    org.videolan.BDJLoader:0: INFO: Finished initializing and starting xlets.
    DVBTest.java:org.dvb.test.DVBTest.log:33: log: In Init TitleBoundXlet_VAM!: 0
    DVBTest.java:org.dvb.test.DVBTest.log:33: log: This is TitleBoundXlet_VAM starting!: 0

    So i think the java (.jar is not used or lib not detected)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    In MP root folder, you should have the .jar but not sure why it failed for you but maybe libbluray didn't find the needed Java installation too :(
    upload_2018-2-2_19-48-42.png


    Try to copy libbluray-j2se-1.0.2.jar to libbluray.jar or the reverse :p
     

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,648
    1,994
    Home Country
    Germany Germany
    Could this be the problem, download link is for JRE not JDK,:confused:
    Screenshot 1 is the Wikki, screenshot 2 is the actual.
    1.jpg 2.jpg
     

    el Filou

    MP Donator
  • Premium Supporter
  • July 2, 2008
    124
    103
    Home Country
    Belgium Belgium
    Is there an easy way to find out if a Blu-ray title has Java menus? Like for example all discs from a certain studio?
    I don't feel like trying all my discs to find one with Java menus just to do a test. :LOL:

    Edit: read on some forum that The Dark Knight uses Java, but no luck with it. Without the JAVA_HOME environment variable, I see an icon of a disc on a black background for one second, then a duration bar (but not MP's one) for a very short moment, then it starts the movie directly. When I add the env. variable pointing to the JRE folder, it goes back to MP Home after the Warner logo clip.
    I'm still on some Pre-1.19 MP build though, not sure if that has any influence?
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)

    Most of new BD has a BD-J.

    But when starting MP in BDReader.log :
    Code:
    02-02-2018 18:46:56.662 [ 5bd8]--------- bluray ---------------------
    02-02-2018 18:46:56.662 [ 5bd8]-------------- v0.63 -----------------
    02-02-2018 18:46:56.662 [ 5bd8]CBDReaderFilter::ctor
    02-02-2018 18:46:56.662 [ 5bd8]CLibBlurayWrapper - Load bluray: C:\Program Files (x86)\Team MediaPortal\MediaPortal\bluray.dll
    02-02-2018 18:46:56.670 [ 5bd8]CLibBlurayWrapper - initialization succeeded
    02-02-2018 18:46:56.672 [ 5bd8]CLibBlurayWrapper - Settings: Audio(fra), Menu(fra), Sub(fra), Ctry(fr), Reg(2), Prtl(99)
    02-02-2018 18:46:56.672 [ 5bd8]callback set
    02-02-2018 18:46:56.672 [ 5bd8]CBDReaderFilter::Load()
    02-02-2018 18:46:56.673 [ 5bd8]CLibBlurayWrapper - OpenBluray: J:
    02-02-2018 18:46:56.720 [ 5bd8]Disk Info:
    02-02-2018 18:46:56.720 [ 5bd8]--------------------------
    02-02-2018 18:46:56.721 [ 5bd8]aacs_detected:          0
    02-02-2018 18:46:56.721 [ 5bd8]aacs_handled:           0
    02-02-2018 18:46:56.722 [ 5bd8]bdplus_detected:        0
    02-02-2018 18:46:56.722 [ 5bd8]bdplus_handled:         0
    02-02-2018 18:46:56.722 [ 5bd8]bluray_detected:        1
    02-02-2018 18:46:56.722 [ 5bd8]first_play_supported:   1
    02-02-2018 18:46:56.722 [ 5bd8]num_bdj_titles:         3
    02-02-2018 18:46:56.723 [ 5bd8]num_hdmv_titles:        8
    02-02-2018 18:46:56.723 [ 5bd8]num_unsupported_titles: 0
    02-02-2018 18:46:56.723 [ 5bd8]top_menu_supported:     1
    02-02-2018 18:46:56.724 [ 5bd8]libaacs_detected:       0
    02-02-2018 18:46:56.724 [ 5bd8]--------------------------

    Code:
    02-02-2018 18:46:56.722 [ 5bd8]num_bdj_titles:         3

    :p

    Edit : so if i remove the .JAR, i'm getting also :
    03-02-2018 09:16:20.182 [ 57e4]Read failed...failure on libbluray side
    And in bddebug.log :
    bdj.c:303: Opening C:\Program Files (x86)\Java\jdk1.8.0_144\jre\bin\server\jvm ...
    bdj.c:515: invalid LIBBLURAY_CP C:\Program Files (x86)\Team MediaPortal\MediaPortal\libbluray.jar
    bdj.c:695: BD-J check: Failed to load libbluray.jar
    bdj.c:303: Opening C:\Program Files (x86)\Java\jdk1.8.0_144\jre\bin\server\jvm ...
    bdj.c:515: invalid LIBBLURAY_CP C:\Program Files (x86)\Team MediaPortal\MediaPortal\libbluray.jar
    bdj.c:695: BD-J check: Failed to load libbluray.jar
    bdj.c:819: bdj_open()
    bdj.c:515: invalid LIBBLURAY_CP C:\Program Files (x86)\Team MediaPortal\MediaPortal\libbluray.jar
    bdj.c:823: BD-J start failed: libbluray-j2se-1.0.2.jar not found.
    bluray.c:3243: Can't play BD-J title 2
    bluray.c:2085: bd_read(): no valid title selected!
     
    Last edited:

    joecrow

    Test Group
  • Team MediaPortal
  • August 9, 2012
    2,648
    1,994
    Home Country
    Germany Germany
    @Sebastiii Got BD-J working:D*, just needed the correct version of Java, looks like it only works with the SDK (Developement Kit) version. The link in the Wikki is for the regular Java which installs in a folder name e.g. jre.1.8.0_161 and that did not work for me even if the variable is set to reference it.:mad:
    The SDK version installs in a folder jdk.1.8.0_161 and then BD-J menus work.:)

    * I did notiice that on my test BD (Hobbit part 1_2D) that on first play it went to the menu perfectly but on second play after selecting "Menu" I got a Java menu asking if I wanted to go back to start or continue from last position, regardless of what is selected it starts to play but then stalls and only stop works to return to MP. Next attempt to play is then OK.
    Nice work, almost at the point now where PowerDVD is redundant:), needs some work on the Wikki though or I was in the wrong place (searched on BD-J).
     

    Users who are viewing this thread

    Top Bottom