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 10th October 2018, 10:27   #53081  |  Link
mkver
Registered User
 
Join Date: May 2016
Posts: 197
I think there is something wrong with cropping in case upstream signalled cropping parameters in case of native DXVA2 decoding: Here is a sample file with 80 pixels of black bars at the top and at the bottom and a white rectangle in the middle which is a square when viewed with the right (i.e. non-anamorphic) aspect ratio. If I play this with DXVA2 native in MPC-BE, the pin info is as it should be:
Code:
- Connection media type:

Video: dxva 1280x720 (16:7) 25fps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_NV12 {3231564E-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1382400
cbFormat: 112

VIDEOINFOHEADER:
rcSource: (0,80)-(1280,640)
rcTarget: (0,80)-(1280,640)
dwBitRate: 0
dwBitErrorRate: 0
AvgTimePerFrame: 400000 (25.000 fps)

VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000081
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 16
dwPictAspectRatioY: 7
dwControlFlags: 0x0000a581
- VideoChromaSubsampling: 5
- NominalRange          : 2 (16-235)
- VideoTransferMatrix   : 1 (BT.709)
- VideoLighting         : 0
- VideoPrimaries        : 0
- VideoTransferFunction : 0
dwReserved2: 0x00000000
It says that the rectangle with upper left at (0,80) and lower right at (1280,640) should be displayed with an aspect ratio of 16:7 (i.e. non-anamorphically). And with DXVA2 disabled, madVR does this (regardless of the setting of "automatically detect hard coded black bars"). But with DXVA2 enabled, it displays the rectangle with upper left (0,0) and lower right (1280,560) with an aspect ratio of 16:7. EVR and EVR-CP are able to crop in DXVA2 mode (if the crop values don't respect the subsampling, they might be off by 1 though), but if madVR can't, wouldn't it be better to use the following falback algorithm instead of the currently used one: 1. Calculate the pixel aspect ratio. 2. Display the whole, uncropped movie with this pixel aspect ratio.
mkver is offline   Reply With Quote
Old 10th October 2018, 10:31   #53082  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
@blaubart
No issues here, if madVR had a bug like this I think it would've been found long before now, maybe your screen has different level settings depending on content if that's even possible? That's the only thing I can think of.
ryrynz is offline   Reply With Quote
Old 10th October 2018, 10:41   #53083  |  Link
mclingo
Registered User
 
Join Date: Aug 2016
Posts: 1,348
Quote:
Originally Posted by Warner306 View Post
I'm not sure if I'm supposed to take you seriously, mclingo. You didn't mention what gamut your display was set to. Is the calibration issue at your display or somewhere else? You can't just post bug reports for days on end.

You appear to have misremembered the conversation, I told you I didnt have any BT2020 vs BT709 settings, I only had WIDE and NORMAL settings for gamut and I told you I had it set to WIDE only for HDR.

https://forum.doom9.org/showthread.p...07#post1854007
__________________
LG OLED EF950-YAM RX-V685-RYZEN 3600 - 16GBRAM - WIN10 RX 5700 - https://www.videohelp.com/software/madVR/old-versions
mclingo is offline   Reply With Quote
Old 10th October 2018, 10:44   #53084  |  Link
mytbyte
Registered User
 
Join Date: Dec 2016
Posts: 212
Quote:
Originally Posted by ryrynz View Post
@blaubart
No issues here, if madVR had a bug like this I think it would've been found long before now, maybe your screen has different level settings depending on content if that's even possible? That's the only thing I can think of.
Of course it's possible on every TV that allow you to manually force level settings or there are content presets like on Panasonics. I get proper levels output chain even if driver is set to output limited studio levels while MadVr outputs PC levels. (I suspect there are some precission losses in that case)

Last edited by mytbyte; 10th October 2018 at 10:50.
mytbyte is offline   Reply With Quote
Old 10th October 2018, 10:49   #53085  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
Wasn't sure if any TVs did that, although I knew it would be possible, just not encountered it.

blaubart if you set your GPU output to limited levels and madVR to 0-255 does it fix your issue and display properly for each content type?
ryrynz is offline   Reply With Quote
Old 10th October 2018, 12:02   #53086  |  Link
j82k
Registered User
 
Join Date: Jun 2017
Posts: 155
@madshi
would it be possible to allow negative values for the "custom levels" setting, basically to cause some minor black crush??

The reason why I want to do that is that on quite a few UHD movies what should be black is just a hair above black.

Just to give you an example, every fade to black and also the credits of the UHD version of Red Sparrow shows RGB values like 1,0,1 or 1,1,1 or 0,1,0.
On my Oled in a pitch-dark room I can see this as a faint black glow.

When using limited range in madVR I can just set the custom levels to something like 15.5 to 235 but I would rather keep the whole chain in full RGB.
j82k is offline   Reply With Quote
Old 10th October 2018, 13:14   #53087  |  Link
blaubart
Registered User
 
Join Date: Apr 2009
Posts: 42
Quote:
Originally Posted by ryrynz View Post
blaubart if you set your GPU output to limited levels and madVR to 0-255 does it fix your issue and display properly for each content type?
Thank you guys for giving me some hope. Again testing the different Nvidia outputs. There is
RGB -> 8 bpc - limited/full
YCbCr 420, 422 and 444 - (limited grayed out)

420 - 8, 12 bpc
422 - 8, 10, 12 bpc
444 - 8 bpc

Ok only if I set to RGB output and then open the TV's picture menu the option "HDMI Black Level - Normal/Low" is switchable. "Normal" means 16-235 and the complete desktop now washed out. Nvidia output limited/full has no more effect cause TV's input is limited.

But now indeed madVR playing HDR "0-255" has correct black levels! But sorry I don't wanna live with a castrated TV forced to 16-235 8-Bit ! Would you?

Last edited by blaubart; 10th October 2018 at 13:32.
blaubart is offline   Reply With Quote
Old 10th October 2018, 17:03   #53088  |  Link
brazen1
Registered User
 
Join Date: Oct 2017
Posts: 331
On a Samsung - what you are using - "Normal" is not 16-235. Low is. Normal is 0-255.
__________________
HOW TO-Kodi 2D-3D-UHD (4k) HDR Guide Internal & External Players
W11 Pro 24H2 GTX960-4GB RGB 4:4:4 @Matched Refresh Rates 8,10,12bit
KODI 22 MPC-HC/BE 82" Q90R Denon S720W
brazen1 is offline   Reply With Quote
Old 10th October 2018, 17:38   #53089  |  Link
Betroz
Is this for real?
 
Betroz's Avatar
 
Join Date: Mar 2016
Location: Norway
Posts: 168
I can sort of confirm what blaubart is saying here. I have an LG C8 OLED connected to my HTPC, and I must set Black Level to High in my TVs menu or else the image is way too dark in dark scenes. This is with SDR content too. Doesn't matter is I use VLC or Media Player Classic Home Cinema(MPC-HC). So it can't be a MadVr problem I think.
__________________
My HTPC : i9 10900K | nVidia RTX 4070 Super | TV : Samsung 75Q9FN QLED
Betroz is offline   Reply With Quote
Old 10th October 2018, 17:50   #53090  |  Link
mclingo
Registered User
 
Join Date: Aug 2016
Posts: 1,348
on my LG EF950 OLED my chain is as follows - AMD GFX 4:4:4 FULL RGB 8 bit - MADVR 0-255 - TV "HIGH" - pretty sure this is correct.

Should be the same for HDR and SDR content.
__________________
LG OLED EF950-YAM RX-V685-RYZEN 3600 - 16GBRAM - WIN10 RX 5700 - https://www.videohelp.com/software/madVR/old-versions

Last edited by mclingo; 10th October 2018 at 17:54.
mclingo is offline   Reply With Quote
Old 10th October 2018, 18:27   #53091  |  Link
Betroz
Is this for real?
 
Betroz's Avatar
 
Join Date: Mar 2016
Location: Norway
Posts: 168
Quote:
Originally Posted by mclingo View Post
on my LG EF950 OLED my chain is as follows - AMD GFX 4:4:4 FULL RGB 8 bit - MADVR 0-255 - TV "HIGH" - pretty sure this is correct.

Should be the same for HDR and SDR content.
Yes, but Black Level = Low works well with my Panasonic UB820 bluray player with SDR and HDR content. Not sure why it is different with a PC connected.
__________________
My HTPC : i9 10900K | nVidia RTX 4070 Super | TV : Samsung 75Q9FN QLED
Betroz is offline   Reply With Quote
Old 10th October 2018, 18:35   #53092  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
I'm guessing you have the UB820 set to YCbCr Auto, yes? That COULD be part of the difference. Maybe.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 10th October 2018, 18:38   #53093  |  Link
mclingo
Registered User
 
Join Date: Aug 2016
Posts: 1,348
Quote:
Originally Posted by Betroz View Post
Yes, but Black Level = Low works well with my Panasonic UB820 bluray player with SDR and HDR content. Not sure why it is different with a PC connected.

your UB820 will be sending a limted signed to your TV where you PC will be sending FULL RGB, hence the difference.

SamuriHL - sorry missed your reply
__________________
LG OLED EF950-YAM RX-V685-RYZEN 3600 - 16GBRAM - WIN10 RX 5700 - https://www.videohelp.com/software/madVR/old-versions
mclingo is offline   Reply With Quote
Old 10th October 2018, 18:42   #53094  |  Link
brazen1
Registered User
 
Join Date: Oct 2017
Posts: 331
Because a dedicated player uses YCbCr and a PC uses RGB. YCbCr does not use 0-255. It uses 16-235. This is why smart displays have an 'auto' setting. To detect the input and adjust the output. This 'auto' adjustment defaults to 16-235 on my panel. I think panels are programmed around dedicated players. So are 'devices'. This introduces the havoc we PC users face.
__________________
HOW TO-Kodi 2D-3D-UHD (4k) HDR Guide Internal & External Players
W11 Pro 24H2 GTX960-4GB RGB 4:4:4 @Matched Refresh Rates 8,10,12bit
KODI 22 MPC-HC/BE 82" Q90R Denon S720W
brazen1 is offline   Reply With Quote
Old 10th October 2018, 19:19   #53095  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
To deal with that issue on your PC, you could set madvr to 16-235 (limited), the GPU to RGB FULL, and the TV to auto. It SHOULD show correctly in that configuration.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 10th October 2018, 19:38   #53096  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
why should you even use auto if it doesn't work and just runs at limited.

Quote:
Originally Posted by blaubart View Post
0-255 - the half sample (0-10%) I see nearly nothing then at ~ 16% I can read the letters.
16-235 - even 2% appears as it should be. Maybe madVR is a bit broken?
if you mean with madVR your end device yes could be.
for what ever reason is looks like needs limited range for HDR.

Quote:
Ok only if I set to RGB output and then open the TV's picture menu the option "HDMI Black Level - Normal/Low" is switchable. "Normal" means 16-235 and the complete desktop now washed out. Nvidia output limited/full has no more effect cause TV's input is limited.
that'S not how it works.
if set your GPU to full range RGB it will send full range RGB if your end device like it or not.
huhn is offline   Reply With Quote
Old 10th October 2018, 19:56   #53097  |  Link
blaubart
Registered User
 
Join Date: Apr 2009
Posts: 42
Quote:
Originally Posted by brazen1 View Post
On a Samsung - what you are using - "Normal" is not 16-235. Low is. Normal is 0-255.
Please open a grayscale and switch between Normal and Low. The darker one is 0-255.
Using RGB it is easy to double the effect (not recommended) - set GPU to RGB "full" and TV to "HDMI Black Level - Low" resulting in "blacker then black" and "whiter than white".

@ all
Unfortunately TV manufacturers give their HDMI levels randomly changing phantasy names. The one that sounds somehow lower, weaker is mostly 0-255. To find out which is which a grayscale is helpful.
Unfortunately2, if everything is set wrong some +/- ticks at TV's brightness/contrast and covered.

Only the differences remain - e.g. if madVR is playing 16-235 at non-HDR (although set to 0-255) and playing real HDR in real 0-255. Yes beat me but to my excuse - the differences are somehow tiny..
blaubart is offline   Reply With Quote
Old 10th October 2018, 19:59   #53098  |  Link
brazen1
Registered User
 
Join Date: Oct 2017
Posts: 331
Quote:
Originally Posted by huhn View Post
why should you even use auto if it doesn't work and just runs at limited.
I don't. I use RGB - 4:4:4 - 0-256 everything software and hardware.
__________________
HOW TO-Kodi 2D-3D-UHD (4k) HDR Guide Internal & External Players
W11 Pro 24H2 GTX960-4GB RGB 4:4:4 @Matched Refresh Rates 8,10,12bit
KODI 22 MPC-HC/BE 82" Q90R Denon S720W
brazen1 is offline   Reply With Quote
Old 10th October 2018, 20:08   #53099  |  Link
blaubart
Registered User
 
Join Date: Apr 2009
Posts: 42
Quote:
Originally Posted by huhn View Post
that'S not how it works.
if set your GPU to full range RGB it will send full range RGB if your end device like it or not.
Ok but it seems to work. The upper/lower digits are cutted. TV playing everything 16-235. Even the desktop (washed out colors) and even madVR playing 0-255 HDR.
blaubart is offline   Reply With Quote
Old 10th October 2018, 20:20   #53100  |  Link
brazen1
Registered User
 
Join Date: Oct 2017
Posts: 331
Have a read.

https://pcmonitors.info/articles/cor...-and-amd-gpus/
__________________
HOW TO-Kodi 2D-3D-UHD (4k) HDR Guide Internal & External Players
W11 Pro 24H2 GTX960-4GB RGB 4:4:4 @Matched Refresh Rates 8,10,12bit
KODI 22 MPC-HC/BE 82" Q90R Denon S720W
brazen1 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 01:00.


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