Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th April 2025, 14:16   #65841  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,366
Quote:
Originally Posted by Siso View Post
NGU AA for luma? It moves the pixels by 1, unlike any other scaler.
it's 0.5 just like nnedi3 pretty much just an update for that scaler.
nnedi is a deinterlacer not a scaler so that why it moves the image top field and bot field and such. ngu aa does the same so you can easily assume it also works like a bob deint algorithm.

and because it moves the image by half a sub pixel it can't be compared with metrics.
huhn is offline   Reply With Quote
Old 15th April 2025, 14:28   #65842  |  Link
Siso
Soul Seeker
 
Siso's Avatar
 
Join Date: Sep 2013
Posts: 751
Quote:
Originally Posted by huhn View Post
it's 0.5 just like nnedi3 pretty much just an update for that scaler.
nnedi is a deinterlacer not a scaler so that why it moves the image top field and bot field and such. ngu aa does the same so you can easily assume it also works like a bob deint algorithm.

and because it moves the image by half a sub pixel it can't be compared with metrics.
Does it affect the Aspect Ratio of the files?
Siso is offline   Reply With Quote
Old 15th April 2025, 14:41   #65843  |  Link
Amuat
Registered User
 
Join Date: Jun 2023
Posts: 94
So AA is your recommendation for luma too? I mean, like said earlier, content is a factor too, but if you had to choose one for general use? Is the difference here as significant between very high and high as with chroma?
Amuat is offline   Reply With Quote
Old 15th April 2025, 15:36   #65844  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,454
I prefer NGU AA over the others for general content.

The performance hit for using NGU AA very high for chroma scaling is lower because it processes half the number pixels (it is used during the conversion from 4:2:0 to 4:4:4).

However, luma is always more important than chroma. The difference between very high and high is also more important for luma. There is more detail in the luma to work with and humans are more sensitive to luma details. You are much more likely to notice a difference between NGU high and very high with luma scaling than chroma scaling.
__________________
madVR options explained

Last edited by Asmodian; 15th April 2025 at 15:39.
Asmodian is offline   Reply With Quote
Old 15th April 2025, 17:25   #65845  |  Link
Sunspark
Registered User
 
Join Date: Nov 2015
Posts: 630
Quote:
Originally Posted by GoldenSW View Post
1. I have some older 576i interlaced videos and want madVR to handle the deinterlacing for maximum quality, of course only if it's better than LAV at deinterlacing.
Just leave LAV settings at no software deinterlacing, and adaptive hw unchecked.

In MadVR, check disable automatic source type detection and select "force film mode". This is for stuff that was filmed at 24 fps and aired at 30 fps on 60 Hz displays which is almost everything before they switched over to digital filming. After, it depends.

Quote:
Hardware Decoder: Given my hardware and the use of madVR, what is the best option under "Hardware Decoder to use" in LAV Video? Is D3D11 generally preferred over DXVA2?
You can use D3D11 Automatic decoding and have D3D11 presentation mode checked (which is an interop to the underlying D3D9 code anyway). My Windows setup is old, so I just use copy-back dxva2.
Sunspark is offline   Reply With Quote
Old 16th April 2025, 05:22   #65846  |  Link
JNW
Registered User
 
Join Date: Sep 2017
Posts: 53
Strange. I per prefer no pixel offset.
JNW is offline   Reply With Quote
Old 16th April 2025, 05:29   #65847  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,366
Quote:
Originally Posted by Siso View Post
Does it affect the Aspect Ratio of the files?
no it does not affect that at all.

Quote:
Originally Posted by GoldenSW View Post
Hi everyone,
I'm trying to fine-tune my MPC-HC setup for the best possible video quality and performance using madVR and I have a couple of questions. Any help would be greatly appreciated!
My setup: MPC-HC 2.4.1, madVR build 207, fully updated Windows 11, RTX 2080, i7-9700k

1. I have some older 576i interlaced videos and want madVR to handle the deinterlacing for maximum quality, of course only if it's better than LAV at deinterlacing.
In LAV Video Decoder's "Deinterlacing Mode" settings, what's the recommended approach? Should I select "Disabled (Progressive)" to ensure LAV doesn't touch it? Or is setting it to "Auto" generally sufficient to let madVR take over when needed? If "Auto" is selected, and the "Software Deinterlacing" sub-option is "No Software Deinterlacing", does this guarantee LAV won't interfere, or could Auto still potentially perform deinterlacing itself sometimes?

