7,314 comments on “Configuring PotPlayer for GPU-accelerated video playback with DirectX Video Acceleration (DXVA), Compute Unified Device Architecture (CUDA) or high-performance software decoding

  1. Hey Ranpha, I currently use Dell U2417H (PLS/AH-IPS panel) and apparently it uses 6-bit + frame rate control dithering which, I was wondering if I should configure my settings as “8 bit” display in madVR or not?

    it’s not a true 8 bit panel though it does produce 16.7m colour so I’m kind of confused as to how I should treat my monitor as.

      • Thanks though according to your madVR guide, it mentions the following: “the latter is preferable especially if the monitor has already done dithering on its own”

        As such, shouldn’t I be setting it to 7 bit? Or it dosen’t apply for my monitor?

        • If you did not turn off the dithering in the monitor level, set it to 7-bit. If in the case that dithering in monitor level, set it to 6-bit.

          • I’m not able to find any options to turn FRC dithering on/off on the monitor which, I’m guessing they’re permanently applied. In this case, I have to use 7 bit correct?

            Also, do I use error diffusion – option 1 or 2 (under rendering tab)?

  2. I noticed that madVR has two new options for artifact removal: reduce compression artifacts & reduce random noise, with both being quite effective for cleaning up lower-res videos. What’s kind of a pain is having to toggle these features on/off, given the resolution of the video itself.

    With that being said, is it possible to add separate artifact removal settings for each scaling algorithm based on the res-based profiles you’ve provided? (SD/HD/FullHD)

    • Yes, it should be possible to do what you want via profiles. I won’t add them in the presets in the installer though, therefore you should be adding them yourself according to your preferences.

  3. I’ve spent the last couple hours composing multiple responses with links, fighting with this site to try and get the comments posted. It keeps blocking my message as spam and wiping the messages.

  4. Thanks for the reply ranpha,

    I just spent about an hour composing a reply with various screenshot links. When I hit Post Comment it got blocked as spam content and the message got wiped out.

    To sum … you were right. The screenshot I posted as working, was not working. I was editing that script continuously and took a screenshot when it was wrong. There was just one extra bracket in there on the 720p profile.

    Here’s what it should have been

    https://i.imgur.com/aI7kfb0.jpg

    Thanks for the correction examples you provided. That works! I still varied them slightly.

    Maybe about 85 – 90 % of my 1080p mp4 content is H264. Almost all of the rest is HEVC 265. So by discriminating between 1080p H264 and 1080p non H264 content, then it effectively works to play all 1080p HEVC 265 content on the non H264 profile that I’ve named as 1080p Other. I’ve tested this now on many files and it works.

    The profiles now work to switch between content based on resolution so I can now tweak other settings more. What I have for settings is pretty good, but I still think it could be better.

    This is my CPU \ GPU with a 43″ 4K 10 bit IPS LG monitor (not HDR):

    https://i.imgur.com/XxIg7x0.jpg

    Here’s an example of what works for the “1080p Other” profile that handles the HEVC 265 content (that’s 1080p HEVC 265 BRay rips ~ 8 10 Mbps Bitrate):

    https://imgur.com/a/nZfZPhz

    If I bump it up this it’s just not smooth, I get kind of like micro stutters every few seconds:

    https://imgur.com/a/7Pl0V2v

    This is for 2160p content and plays all content smoothly:

    https://imgur.com/a/cKEapZv

    Does this seem about right for my hardware setup?

    Thanks

  5. Hi ranpha
    Thanks for this amazing guide. It helped me to get my setup working properly but I want to refine it now.

    I’ve created custom scaling algorithm profiles based off of your templates. I have four templates: SD, 720p, 1080p and 2160p. They all work great. This is how the script looks:

    https://i.imgur.com/3rrISpb.jpg

    But I want to now split the 1080p into two separate profiles – one for h264 and one for HEVC 265. But I don’t know how to add that in. I know from one of Madshi’s Doom9 posts that boolean for h264 is supported. I just don’t know how to add it.

    https://forum.doom9.org/showthread.php?p=1271417#post1271417

    I tried this and it doesn’t work:

    https://i.imgur.com/8dXNqGq.jpg

    Do you know how I can adjust that to get it to work?

    Thanks

    • Boolean operators doesn’t work like that. It is already amazing that https://i.imgur.com/3rrISpb.jpg seems to work, when I actually think it doesn’t.

      Below is an example of how boolean operators works:-


      if (srcHeight < 720) or (fileName = ".avi") "SD"
      else if ((fileName = "
      720p") or (fileName = "1280x720")) or (fileName = ".mp4") "HD"
      else if ((fileName = "1080p") or (fileName = "1920x1080")) "FullHD"
      else if ((fileName = "1080p") or (fileName = "1920x1080") and (h264)) "FullHD H264"
      else "FullHD"

      See the second last line.


      else if ((fileName = "1080p") or (fileName = "1920x1080") and (!h264)) "FullHD non-H264"

      Use the ‘!’ character to infers the codec used in the negative.

      Now, the problem here is that madVR cannot recognize HEVC or H265 codec as of today’s version. The only codecs that has been recognized are VC-1, MPEG2 and H264. Many others, such as DiVX or XviD or MPEG4 or even HEVC did not work at all as a Boolean operator. Therefore what you want to do seems impossible as of now.

      • Thanks for the reply ranpha,

        First, I apologize regarding the link that I posted that I said was working. You were right, it wasn’t. I had edited that script so many times trying to get the other scripts working that I took a screenshot when it wasn’t set back to correct. The only problem was an extra bracket in the 720p line.

        Here is how that should have looked:

        https://i.imgur.com/aI7kfb0.jpg

        You can see from the check mark that it is correct. It gives 4 basic profile options to automatically detect and switch between SD, 720p 1080p and 2160p.

        After posting my question here I ended up reading more about how to use boolean and then through trial and error I came up with this variation.

        https://i.imgur.com/4Dz1UAa.jpg

        And it worked! It discriminates between h264 and non h264 content. I tried it on many different files. And in the end it does what I wanted because almost all of my non h264 1080p’s are HEVC.

        Then I tested variations of the script examples you posted, including the (fileName = “.mp4″) parameter and I like that much better. This opens up further options of refining it further and adding another 2 profiles to distinguish between mp4 and non mp4, for both types of 1080p content.

        This is my setup (i7 4790 \ MSI Gaming GTX 1080) & 4K 43” 10 bit IPS monitor (not HDR):

        https://i.imgur.com/XxIg7x0.jpg

        I don’t really know what is a realistic expectation. For 1080p HEVC 265 8-10 Mbps bitrate mp4 content, I tried NGU Anti-Aliasing Very High settings for chroma and image upscaling and the motion has kind of micro stutters every few seconds. These settings:

        https://imgur.com/a/7Pl0V2v

        If I scale it back to NGU Anti-Aliasing High settings, this works and motion is smooth:

        https://imgur.com/a/nZfZPhz

        This is what I set for 2160p (NGU AA High) and it works to play even the most demanding content.

        https://imgur.com/a/cKEapZv

        I can’t set it to NGU AA Very High because for some demanding 2160p content it’s a slide show.

        Do those settings seem about consistent for a hardware setup like mine?

      • One more try…

        Thanks for the reply ranpha,

        I just spent about an hour composing a reply with various screenshot links. When I hit Post Comment it got blocked as spam content and the message got wiped out.

        To sum … you were right. The screenshot I posted as working, was not working. I was editing that script continuously and took a screenshot when it was wrong. There was just one extra bracket in there on the 720p profile.

        Here’s what it should have been

        https://i.imgur.com/aI7kfb0.jpg

        Thanks for the correction examples you provided. That works! I still varied them slightly.

        Maybe about 85 – 90 % of my 1080p mp4 content is H264. Almost all of the rest is HEVC 265. So by discriminating between 1080p H264 and 1080p non H264 content, then it effectively works to play all 1080p HEVC 265 content on the non H264 profile that I’ve named as 1080p Other. I’ve tested this now on many files and it works.

        The profiles now work to switch between content based on resolution so I can now tweak other settings more. What I have for settings is pretty good, but I still think it could be better.

        This is my CPU \ GPU with a 43″ 4K 10 bit IPS LG monitor (not HDR):

        https://i.imgur.com/XxIg7x0.jpg

        Here’s an example of what works for the “1080p Other” profile that handles the HEVC 265 content (that’s 1080p HEVC 265 BRay rips ~ 8 10 Mbps Bitrate):

        https://imgur.com/a/nZfZPhz

        If I bump it up this it’s just not smooth, I get kind of like micro stutters every few seconds:

        https://imgur.com/a/7Pl0V2v

        This is for 2160p content and plays all content smoothly:

        https://imgur.com/a/cKEapZv

        Does this seem about right for my hardware setup?

        Thanks

  6. Hello ranpha. The Blu-ray subtitles (pgs) are not displayed with the last installer.
    I have selected a language from Subtitles> Add / Sellect Subtitles but do not go out.
    How do I fix this?

      • Hello. After this installer, the subtitles worked.
        I set the Lav Video Decoder on DXVA2 (copu-back) and disappeared again.
        Then I tried by returning from Lav Video Decoder to None (as was the installer) but they did not show up again.
        Any ideas why this is being heard and how to fix this problem.

        • Now, that new problem can’t be replicated here. Changing decoding methods in LAV Video Decoder did not cause the PGS subtitle to disappear. Maybe try reinstall the test file again?

      • I uninstalled the installer and re-installed it.
        I set up from the Lav Video Dekoder on DXVA2 (copu-back) and this time it was all right. I do not know the last time this problem came up, but I’m glad it’s OK now. Thank you for your time and cooperation.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.