•   
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 77
  •   
Win HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
*DISREGARD* correction a couple posts down....... Read post #114 and on.  Since the site change, maybe it doesn't copy over well anymore like it did at one point earlier?  I can see the code you put up is not correct.  The last 3 lines should look like this:  For starters, your 60 and 24 are wrong.

Code:
) + ' /x 1920 /y 1080 /r:' + (refreshRate >= 59 ? 60 : 24), 0, true);


     }


})();


It may be because you copy and pasted here instead of using the 'code' insertion tab on the preview post page as I have.
Working here fwiw although I never use it anymore.  No reason.  Here's the entire thing again for 1080 users:

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 1920 /y 1080 /r:' + (refreshRate >= 59 ? 60 : 24), 0, true);
      }
})();

It should look exactly like this in your file.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
W10/1903 MPC-BE\HC PDVD19 DVDFab3 KODI 19 PotPlayer 960-4GB/RGB 4:4:4/Desktop=60Hz/Video=Matched Refresh rates 8bit/65JS8500 UHD HDR 3D
Reply
Brazen1 : I created a new switch with your code exactly as you have said it .. but it still is throwing the same error.
meanwhile Kodi switches to stereoscopic mode but when i put TV to 3D mode it is as if ALREADY in 3D mode and says switch from 3D to 2D ? so it is quite all screwed up ATM
Reply
My bad.  I don't have a 1080 display anymore, just 2160.  So, can't test 1080, only 2160.  This should work for 1080 though.  Let me know.  It should look exactly like this.  Edit with notepad+ to check.  Note the 59, 24, and 60.

I assume you're trying to play 3D and your display is switching into 3D automatically. Isn't that the goal? Difficult for me to test 1080 stuff anymore.... well, impossible. Match refresh rate in Kodi should take care of this resolution change code. Can't even remember why it was needed anymore tbh? I think it I needed it for things like desktop video from flash or something that did not match streamed video at the time? I dunno, gettin' too old for this I guess...... Anyway, hope this helps you and thanks for bringing it to my attention in the event it will help others too.

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 1920 /y 1080 /r:' + (refreshRate >= 59 ? 24 : 60), 0, true);
      }
})();
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
W10/1903 MPC-BE\HC PDVD19 DVDFab3 KODI 19 PotPlayer 960-4GB/RGB 4:4:4/Desktop=60Hz/Video=Matched Refresh rates 8bit/65JS8500 UHD HDR 3D
Reply
I am setting Kodi up to use external players for almost all of the file types I have, including a 3D mkv I had to create , as the iso did not play - ( tmt ceased to function and shutdown ) , the mkv works , from what I can see. Correct me if I am wrong but as it came from a bluray - it will still be encoded in MVC even if in a MKV container ( hence the addition to the playerfactory and 3diso.bat.

I have included payercorefactory and 3dis.bat files below . I think I undersatnd how it is put together , but want verification before I put it to work .  There are a couple of lines of code I am not sure of - regarding the path variable for the 3dmkv. Do I have this correct , and if not - what will work? thanks in advance for any assistance given

playercorefactory:


Code:
<playercorefactory>
 <players>
   <player name="3D" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Users\jeff\AppData\Roaming\Kodi\userdata\PlayISO3D.bat</filename>
      <args>"{1}"</args>
      <hidekodi>true</hidekodi>
      <hideconsole>true</hideconsole>
      <forceontop>false</forceontop>
   </player>
   <player name="2D" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Users\jeff\AppData\Roaming\Kodi\userdata\PlayISO2D.bat</filename>
      <args>"{1}"</args>
      <hidekodi>true</hidekodi>
      <hideconsole>true</hideconsole>
      <forceontop>false</forceontop>
   </player>
      <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
       <filename>e:\win7\Program Files\MPC-HC\mpc-hc64.exe</filename>
        <args>"{1}" /fullscreen /close</args>
        <hidekodi>false</hidekodi>
        <hideconsole>false</hideconsole>
        <warpcursor>none</warpcursor>
   </player>
    
 </players>
    <rules action="prepend">
      <rule filetypes="mkv|avi" player="VideoPlayer"/>
      <rule filename=".*.3D.iso" player="3D"/>
       <rule filename=".*3d.mkv*" protocols="*3d.mkv*" player="3D"/>
      <rule filetypes="iso|bdmv|mpls|m2ts" player="2D"/>
       <rule filetypes="mkv|ts|" player="MPC-HC"/>
       <rule filetypes="strm" player="VideoPlayer"/>
    </rules>
</playercorefactory>



3diso.bat

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 next)
:next
Set file=%1
Set dummy=%file:bdmv=%
IF NOT %dummy% == %file% (GOTO playbdmv) ELSE (goto playmkv)

:playiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
timeout /t 10
"e:\win7\Program Files (x86)\arcsoft\TotalMedia Theatre 5\uMCEPlayer5.exe" A: exit
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
"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)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
"e:\win7\Program Files (x86)\arcsoft\TotalMedia Theatre 5\uMCEPlayer5.exe" "%pth%" exit
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
GOTO end

:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
"e:\win7\Program Files (x86)\arcsoft\TotalMedia Theatre 5\uMCEPlayer5.exe" %pth% exit
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
GOTO end
:playmkv
@echo off

set pth=%1
set pth=%pth:3D.MKV\3d.mkv=%

"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
timeout /t 10
"e:\win7\Program Files (x86)\arcsoft\TotalMedia Theatre 5\uMCEPlayer5.exe" %pth% exit
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
goto end
:end
exit
Reply
*EDIT*  It appears 'Color Depth, 8,10,and 12 bits) do not work with custom resolutions.  They only allow 8bit at this time.  I won't be using custom resolutions anymore. 

Eliminate dropped frames or reduce them considerably.  (59.940, 23.976, etc.) (2160p, 1080p, etc.)  No affect on 3D unfortunately.  When you start your video, the new custom resolution(s) will be used.  When finished, native resolution returns.  madVR custom resolutions are another method and probably more accurate.  Both show significant improvement in OSD.

Image
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
W10/1903 MPC-BE\HC PDVD19 DVDFab3 KODI 19 PotPlayer 960-4GB/RGB 4:4:4/Desktop=60Hz/Video=Matched Refresh rates 8bit/65JS8500 UHD HDR 3D
Reply
Hello everyone,

I'm trying to switch from 1080p to 4k HDR playback using my HTPC with Kodi 17.5 and I don't understand whether it should work:

HTPC is either Haswell or Skylake CPU; 980ti or 1050ti for the moment, last available official drivers, as far as I understand I don't need Kaby Lake CPU with latest generations of NVDIA GPUs? Win10 Creators update.

Whole setup should be:

HTPC -> HDMI 2.0 -> Anthem receiver -> HDMI 2.0 -> JVC 4k HDR capable projector.

I'll be watching 4k HDR remuxes, 1080p BD remuxes, other 1080p files that should be upscaled to 4k. Audio will be passthrough to receiver, Atmos and DTS:X must be seen by receiver.

I can't understand what software should I use. Is that the latest MadVR + Kodi DSplayer build (Kodi 17.4)? I'm really lost in the list of problems and different software people are referring to on forums here..
Reply
(2017-11-06, 19:04)brazen1 Wrote: Eliminate dropped frames or reduce them considerably.  (59.940, 23.976, etc.) (2160p, 1080p, etc.)  No affect on 3D unfortunately.  When you start your video, the new custom resolution(s) will be used.  When finished, native resolution returns.  madVR custom resolutions are another method and probably more accurate.  Both show significant improvement in OSD.

Image

Thank you again Brazen1. This works flawlessly.
Reply
Kodi DSplayer is a special build of Kodi that has components built into it. This may help simplify and speed up installation for some. You would be dependent on the author to maintain the build. The build is always built around the official Kodi. I am not familiar with its abilities or inabilities if any? This forum uses the official build of Kodi. Although Kodi is constantly under development, here we add our own components and change them at will to improve the performance of Kodi. With the addition of new formats like HDR, Kodi is not always updated to be able to take advantage. Same with some older formats like frame packed 3D. Kodi is an open source charitable development. No one is paid. Authors for advanced development in some areas simply have not stepped forward. Other times advancements simply cannot be added to the official Kodi due to complications but can to custom Kodi builds. Unfortunately, an advancement might be added to one of these custom builds but limits other functions breaking the entire user experience chain. So official and unofficial builds are kept separate. Here we keep the best of both worlds. We always use the official build. We even use nightly builds which are prereleases of official builds designed to enhance performance and available for testing. You are the author. You add what you prefer. Not what someone else thinks you should prefer. Most of the limitations with Kodi discussed here center around the player. Various players have various abilities and inabilities. There is no perfect player so we take advantage of adding as many as we like, each filling voids of the other offering us unlimited playback options simply and automated. Each user is unique in requirements they desire. 4k vs. 1080p. To 3D or not to 3D. mkv vs iso. Blu-ray menus or not. Simplicity vs quality. State of the art or wait and see. HDR or DVD. Local files or streaming. HTPC or device(s). Manual or automated. Limited audio and video or unlimited. Paid or shareware. Specifically authored or mainstream. These are some examples of why one thing might or might not be a better choice for a unique user. It is the user who makes these decisions. I simply prefer to do it all and leave no door closed and share my methods here. If you share the same interest as me, you are in the right place. You can find all the info you want here: https://forum.kodi.tv/showthread.php?tid=229692&page=14 Post #205