2. Optimal hardware acceleration settings:
Hardware Decoder: Given my hardware and the use of madVR, what is the best option under "Hardware Decoder to use" in LAV Video? Is D3D11 generally preferred over DXVA2?
Hardware Device: I understand madVR often needs a "copy-back" mode to allow its processing (including deinterlacing). Are there any scenarios when using madVR where a "native" mode is recommended or safe since these is a noticeable performance difference, or should I always stick with a copy-back mode to ensure madVR works correctly? It may be worth noting I don't use anything in the "processing" category in madvr except very rarely deinterlacing.
the best hardware decoder for interlaced content is by far >none<
hardware decoder can turn soft telecine to hard telecine and you really don't want that.

the lavfitler default settings for deint are perfection.

keep your hands of d3d11 native decode it is digital satan and needs to be punished by a hammerhead to the face in the name of ludd thanks to madVR not using it as it should be used.

Quote:
Originally Posted by Amuat View Post
So AA is your recommendation for luma too? I mean, like said earlier, content is a factor too, but if you had to choose one for general use? Is the difference here as significant between very high and high as with chroma?
yes NGU AA is tha best and da greatest.
Quote:
Originally Posted by Asmodian View Post
I prefer NGU AA over the others for general content.

The performance hit for using NGU AA very high for chroma scaling is lower because it processes half the number pixels (it is used during the conversion from 4:2:0 to 4:4:4).

However, luma is always more important than chroma. The difference between very high and high is also more important for luma. There is more detail in the luma to work with and humans are more sensitive to luma details. You are much more likely to notice a difference between NGU high and very high with luma scaling than chroma scaling.
for some unknown reason NGU AA very high can grow wings when chroma scaling showing ridiculous difference between very high and high.

even with that case your core statement is obviously correct luma is so much more important that this fact does not matter much if at all.
but very high is not worth the performance cost for luma.
and general i think NGU AA is not worth it for chroma it's to expensive but that is my problem.

i saw things i can't even bring to words.
huhn is offline   Reply With Quote
Old 16th April 2025, 07:37   #65848  |  Link
GoldenSW
Registered User
 
Join Date: Mar 2021
Posts: 5
Quote:
Originally Posted by huhn View Post
no it does not affect that at all.


the best hardware decoder for interlaced content is by far >none<
hardware decoder can turn soft telecine to hard telecine and you really don't want that.

the lavfitler default settings for deint are perfection.

keep your hands of d3d11 native decode it is digital satan and needs to be punished by a hammerhead to the face in the name of ludd thanks to madVR not using it as it should be used.
But does madvr use hardware deinterlacing?
Also do you have any concrete examples of why using native might be bad for my context?
I have found this information in this post:
Quote:
-DXVA2 Native DX9 hardware decoding returns bad quality (blurred chroma) on Nvidia GPUs. The DX11 hardware decoding API (D3D11VA) that is used when LAV Video is set to D3D11 Automatic (so native decoding is used), and madVR is set to use Direct3D 11, avoids these problems. So do all copy-back hardware or software decoding methods.
-All Native hardware decoding methods result in some functional ramifications. It is impossible to use force film (IVTC) and the detection of black bars does not work. madVR can still shift the entire video (including any hard coded black bars) to the top or the bottom of the screen, as well as crop pixels off all sides, but it cannot detect black bars. Again, copy-back hardware or software decoding avoids these problems.
GoldenSW is offline   Reply With Quote
Old 16th April 2025, 09:42   #65849  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,366
that's accurate and should be enough.
with D3D11 native madVR will tell you it can't deint.

madVR can do ivtc(only with copyback or software) or use a hardware deint provided by the GPU driver it has nothing else available. hardware deint is often broken. broken deint is now a feature on AMD for how long it is been broken.

film mode=IVTC
video mode=deint

edit:
Quote:
-DXVA2 Native DX9 hardware decoding returns bad quality (blurred chroma) on Nvidia GPUs. The DX11 hardware decoding API (D3D11VA) that is used when LAV Video is set to D3D11 Automatic (so native decoding is used), and madVR is set to use Direct3D 11, avoids these problems. So do all copy-back hardware or software decoding methods.
that bold part is wrong even with d3d9 presentation the issue is fix.

the issue is dxva2 native uses RGB for the interop so it has to chroma scale and rgb convert which will do quite some damage and is well not bit perfect.
with d3d11 it can transfer the image natively as is so it is so bit perfect and the first thing madVR does is an d3d11 d3d9 interop which is also lossless (first line in the OSD).

