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 25th December 2022, 12:47   #63721  |  Link
Budtz
Registered User
 
Join Date: Apr 2011
Posts: 141
tonemapping and washed out colurs

I get no tonemapping and wahsed out colurs. in windows 11 with neweset drivers.

Is there a setting that needs to be set to get it tor work again. Might just give up at use VLC. that works fine
__________________
http://hometheatersettings.com - how to setup htpc and more
Budtz is offline   Reply With Quote
Old 27th December 2022, 16:22   #63722  |  Link
SunnyM
Registered User
 
Join Date: Dec 2022
Posts: 4
Hi, first thanks for your job on madVR !

I've got an issue with madVR zoom control stretching image instead of zooming on my 21/9 monitor.
I googled for this issue but did not find anything relevant, so here I am.

Here's the original video (16/9 with 21/9 scenes): https://imgur.com/a/CsqL6NH
With zoom control enabled: https://imgur.com/a/sYt0Q7u
What it should be: https://imgur.com/a/eRruf88
MadVR settings: https://imgur.com/a/AUA6ntw
LAV settings: https://imgur.com/a/7euellJ

I use PotPlayer but extending/croping/resizing are disabled and almost all non filters related settings are by default.

I really don't understand what's wrong, thanks for your help !

Last edited by SunnyM; 27th December 2022 at 16:55.
SunnyM is offline   Reply With Quote
Old 27th December 2022, 17:51   #63723  |  Link
Siso
Soul Seeker
 
Siso's Avatar
 
Join Date: Sep 2013
Location: Bulgaria
Posts: 627
What is the resolution of the movie? I'm on 21:9 monitor, and I don't use this madvr feature. You can assign buttons to change the zoom. I'm using "Keep Aspect Ratio" and "Stretch By Keeping Aspect Ratio".
Siso is offline   Reply With Quote
Old 27th December 2022, 19:09   #63724  |  Link
SunnyM
Registered User
 
Join Date: Dec 2022
Posts: 4
I don't want to press a button each time video goes from 4K IMAX to 21:9 and vice-versa if madVR can do it dynamically.
AFAIK it can but there's a bug or I missed a setting and madVR stretches instead of zooming.
SunnyM is offline   Reply With Quote
Old 28th December 2022, 16:24   #63725  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 889
Quote:
Originally Posted by SunnyM View Post
I've got an issue with madVR zoom control stretching image instead of zooming on my 21/9 monitor.
[...] I use PotPlayer but extending/croping/resizing are disabled and almost all non filters related settings are by default.
Must be caused by some setting in your media player that instructs madVR to stretch it. Please post the second screenshot again with the OSD (Ctrl+J) shown.
With either MPC-HC or MediaPortal using "touch window from inside" and those same settings it work as intended on my system (my screen is not 21:9 but with e.g. old letterboxed 4:3 DVDs).
Can you try with MPC-HC just for a test?
__________________
HTPC: Windows 10 21H2, MediaPortal 1, LAV Filters/ReClock/madVR. DVB-C TV, Panasonic GT60, Denon 2310, Core 2 Duo E7400 oc'd, GeForce 1050 Ti 512.95
el Filou is offline   Reply With Quote
Old 28th December 2022, 18:47   #63726  |  Link
SunnyM
Registered User
 
Join Date: Dec 2022
Posts: 4
Hey el Filou, thanks for your reply.
Here's the capture with madVR OSD: https://imgur.com/6fc4rc2
Tried with MPC-HC and MPC-BE but I can't make zoom control working, tried with internal/external LAV filters and double checked that madVR was in active filters, normal or touch from inside is the same.
SunnyM is offline   Reply With Quote
Old 28th December 2022, 21:13   #63727  |  Link
el Filou
Registered User
 
el Filou's Avatar
 
Join Date: Oct 2016
Posts: 889
I really can't reproduce this even with your exact madVR settings. We can see that madVR is cropping correctly (3840x1606), and then that it's scaling while forcing a 16/9 aspect ratio (the "-26%" bit). It won't decide to do that out of the blue, it's either the media player or the video decoder telling it that this is the display aspect ratio it needs to force.
For zoom control to work with MPC-HC/LAV Filters, you need to choose None or DXVA2 copyback in "Hardware Decoder to use" in LAV Video.
Check this and try again with MPC-HC to see if it's doing the same thing.
__________________
HTPC: Windows 10 21H2, MediaPortal 1, LAV Filters/ReClock/madVR. DVB-C TV, Panasonic GT60, Denon 2310, Core 2 Duo E7400 oc'd, GeForce 1050 Ti 512.95
el Filou is offline   Reply With Quote
Old 28th December 2022, 21:38   #63728  |  Link
SunnyM
Registered User
 
Join Date: Dec 2022
Posts: 4
OK I found the correct setting in potplayer is "Default Original DAR" instead of recommended "Default Display AR" https://imgur.com/NfB7GPI
No more stretch and madVR wasn't involved, seems to work flawlessly now.
Sorry for disturbance !
SunnyM is offline   Reply With Quote
Old 28th December 2022, 22:19   #63729  |  Link
70MM
X Cinema Projectionist NZ
 
