Win HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
(2016-10-04, 20:04)brazen1 Wrote: As hardware, firmware, and software evolve, so has the setup for Nvidia.
This setup is 100% reliable and continues to perform perfectly imo and no reason anyone else's can't as well.

brazen1,

Before I begin to redo my setup and implement your instructions, I have 2 questions:

i. I do not have a 4K system for now. It's all 1080p. The HTPC (nVidia GTX 1080), Epson 5010 3D 1080p Projector, Yamaha RX-A2000 Receiver. That being the case, do I still need to implement the qres/refreshratechanger js implementations as defined in the following:

(2016-10-04, 20:04)brazen1 Wrote: 4k users will be using an additional JScript code to switch refresh rates appropriately. Here's how to do it:
google qres.exe or just get it from http://www.majorgeeks.com/files/details/qres.html
Create a folder in your User/Documents folder and name it RefreshRateChanger. Put QRes.exe inside it. Create .txt file and rename to switch.js in the same RefreshRateChanger folder. Edit in this code:

Code:
(function() {
      var refreshRate = 0;

      // Get current refresh rate

      var wmiService = GetObject('WinMgmts://./root/cimv2');
      refreshRate = new Enumerator(
          wmiService.ExecQuery('SELECT * FROM Win32_VideoController WHERE Availability <> 8')
      ).item(0).CurrentRefreshRate;
      
      if (typeof refreshRate != 'number' || refreshRate === 0) {
          WScript.Echo('Duh. Cannot determine current refresh rate.');
      } else {

          // Run QRes.exe to change refresh rate

          var fs = new ActiveXObject('Scripting.FileSystemObject');
          var shell = new ActiveXObject('WScript.Shell');
          shell.Run(fs.GetAbsolutePathName(fs.BuildPath(
              fs.GetParentFolderName(WScript.ScriptFullName), 'QRes.exe')
              ) + ' /x 3840 /y 2160 /r:' + (refreshRate >= 59 ? 24 : 60), 0, true);
      }
})();

I also see references to the above in the PlayISO3D.bat ... would that be required on a non-4K system?

ii. As with my current setup, I'd like to play ALL ISO's, 2D or 3D, blu-ray or DVD, in PowerDVD, and everything ELSE, in KODI. I don't wish to segregate 2D/3D and other video formats in Kodi. I actually made some changes to your original scripts to accomplish this and it works fine for me, but since the refresh rate issue isn't -- I'm starting from scratch -- I just want some advice, what steps/scripts can I skip, considering I'm not segregating 2D/3D and other formats, if I want all ISO's to play in PowerDVD and everything else to play in KODI?

My current Playercorefactory.xml looks like this:

Code:
<playercorefactory>
  <players>
     <player name="PowerDVD" type="ExternalPlayer" audio="false" video="true">
       <filename>C:\Users\l3viathan\AppData\Roaming\Kodi\userdata\PlayISO.bat</filename>
       <args>"{1}"</args>
       <hidekodi>true</hidekodi>
       <hideconsole>true</hideconsole>
       <forceontop>false</forceontop>
     </player>
    </players>
     <rules action="prepend">
       <rule filetypes="iso|bdmv|mpls" player="PowerDVD"/>
     </rules>
</playercorefactory>

And my PlayISO.bat looks like this:
Code:
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)

:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)

:playiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\CyberLink\PowerDVD16\PowerDVD.exe" J:
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
GOTO end

:plaympls
set pth=%1
set pth=%pth:~1,-25%
"C:\Program Files (x86)\CyberLink\PowerDVD16\PowerDVD.exe" "%pth%" exit
GOTO end

:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\CyberLink\PowerDVD16\PowerDVD.exe" %pth% exit
GOTO end

:end
exit

As you can see, I have nothing in the above to do with Qres/JS/RefreshRateChanger, and I'm not segregating 2D/3D.

Appreciate your help.

Thanks!
Reply
 
Thread Rating:
  • 39 Vote(s) - 4.49 Average


Messages In This Thread
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:20
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:29
RE: Kodi 3D Guide - by michaelsammler - 2015-06-22, 00:38
RE: Kodi 3D Guide - by brazen1 - 2015-06-23, 17:15
RE: Kodi 3D Guide - by michaelsammler - 2015-06-24, 02:23
RE: Kodi 3D Guide - by brazen1 - 2015-06-24, 17:22
RE: Kodi 3D Guide - by michaelsammler - 2015-06-25, 09:26
RE: HOW TO - Kodi 2D & 3D Guide Internal & External Players Incl afedchin build - by luci5r - 2016-10-10, 22:41
HELP! - by brazen1 - 2018-08-22, 18:50
RE: HELP! - by zxaura1 - 2018-08-24, 09:32
Problem with DXVA scaling videos - by obstler - 2018-10-27, 10:13


Logout Mark Read Team Forum Stats Members Help
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players4.4939