Blu-Ray / HD DVD plugin for Arcsoft player (2 Viewers)

Der_Bub

MP Donator
  • Premium Supporter
  • June 17, 2008
    830
    60
    Cologne
    Home Country
    Germany Germany
    Okay, here is my edited version of the BluRay Player launcher, base-version is 0.8beta.
    ...
    - if 2 (or more) BD/HDDVD discs are present, the plugin will give you a selection box where you can choose which disc you want to play (works with daemon tools, too).
    ...

    I get allways a message, that no media is present. But I have a DVD in one of two drives (a "real" BR drive and Virtual Clone Drive).

    I would prefer if I could configure the plugin to use only the "real" BR drive (and ignore Virtual Clone).

    Is this possible?

    Thanks!
     

    MacGyver2k

    Portal Pro
    October 29, 2005
    148
    64
    Home Country
    Germany Germany
    I get allways a message, that no media is present. But I have a DVD in one of two drives (a "real" BR drive and Virtual Clone Drive)
    actually that works like i intended, only BD/HD-DVD is handled, no DVDs.
    But that could be changed easily with some additional lines in the code.

    I would prefer if I could configure the plugin to use only the "real" BR drive (and ignore Virtual Clone).

    Well currently is determine the drives by its drivetype, and since virtual drives behave like normal drive it's not possible to determine that they are virutal i guess (but i'm not sure).
    I guess the easiest way would to add an option to exclude certain drive-letters from being scanned.

    Currently i have no time to look into that, i'm currently very busy with work.
     

    glsf91

    Portal Member
    November 29, 2009
    45
    0
    Home Country
    Netherlands Netherlands
    you need anydvd hd or a similar tool for dyanmic refresh rate change because the disc needs to be analysed.
    it usually takes some time to analyse, but then the refresh rate should be changed.
    you can try my version (on page 46), for dynamic change anydvd hd is still needed, but there is another option to change always to 23.976hz.
    maybe that's enough.

    I use daemon tools lite for mounting blu-ray iso. Both "Display refresh rate options" are on.
    It looks like the dynamic refresh rate is not changing when playing a BR other then 24 hz (in this case a BR with 25hz). Mediainfo is showing the right rate when I look at the biggest file.
    I don't use anydvd hd.

    Logging:
    (see also the bold one)

    2011-04-03 21:04:19.449564 [Info.][MPMain(1)]: Blu-Ray Player Launcher: GUI_MSG_VOLUME_REMOVED
    2011-04-03 21:04:19.453564 [Info.][MPMain(1)]: Blu-Ray Player Launcher: GUI_MSG_BLURAY_DISK_INSERTED
    2011-04-03 21:04:19.458564 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Loading localised Strings - Path: C:\ProgramData\Team MediaPortal\MediaPortal\Language\BluRayPlayerLauncherPlugin Culture: Language: Prefix: False
    2011-04-03 21:04:19.460564 [Info.][MPMain(1)]: Loading strings file: strings_en.xml
    2011-04-03 21:04:19.507567 [Info.][MPMain(1)]: BLU-RAY volume inserted H:
    2011-04-03 21:04:19.556570 [Info.][MPMain(1)]: Blu-Ray Player Launcher: GUI_MSG_BLURAY_DISK_INSERTED
    2011-04-03 21:04:20.709636 [Info.][MediaScanner(14)]: SQLiteClient: Closing database: VideoDatabaseV5.db3
    2011-04-03 21:04:20.717636 [Info.][MediaScanner(14)]: SQLiteClient: Closing database: VideoDatabaseV5.db3
    2011-04-03 21:04:22.244723 [Info.][MPMain(1)]: Blu-Ray Player Launcher: begin autoplay
    2011-04-03 21:04:22.248724 [Info.][MPMain(1)]: Blu-Ray Player Launcher: PreparePlayback
    2011-04-03 21:04:22.250724 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Suspend rendering
    2011-04-03 21:04:22.263725 [Info.][MPMain(1)]: Blu-Ray Player Launcher: SetRefreshRate for BluRay.
    2011-04-03 21:04:22.745752 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Invalid Refresh Rate: -1 fps
    2011-04-03 21:04:22.752752 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Disc analysis failed/disabled, using 23.976 Hz by default
    2011-04-03 21:04:22.755753 [Info.][MPMain(1)]: Blu-Ray Player Launcher: calling SetRefreshRateBasedOnFPS() - 23.976Hz
    2011-04-03 21:04:22.896761 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 25hz - changing it to 24hz
    2011-04-03 21:04:22.897761 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for changing refreshrate. current is 25hz, desired is 24
    2011-04-03 21:04:22.944763 [Info.][MPMain(1)]: Blu-Ray Player Launcher: LaunchPlayer
    2011-04-03 21:04:23.785812 [Info.][MPMain(1)]: Blu-Ray Player Launcher: launched manually
    2011-04-03 21:04:23.789812 [Info.][MPMain(1)]: Blu-Ray Player Launcher: 1 HD-DVD/BD Disc(s) found, starting Playback.
    2011-04-03 21:04:23.791812 [Info.][MPMain(1)]: Blu-Ray Player Launcher: PreparePlayback
    2011-04-03 21:04:23.793812 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Suspend rendering
    2011-04-03 21:04:23.794812 [Info.][MPMain(1)]: Remotes: Stop was called without Init - exiting
    2011-04-03 21:04:23.797812 [Info.][MPMain(1)]: Blu-Ray Player Launcher: SetRefreshRate for BluRay.
    2011-04-03 21:04:24.031826 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Invalid Refresh Rate: -1 fps
    2011-04-03 21:04:24.037826 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Disc analysis failed/disabled, using 23.976 Hz by default
    2011-04-03 21:04:24.039826 [Info.][MPMain(1)]: Blu-Ray Player Launcher: calling SetRefreshRateBasedOnFPS() - 23.976Hz
    2011-04-03 21:04:24.041826 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 25hz - changing it to 24hz
    2011-04-03 21:04:24.043826 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for changing refreshrate. current is 25hz, desired is 24
    2011-04-03 21:04:24.074828 [Info.][MPMain(1)]: Blu-Ray Player Launcher: LaunchPlayer

    Above you are also mention a "similar tool". Can you explain this a little more ?
    Can it work without anydvd (or is there an alternative)?
     

    Django.edwards

    Portal Pro
    October 22, 2009
    457
    54
    Eupen
    Home Country
    Belgium Belgium
    Hi,

    does anybody knows if there will be a build for MP 1.2.0 Beta? This plugin works really great for me but unfortunately not with the compatibility check of 1.2.

    Thanks
     

    glsf91

    Portal Member
    November 29, 2009
    45
    0
    Home Country
    Netherlands Netherlands
    you need anydvd hd or a similar tool for dyanmic refresh rate change because the disc needs to be analysed.
    it usually takes some time to analyse, but then the refresh rate should be changed.
    you can try my version (on page 46), for dynamic change anydvd hd is still needed, but there is another option to change always to 23.976hz.
    maybe that's enough.

    I use daemon tools lite for mounting blu-ray iso. Both "Display refresh rate options" are on.
    It looks like the dynamic refresh rate is not changing when playing a BR other then 24 hz (in this case a BR with 25hz). Mediainfo is showing the right rate when I look at the biggest file.
    I don't use anydvd hd.

    Logging:
    (see also the bold one)

    2011-04-03 21:04:19.449564 [Info.][MPMain(1)]: Blu-Ray Player Launcher: GUI_MSG_VOLUME_REMOVED
    2011-04-03 21:04:19.453564 [Info.][MPMain(1)]: Blu-Ray Player Launcher: GUI_MSG_BLURAY_DISK_INSERTED
    2011-04-03 21:04:19.458564 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Loading localised Strings - Path: C:\ProgramData\Team MediaPortal\MediaPortal\Language\BluRayPlayerLauncherPlugin Culture: Language: Prefix: False
    2011-04-03 21:04:19.460564 [Info.][MPMain(1)]: Loading strings file: strings_en.xml
    2011-04-03 21:04:19.507567 [Info.][MPMain(1)]: BLU-RAY volume inserted H:
    2011-04-03 21:04:19.556570 [Info.][MPMain(1)]: Blu-Ray Player Launcher: GUI_MSG_BLURAY_DISK_INSERTED
    2011-04-03 21:04:20.709636 [Info.][MediaScanner(14)]: SQLiteClient: Closing database: VideoDatabaseV5.db3
    2011-04-03 21:04:20.717636 [Info.][MediaScanner(14)]: SQLiteClient: Closing database: VideoDatabaseV5.db3
    2011-04-03 21:04:22.244723 [Info.][MPMain(1)]: Blu-Ray Player Launcher: begin autoplay
    2011-04-03 21:04:22.248724 [Info.][MPMain(1)]: Blu-Ray Player Launcher: PreparePlayback
    2011-04-03 21:04:22.250724 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Suspend rendering
    2011-04-03 21:04:22.263725 [Info.][MPMain(1)]: Blu-Ray Player Launcher: SetRefreshRate for BluRay.
    2011-04-03 21:04:22.745752 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Invalid Refresh Rate: -1 fps
    2011-04-03 21:04:22.752752 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Disc analysis failed/disabled, using 23.976 Hz by default
    2011-04-03 21:04:22.755753 [Info.][MPMain(1)]: Blu-Ray Player Launcher: calling SetRefreshRateBasedOnFPS() - 23.976Hz
    2011-04-03 21:04:22.896761 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 25hz - changing it to 24hz
    2011-04-03 21:04:22.897761 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for changing refreshrate. current is 25hz, desired is 24
    2011-04-03 21:04:22.944763 [Info.][MPMain(1)]: Blu-Ray Player Launcher: LaunchPlayer
    2011-04-03 21:04:23.785812 [Info.][MPMain(1)]: Blu-Ray Player Launcher: launched manually
    2011-04-03 21:04:23.789812 [Info.][MPMain(1)]: Blu-Ray Player Launcher: 1 HD-DVD/BD Disc(s) found, starting Playback.
    2011-04-03 21:04:23.791812 [Info.][MPMain(1)]: Blu-Ray Player Launcher: PreparePlayback
    2011-04-03 21:04:23.793812 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Suspend rendering
    2011-04-03 21:04:23.794812 [Info.][MPMain(1)]: Remotes: Stop was called without Init - exiting
    2011-04-03 21:04:23.797812 [Info.][MPMain(1)]: Blu-Ray Player Launcher: SetRefreshRate for BluRay.
    2011-04-03 21:04:24.031826 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Invalid Refresh Rate: -1 fps
    2011-04-03 21:04:24.037826 [Info.][MPMain(1)]: Blu-Ray Player Launcher: Disc analysis failed/disabled, using 23.976 Hz by default
    2011-04-03 21:04:24.039826 [Info.][MPMain(1)]: Blu-Ray Player Launcher: calling SetRefreshRateBasedOnFPS() - 23.976Hz
    2011-04-03 21:04:24.041826 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 25hz - changing it to 24hz
    2011-04-03 21:04:24.043826 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: using internal win32 method for changing refreshrate. current is 25hz, desired is 24
    2011-04-03 21:04:24.074828 [Info.][MPMain(1)]: Blu-Ray Player Launcher: LaunchPlayer

    Above you are also mention a "similar tool". Can you explain this a little more ?
    Can it work without anydvd (or is there an alternative)?

    @MacGyver2k
    I hope you can also answer my questions.
     

    MacGyver2k

    Portal Pro
    October 29, 2005
    148
    64
    Home Country
    Germany Germany
    i'm not sure i can :)
    i think the iso might still be copy protected, that would give the "-1" error.
    but then mediainfo shouldn't report anything, but in your case it does.
    strange since the plugin uses mediainfo aswell (maybe mediaportals builtin version is older?).

    i'm not sure if there is a "similar tool" to anydvd hd, never used one.
    found that expression anywhere in the forum, and didn't check if there is something similar.

    anydvd hd can be downloaded for free as a trial-version.
    maybe you could install the trial and check if that solves your problem and report back then.
     

    glsf91

    Portal Member
    November 29, 2009
    45
    0
    Home Country
    Netherlands Netherlands
    i'm not sure i can :)
    i think the iso might still be copy protected, that would give the "-1" error.
    but then mediainfo shouldn't report anything, but in your case it does.
    strange since the plugin uses mediainfo aswell (maybe mediaportals builtin version is older?).

    i'm not sure if there is a "similar tool" to anydvd hd, never used one.
    found that expression anywhere in the forum, and didn't check if there is something similar.

    anydvd hd can be downloaded for free as a trial-version.
    maybe you could install the trial and check if that solves your problem and report back then.

    The ISO is not copy protected. It is a home video of my own (i have more with the same problem). Also ANYDVD say's it is not protected.
    After installing AnyDVD I have still the same problem with the same message in the logfile.

    Any idea's ?

    edit:
    I also looked into the sourcecode of this plugin. There I see:

    switch (_BD_Framerate)
    {
    case "23.976":
    fps = 23.976;
    break;
    case "24":
    fps = 24;
    break;
    case "25":
    fps = 25;
    break;
    case "29.970":
    fps = 29.97;
    break;
    case "50":
    fps = 50;
    break;
    case "59.94":
    fps = 59.94;
    break;
    }
    }

    According to my logfile and the sourcecode I think I can only get the -1 message if it not match above case values.

    edit2:
    I'am also looking in de sourcecode of MP. The same mediainfo function is used.
    When I try to play just the file in MP (without this plugin), I get the logging:
    2011-04-15 13:07:24.571730 [Info.][MPMain(1)]: RefreshRateChanger.AdaptRefreshRate: unable to guess framerate on file H:\BDMV\STREAM\00000.m2ts
    2011-04-15 13:07:24.578730 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: could not find a matching refreshrate based on 0 fps (check config)

    It looks like Mediainfo is return a fps of 0 on this file.

    I attached the output of mediainfo on a working file and the not working file.

    I'am not able to compile the source code to a dll unfortunately, don't know how to do this and what I need.

    Any idea how to debug further ?

    edit3:

    It looks like it has something to do where the files are located.
    If I copy the BR files to a loacl disk then mediainfo is working in MP.

    2011-04-15 14:20:54.884985 [Info.][MPMain(1)]: RefreshRateChanger.AdaptRefreshRate: framerate on file G:\Videos\Test\parijs br\BDMV\STREAM\00000.m2ts is 25
    2011-04-15 14:20:54.890985 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: current refreshrate is 25hz - changing it to 50hz

    I'am not using this plugin in this case. If I try to play the file from the mounted ISO on H: (with daemon tools lite), mediainfo is not working.

    Very strange!

    I don't know if I can use this BR/arcsoft plugin without mounting the iso file through daemon tools.
     

    Attachments

    • videos.zip
      2.4 KB

    glsf91

    Portal Member
    November 29, 2009
    45
    0
    Home Country
    Netherlands Netherlands
    I'am also looking in de sourcecode of MP. The same mediainfo function is used.
    When I try to play just the file in MP (without this plugin), I get the logging:
    2011-04-15 13:07:24.571730 [Info.][MPMain(1)]: RefreshRateChanger.AdaptRefreshRate: unable to guess framerate on file H:\BDMV\STREAM\00000.m2ts
    2011-04-15 13:07:24.578730 [Info.][MPMain(1)]: RefreshRateChanger.SetRefreshRateBasedOnFPS: could not find a matching refreshrate based on 0 fps (check config)

    It looks like Mediainfo is return a fps of 0 on this file.

    I'am not using this plugin in this case. If I try to play the file from the mounted ISO on H: (with daemon tools lite), mediainfo is not working.

    After enable "Use MediaInfo for DVDs" in "DVD/DVD Player" in the media portal configuration I don't get the error above anymore. So playing a BR file (.m2ts) straight away from an ISO mounted on a daemon tools lite drive is working now.
    I don't know exactly what the option is doing but is works for BR.
    (the error was for every BR iso file mounted through daemon tools; not only my home made one).

    But with the plugin of this thread (latest version from MacGyver2k) it is still not working.
    Still getting the "Blu-Ray Player Launcher: Invalid Refresh Rate: -1 fps".
     

    Users who are viewing this thread

    Top Bottom