Join Date: Feb 2006
Location: Auckland NZ
Posts: 309
Is there anyone here who read my post and has ever experienced this problem Ive been having as its driving me crazy? https://forum.doom9.org/showpost.php...ostcount=63720
70MM is offline   Reply With Quote
Old 29th December 2022, 01:16   #63730  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,614
yes but one place is enough.
huhn is offline   Reply With Quote
Old 29th December 2022, 20:49   #63731  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 475
Quote:
Originally Posted by 70MM View Post
I cant get any profiles to activate and work under Devices, yet all my other profiles on other pages work.

Im trying to use the A stretch 4/3 on and off under Devices/Config, I can make the two profiles using keystroke 1 & 2, but it wont activate or show in the top left corner of the screen.

All my other profiles in all the other tabs besides Devices work and display in the top left corner of the screen.

Has anyone ever seen this happen and if so what might be wrong here?

Thanks in advance.
I am using some aspect ratio profiles and they are working fine. I don't use hotkeys to activate them; I tag the parent folder or filename with eg [profile='aspect 1.33 to 1.36'] and then during playback I open MadVR settings and that profile is highlighted in bold font which lets me know it's active (it's not in the screenshot cause I couldn't be bothered).



But nowdays I do most aspect ratio adjustments in Avisynth script (text file with .avs extension containing Avisynth commands and stuff, then open the .avs file with media player).

On an unrelated note, I was wondering about the "matrix" and "primaries" info on debug ctrl+J screen... is my understanding correct that:

1. "matrix" refers to the formula that madvr is using to convert the source YCbCr to RGB

2. "primaries" refers to the wavelengths of light that RGB correspond to, so that madVR knows how to convert the source RGB to whatever your display mode RGB happens to be (eg. if source is 709 and display mode is 709 then no conversion is done)

The reason I'm asking is cause Avisynth source filter doesn't output any metadata for the pixel format (matrix & primaries) so MadVR always has to use "(best guess)" and I want to make sure I'm understanding this right so I'm getting correct colours.


Last edited by flossy_cake; 29th December 2022 at 21:02.
flossy_cake is offline   Reply With Quote
Old 4th January 2023, 19:19   #63732  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 475
Ugh, am I correct in understanding that if we DON'T manually tell madVR that for example "this display is calibrated to rec 709 gamut" in the calibration section of settings, then madVR WON'T perform any gamut conversion at all?

i.e without doing the above, if we play content which has different gamut to the monitor, such as playing DVD content on a 709 monitor (typical pc monitor) then we will actually get the WRONG gamut?

I'm asking as this seems to be what's happening when displaying PAL DVD color bars and watching what happens to them when toggling that option - the colours change in such a way that indicates this.

If this is true it means I've been watching wrong colours this whole time for non-709 content on my 709 monitors and TV!

I mean it's not a HUGE deal since 601 (SMPTE-170M / SMPTE-C / PAL / NTSC) is pretty close in gamut to 709 anyway...but still, kind of embarrassing that I've been watching wrong colours for over a year and didn't realise it

Because I was looking at ctrl+J saying "primaries 601" which I thought meant MadVR understood the gamut of the source material is 601 and is therefore converting it to the display mode's gamut, but no it's not actually doing that it seems, unless we manually tell MadVR what the monitor gamut is.

I thought MadVR would INFER the monitor gamut based on display resolution or possible other metrics like whatever the GPU driver says about the display mode (or at least just assume 709 if no information is available, since that is what most monitors will be).

edit: it seems there are actually 2 PAL gamuts in use:

1. SMPTE-170M / SMPTE-C / PAL / NTSC
2. EBU / PAL

https://www.kernel.org/doc/html/v4.8...ixfmt-007.html

And the difference is not trivial - using 1 for 2-content results in quite more brighter reddish skin tones.

_______________________

