[WiP] BD-J Feature (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,557
    10,376
    France
    Home Country
    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
    57
    Home Country
    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,557
    10,376
    France
    Home Country
    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.
    :)
     

    SilentBob

    Portal Pro
    January 1, 2011
    54
    57
    Home Country
    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,557
    10,376
    France
    Home Country
    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
    57
    Home Country
    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

    Similar threads

    • Sticky
    Just for your information: couldn't find the ns*.tmp file...
    Just for your information: couldn't find the ns*.tmp file...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    39
    Views
    1K
    Hallo, Since the update to MP1 27 pre, the refresh rate display no longer works correctly. The font is too small and illegible. The display can be reached with "Shift, 1". Andreas
    Hallo, Since the update to MP1 27 pre, the refresh rate display no longer works correctly. The font is too small and illegible. The...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    2
    Views
    822
    • Sticky
    We have just released MediaPortal 1.27 Highlights of this release Bugfixes: [MP1-5050] - GUIHome should not be copied next to the mediaportal executable [MP1-5051] - Music Playback fails with ReplayGain enabled and no ReplayGain Information in song [MP1-5053] - TV framerate is not parsed from tsbuffer Since Pre-Release ...
    We have just released MediaPortal 1.27 Highlights of this release Bugfixes: [MP1-5050] - GUIHome should not be copied next to...
    We have just released MediaPortal 1.27 Highlights of this release Bugfixes: [MP1-5050] - GUIHome should not be copied next to...
    Replies
    0
    Views
    2K
    I thinks this is the first time I've installed MP on all my machines without a single IO error 32. Good work guys, thanks!
    I thinks this is the first time I've installed MP on all my machines without a single IO error 32. Good work guys, thanks!
    We have just released MediaPortal 1.26 - Winter is coming... Highlights of this release Bugfixes: [MP1-5031] - Fix Invalid File...
    Replies
    1
    Views
    1K
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-5031] - Fix Invalid...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    0
    Views
    1K
    Top Bottom