External player script for TMT5 2D/3D BD playback (1 Viewer)

Rick164

MP Donator
  • Premium Supporter
  • January 7, 2006
    1,332
    1,009
    Home Country
    Netherlands Netherlands
    Hi,

    When using the external player option in Moving pictures it's not possible to parse if it's a 2d/3d movie and specify 24p mode as well, so made a batch script which does the following:

    - Change refresh rate to 24hz for Blu-rays, current version of TMT5 does this on some configs but not always so included a workaround.
    - Check whether it's a 2D or 3D movie by:

    Checking folder path name
    Enable/disable Nvidia 3D vision if needed.

    - Optional check when mounting Blu-ray 3D movies from ISO files, it will dual mount it to 2 drive letters and the external player scripts checks if the 3D drive (X: in example) is mounted.

    Requirements
    -----
    Ultramon
    Daemon tools lite <-- Virtual clone drive will work as well but had bugs when unmounting sometimes (drives disappearing)
    -----

    How to
    -----
    1. Change batch script:

    - Name of folder containing 3D blu-rays
    - Daemon tools lite location if needed

    2. Change Ultramon profile location, it will need to be a profile which has 24hz set and normal 50/60hz (TV.umprofile and TV_24p.umprofile in example)
    3. Set external player script in moving pictures config:

    MP config - > plugins -> Moving pictures -> About -> Advanced settings -> Blu-ray/HD-DVD Playback -> Use external player - True
    MP config - > plugins -> Moving pictures -> About -> Advanced settings -> Blu-ray/HD-DVD Playback -> External player path -> "location of TMT5.bat"

    4. Create 2 Default drives in Daemon tools lite, in the example those are V: for BD/DVD 2D playback and X: from BD 3D.
    5. Change MP config

    MP config -> DVD Discs/Images -> Virtual drive -> Automount image files -> Checked
    MP config -> DVD Discs/Images -> Virtual drive -> Drive tool > "location of MountImage.bat"
    MP config -> DVD Discs/Images -> Virtual drive -> Drive -> Default drive letter from Daemon tools lite

    Change "MountImage.bat" file if needed.
    -----

    The script is bit messy but it works :p , normally only code in c# so might make a clean version in that language.
    If anyone has a better way to do this please let me know :)
     

    Attachments

    • TMT5_v001.zip
      1.1 KB

    toga67

    Portal Pro
    October 15, 2010
    181
    11
    Home Country
    Germany Germany
    Hi Rick164,
    i have the same problem like you. Your solution is quite complicated. In the meantime did you find an easier solution?
    Thanks in advance.
     

    toga67

    Portal Pro
    October 15, 2010
    181
    11
    Home Country
    Germany Germany
    Hi Rick164,
    i own only 2 3D Blu-Rays but all of the have the additional folder "BDMV\STREAM\SSIF". It seems to me that the foldername SSIF could be used to differ 3D Blu-Rays from normal Blu-Rays. So perhaps, if you write in your batch something like "IF EXIST F:\BDMV\STREAM\SSIF goto Enable3D" would make the code easier?
    I will try that next week. I have only iso files and i want to enable nvidia 3d vision dynamically if i lauch a 3D movie. And after the movie 3D vision must be disabled because i have also some mkv files. In pseudocode it looks like:

    set dd=%1
    IF EXIST F:\BDMV\STREAM\SSIF goto Enable3D

    :start
    "C:\Programme\ArcSoft\TotalMedia Theatre 3\uMCEDVDPlayer.exe" %1
    echo "closing BR DISC",%1 >> output.log
    :: Disable Vision 3D here after the movie
    goto:eof

    :Enable3D
    :: Enable Vision 3D here
    goto start
     

    Users who are viewing this thread

    Top Bottom