You will be using the official builds of Kodi. You can use a nightly version too if you desire but I suggest you use an official release to get started. You can always upgrade it quickly and simply later after confirming everything you desire is working well. Same with official releases of components. Links to those components are listed in the link I provided above. Installation of everything including pictures are also there. Since you listed HDR and the Kodi player is not HDR compatible afaik, you will need a capable player. Since you are using HDR remux you will not require menus. MPC-BE would be your player. This requires madVR + LavFilters components be added to it. It is very simple and takes about 5 minutes to set everything up. Follow the link and related setup pictures I provided to complete your setup.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
W10/1903 MPC-BE\HC PDVD19 DVDFab3 KODI 19 PotPlayer 960-4GB/RGB 4:4:4/Desktop=60Hz/Video=Matched Refresh rates 8bit/65JS8500 UHD HDR 3D
Reply
Brazen1 : Its all come together evntually.& I even got Logitech support to rectify the issue with harmony Elite ,now I have the Alt+F4 Command all mapped & performing as it should.
in the end it seems very simple but by george it took me the whole week to keep trouble shooting.
The main culprit was issue with my playercorefactory & play iso 3D script. Now My playercorefactory is just pointing to PDVD 16 & the PlayISO3D script needed one change in correcting file file structure.
Now SBS & TAB mkv rips are correctly played , I just have to manually switch my passive LG panel to 3D modes.
3D Iso rips are properly played via PDVD16 ( initial pause Bug has to be engaged ). On stopping via ALT+F4 command switches back to kodi with all proper refresh rate changes.
next year IF i upgrade to 4K UHD then it will be another matter . But For now I can just sit back and enjoy my Kodi.
Irony is that we as family Rarely see 3D Movies...... !!!!! Wink
Reply
The good news is todays new NVidia driver release, 388.31, appears to be working better for 3D than previous 388.xx releases. The 3D wizard in the NCP is working again without throwing errors. MPC with madVR and LAVfilters continues to engage 3D mode using FSE mode only with no problems. PowerDVD still assumes a 3D title is HDR and while the panel engages 3D mode, PDVD renders in 2D.

The bad news is attempting to play an HDR title with MPC using madVR FSE results in a black screen. FSE off in windowed mode results in a washed picture with no HDR mode engaged and at other times a very, very, oversaturated picture with HDR engaged.

I will be clean installing 385.69 again and continuing to use perfectly working Windows FCU 1709 with latest madVR, LAV, and MPC with Kodi x64 nightlies. This is still my go to default when new things are not working.


This was determined after todays Windows Cumulative Update fwiw.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
W10/1903 MPC-BE\HC PDVD19 DVDFab3 KODI 19 PotPlayer 960-4GB/RGB 4:4:4/Desktop=60Hz/Video=Matched Refresh rates 8bit/65JS8500 UHD HDR 3D
Reply
Hi, 

I am also interested in 4k HDR with my LG B7 TV. So if I go the 1050ti LP? road it should be ok by following your tutorial? Can you please help me also with the other components? I did not touch PC hardware in a long long time and have no idea. I will only use it as HTPC, so no gaming whatsoever. Interested in 4k/4k hdr remuxes (with menus would be a bonus but is not necessary) /1080p remuxes/h264 /720p and some older SDTV. Would your tutorial work for all this without changing settings every time I throw something else? 3D not interested. 
Thanks for your time.
Reply
A 1050ti LP 4GB should work fine.  Other components should not matter because your 1050 is doing all the work.  I don't know how you are ripping but a 'remux' is usually main movie only and never has menus.  If you rip a complete file structure and want menus, you will need to use a player that is compatible.  PowerDVD is the only one and requires special hardware.  However, the methods here explain how play a full rip main movie only.  Once you have followed the instructions and set up, you will be done.  No need to change settings again.  All the general instructions and many detailed instructions are here.  You need to read the thread and figure out what applies to you since there are so many different set ups.  If there is something specific you need help with, ask and myself or someone else will help you.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
W10/1903 MPC-BE\HC PDVD19 DVDFab3 KODI 19 PotPlayer 960-4GB/RGB 4:4:4/Desktop=60Hz/Video=Matched Refresh rates 8bit/65JS8500 UHD HDR 3D
Reply
Thank you. I do not need full menus necessarily. Remux is sufficient.
Reply
Is this what you mean by special hardware required for full disk menus?
http://forum.blu-ray.com/showthread.php?t=287599&page=6

Sorry I couldn't find the info. As I see from the link these are required for UDH Disks, not for ISO's.

Thanks.
Reply
https://www.cyberlink.com/stat/bd-support/enu/uhdbd.jsp

Disc or iso, if you want menus, PowerDVD is the only player, aside from a dedicated player which is disc only.  Menus with PDVD will require hardware at the bottom of the page of that link.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
W10/1903 MPC-BE\HC PDVD19 DVDFab3 KODI 19 PotPlayer 960-4GB/RGB 4:4:4/Desktop=60Hz/Video=Matched Refresh rates 8bit/65JS8500 UHD HDR 3D
Reply
  •   
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 77
  •   
 
Thread Rating:
  • 39 Vote(s) - 4.49 Average



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