On another note... regarding the Family Guy DVD chroma alignment issue, the fix was easy: just move the chroma up by 1 line (seems to work for s01 - s07 but I still need to go through each episode to make sure there aren't outliers). This can be done with Avisynth script and then opening the script in media player without having to re-encode the video:

Code:
DirectShowSource("C:\Family Guy episode.mkv")

MergeChroma(last, LanczosResize(width, height, 0.0, 1.0, width, height)) # shift chroma up 1.0px (http://avisynth.nl/index.php/Resize)

LanczosResize(720, 540) # stretch 720x480 -> 720x540 (4:3) cause Avisynth source filter doesn't output aspect ratio metadata & MadVR would end up treating NTSC pixels as square pixels

Last edited by flossy_cake; 4th January 2023 at 19:56.
flossy_cake is offline   Reply With Quote
Old 4th January 2023, 20:59   #63733  |  Link
Sunspark
Registered User
 
Join Date: Nov 2015
Posts: 273
One way you could evaluate this, would be to run a youtube video in a different colour space in the player through madvr. You will need to have yt-dlp.exe in the player's folder. https://github.com/yt-dlp/yt-dlp

Here is a DCI-P3 video I came across, https://www.youtube.com/watch?v=_Ld-du6giUo

You could do a run with disable calibration controls for this display, and a run with this display is already calibrated and set to bt.709/pure power 2.2.

Last edited by Sunspark; 4th January 2023 at 21:04.
Sunspark is offline   Reply With Quote
Old 5th January 2023, 00:10   #63734  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,280
Quote:
Originally Posted by flossy_cake View Post
Ugh, am I correct in understanding that if we DON'T manually tell madVR that for example "this display is calibrated to rec 709 gamut" in the calibration section of settings, then madVR WON'T perform any gamut conversion at all?
This is correct, which IMHO is a silly default, as most people get the wrong result from that, instead of just assuming any screen in this day is just 709 by default, which would be far more often right then it would be wrong.

Quote:
Originally Posted by flossy_cake View Post
edit: it seems there are actually 2 PAL gamuts in use:

1. SMPTE-170M / SMPTE-C / PAL / NTSC
2. EBU / PAL
While techncially true, the source content can identify the difference between them if it cares to do so. But the EBU/PAL option has long been deprecated and is likely not used in digital media all that often.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 5th January 2023, 01:01   #63735  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,614
is assumes BT 709 by default.
no calibration controls and defaults from "this display is cali..." are very very similar there where some difference but i can't remember.

i tested tone mapped bt2020 source i have no bt 2020 source at hand that is SDR.

on the other hand there is a good possibility that it ignores ebu smpte C and such.
i only tested a barely any color encode i had a round with smepte C bt601 meta data and it was working properly.

with passthrough it is assuming bt 2020 if not forcing it.
huhn is offline   Reply With Quote
Old 5th January 2023, 03:57   #63736  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 475
Quote:
Originally Posted by nevcairiel View Post
But the EBU/PAL option has long been deprecated and is likely not used in digital media all that often.
Are you sure because all my PAL DVD's (both ISO's and mkv remuxes which I made myself from the physical discs) are showing up as "EBU/PAL (says upstream)" in ctrl+J.


Quote:
Originally Posted by huhn View Post
is assumes BT 709 by default.
Here is 75% bars EBU/PAL https://drive.google.com/file/d/195y...usp=share_link

Take a screenshot and inspect RGB values in photoshop they are different when I toggle between "disable calibration controls for this display" and "this display is already calibrated bt.709".

PAL and 709 are close but enough to see a slight increase/decrease on the red and magenta bars in a light controlled room. Green bar changes from RGB 0,191,0 to 0,191,25 but not perceptible to me. On actual content cannot tell in a double blind test but can see some skin tones slightly changing with A-B comparison.

Anyway I guess I finally know the meaning of "gamut conversion disabled" on ctrl+alt+shift+P

Last edited by flossy_cake; 5th January 2023 at 04:07.
flossy_cake is offline   Reply With Quote
Old 5th January 2023, 07:04   #63737  |  Link
olli66
Registered User
 
Join Date: Mar 2013
Posts: 21
Hello all. I am using madvr since years and all of a sudden in my mpc-hc (64bit) it does not show up as option for video renderer in the output settings anymore. It shows in the external filters and is configured but it is not available to select as video renderer. What could be the issue? Thanks for any hints/tips.
olli66 is offline   Reply With Quote
Old 5th January 2023, 07:45   #63738  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,614
if this wasn't changed it should show an "madVR "not available/installed"" if not your mpc hc version does not support it.

alternatively you just have an version installed that timed out because that's a thing now:
https://www.videohelp.com/software/madVR/old-versions
165 will work for a couple more weeks then it will start to complain and after a couple more months stop working.

166 will show up sometimes "soon" or is atleast supposed to do that.
huhn is offline   Reply With Quote
Old 5th January 2023, 07:51   #63739  |  Link
olli66
Registered User
 
Join Date: Mar 2013
Posts: 21
I reinstalled everything and switched to the 32bit version, it works now
I just haven't figured out yet how to display 3D content and watch it with VR. I did everything according to this guide but I don't get a top/bottom image.
https://www.tomchapin83.com/how-to-w...ode-the-movie/
olli66 is offline   Reply With Quote
Old 7th January 2023, 05:47   #63740  |  Link
flossy_cake
Registered User
 
Join Date: Aug 2016
Posts: 475
Quote:
Originally Posted by flossy_cake View Post
I mean it's not a HUGE deal since 601 (SMPTE-170M / SMPTE-C / PAL / NTSC) is pretty close in gamut to 709 anyway...
I take that back - the difference on reds is significant:

https://i2.lensdump.com/i/Ru5jRT.png
https://i3.lensdump.com/i/Ru5IF7.png
flossy_cake 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 08:42.


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