[WiP] BD-J Feature (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,434
    10,256
    France
    France France
    Country flag
    • Thread starter
    • Moderator
    • #31
    Hi,
    My JAVA_HOME goes : C:\Program Files (x86)\Java\jdk1.7.0_17
    MP is not started as admin but UAC is off here.

    I/We can play most of all BD-J with menu now.

    There is an updated lib to push, will try to do it soon :)
     

    SilentBob

    Portal Pro
    January 1, 2011
    54
    56
    Germany Germany
    Country flag
    I think, most important is, a JDK is needed not only JRE
    A Jre with server parts is also available, but in

    libbluray\src\libbluray\bdj\bdj.c
    static void *_load_jvm(const char **p_java_home)

    the search paths are always:jre\\bin\\server\\jvm:
    static const char jvm_dir[] = "jre\\bin\\server";
    static const char jvm_lib[] = "jvm";

    this is only valid for JDK.
    With automatic Java Update the JDK Path can change, and I needed to set the JAVA_HOME manually, it is not set by installer

    I forgot to say, I rebuild the branch on my own (merged latest master in advance)
    I am using latest libbluray, as I saw the libbluray on MP branch is very old. (copyied the jar and renamed libbluray.dll to bluray.dll)

    I just was not sure, as there is tourettes repo (https://github.com/tourettes/libbluray) which has other changes than this one https://git.1f0.de/gitweb?p=libbluray.git;a=summary;js=1
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,434
    10,256
    France
    France France
    Country flag
    • Thread starter
    • Moderator
    • #33
    Yep you need to work with tourettes repo otherwise something will not work.
    So yes it's needed to add JAVA_HOME, maybe it's possible to set that with NSIS installer.
    :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,434
    10,256
    France
    France France
    Country flag
    • Thread starter
    • Moderator
    • #35
    When madVR goes to master branch yes :)
    I have the combo branch and seems to work nicely :p
     

    SilentBob

    Portal Pro
    January 1, 2011
    54
    56
    Germany Germany
    Country flag
    Hi,
    My JAVA_HOME goes : C:\Program Files (x86)\Java\jdk1.7.0_17
    MP is not started as admin but UAC is off here.

    I/We can play most of all BD-J with menu now.

    There is an updated lib to push, will try to do it soon :)
    UAC is off
    i have two users, one MediaPortal User is just a Member of Windows User group.
    the other is Admin, who is member of the Windows Administrators Group

    if I start with my default MP User (MediaPortal) It starts with a menu of Language Selection, after a first click the UI remains black
    if I start with the Administrator User (Admin) the language selections comes up, and if I select a language it goes on with the BD (in this case a Marvel Intro with some trailers at the beginning

    I attached the logfiles, any Ideas what could be the issue here?

    Also for me some minor things (sometimes playing just hangs, MP restart required...), but nevertheless better than no BD-J Support ;)
    the only thing for me would be to disable (configure disabling) the menu where I need to select (either play track or menu) when inserting a Media
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,434
    10,256
    France
    France France
    Country flag
    • Thread starter
    • Moderator
    • #38
    So it seems that we need user with admin right (maybe to be able to access JAVA) lol
    We can have some hang/deadlock even if i didn't remember seeing this from a long time ago. (maybe full log can help in this case). :)
     

    SilentBob

    Portal Pro
    January 1, 2011
    54
    56
    Germany Germany
    Country flag
    Played a little bit more around, i used another user with default user credentials, and there the BD started.
    So I was totally confused, finally I ended up with MONOGRAM GraphStudio to look at the generated Filter graph. What I saw there is, that for the User where BD does not work, the Graph is constructed with the Microsoft DTV-DVD Video Decoder
    whereas for the Users where BD works it is constructed with the LAV Video Decoder.
    The MP Configuration is set to use the LAV Video Decoder.

    So I will continue testing to find out what the issue is at my machine, and what needs to be checked, maybe during MP BD Startup or what should be documented in Wiki.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    Top Bottom