Last edited by huhn; 16th April 2025 at 09:53.
huhn is offline   Reply With Quote
Old 16th April 2025, 10:03   #65850  |  Link
JohnRo79
Registered User
 
Join Date: Oct 2023
Posts: 8
hi guys

it seems that when i use MadVR with Mpc-BE , when i go full screen, the lower dark bar and the top one
are both covering the Subtitles (bottom) and even the TV's native Display info (at the top)

using v 00.92.17 (forgot on how to check what build)
JohnRo79 is offline   Reply With Quote
Old 16th April 2025, 10:12   #65851  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,366
neither the PC nor madVR can black the TVs native info bar only the TV can.

but why would the time information survive...
huhn is offline   Reply With Quote
Old 16th April 2025, 15:04   #65852  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,454
Quote:
Originally Posted by huhn View Post
that bold part is wrong even with d3d9 presentation the issue is fix.
Thanks! Fixed.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 16th April 2025, 17:03   #65853  |  Link
JohnRo79
Registered User
 
Join Date: Oct 2023
Posts: 8
Quote:
Originally Posted by JohnRo79 View Post
hi guys

it seems that when i use MadVR with Mpc-BE , when i go full screen, the lower dark bar and the top one
are both covering the Subtitles (bottom) and even the TV's native Display info (at the top)

using v 00.92.17 (forgot on how to check what build)
i went all nuts on it: ddu, new drivers, new madvr, new mpc-be, fresh settings
all is fine now
JohnRo79 is offline   Reply With Quote
Old 16th April 2025, 19:14   #65854  |  Link
purplebaby
Registered User
 
Join Date: Jun 2021
Posts: 17
I'm unsure if HDR is working correctly. I've just upgraded from Win 10 to Win 11.

I'm using MPC-HC x64 latest version and madVR.

When I launched hdr movies with this setup in Win 10, my TV (LG CX, secondary display, connected via HDMI, I don't 'extend', I use only the monitor or only the TV at a time) would switch over to HDR mode, with colors matted in windowed mode, and with correct HDR display in fullscreen mode.

But now in Win 11, it appears to have somewhat correct colors in windowed mode as far as I can tell, perhaps without the fullest contrast hdr can give, but it does NOT switch the TV into hdr mode. It remains in standard mode regardless of fullscreen or not.

Rtx 5090 (572.83 drivers). Any advice would be appreciated.
purplebaby is offline   Reply With Quote
Old 17th April 2025, 13:42   #65855  |  Link
purplebaby
Registered User
 
Join Date: Jun 2021
Posts: 17
I figured ut out. I had to remove displays from madvr, unplug the monitor cable and let madvr discover the tv afresh as the only connected display, making it primary.

But now I can't get madvr to NOT enable hdr on my IPS desk monitor... I've set it to tone mapping, but it still switches to hdr mode when opening a hdr file.
purplebaby is offline   Reply With Quote
Old 17th April 2025, 13:45   #65856  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 8,366
install the newest beta could be the win 11 device bug.
huhn is offline   Reply With Quote
Old 17th April 2025, 17:27   #65857  |  Link
GoldenSW
Registered User
 
Join Date: Mar 2021
Posts: 5
@huhn, @Sunspark thank you! appreciate the input! One thing is for sure, there doesn't seem to be much advantage in using d3d11 native instead of copy-back with powerful modern hardware. Performance difference is maybe 1-1.5ms with my setup.
GoldenSW is offline   Reply With Quote
Old 17th April 2025, 18:01   #65858  |  Link
purplebaby
Registered User
 
Join Date: Jun 2021
Posts: 17
Quote:
Originally Posted by huhn View Post
install the newest beta could be the win 11 device bug.
Newest beta of what? I don't see any betas for madvr
purplebaby is offline   Reply With Quote
Old 17th April 2025, 18:31   #65859  |  Link
JohnRo79
Registered User
 
Join Date: Oct 2023
Posts: 8
Quote:
Originally Posted by purplebaby View Post
Newest beta of what? I don't see any betas for madvr
https://www.videohelp.com/software/madVR
JohnRo79 is offline   Reply With Quote
Old 17th April 2025, 18:51   #65860  |  Link
purplebaby
Registered User
 
Join Date: Jun 2021
Posts: 17
Quote:
Originally Posted by JohnRo79 View Post
Thanks.

That worked.

I still get the issue, sometimes, of HDR mode being entered into on the TV when opening a hdr file, but the colors are extremely matted and dimmed video, such as you typically see outside the video window. I have to reboot to get it back to working normally.
purplebaby is offline   Reply With Quote
Reply

Tags
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:46.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.