View Issue Details

IDProjectCategoryView StatusLast Update
0000678madVRbugpublic2021-12-16 23:39
Reporterkristoffer Assigned To 
Status resolvedResolutionno change required 
Summary0000678: Missing profile rules for colour space
DescriptionNow that wide gamut sdr is a thing, it would be preferable to have profiles selected based on colourspace or standard gamut / wide gamut.

As an example:
Today I have this profile rule:
if (HDR) "bt2020"
else "standard gamut"

The bt2020 profile has the send bt.2020 checkbox ticked which makes the tv change into wide gamut mode.
It also has a 3Dlut made with wide gamut and max brightness.
The standard gamut profile does not have the send bt.2020 checkbox ticked and has a 3dlut made these settings and "normal brightness"

It would be nice to be able to have a profile auto selected with wide gamut settings and its own 3dlut but for sdr content.
Steps To ReproduceUse the profile rule above
(if (HDR) "bt2020"
else "standard gamut")

and load a file with standard dynamic range, but wide gamut colors.
See the standard gamut profile selected.
Tagsbt2020, profile, rules, sdr, wide gamut
madVR Versionbeta 141
Media Player (with version info)mpc-hc 1.9.17
Splitter (with version info)LAV filters
Decoder (with version info)LAV filters
DecodingDXVA2 Copyback
Deinterlacingnone (progressive)
DXVA2 Scaling Activeno
Aero / Desktop CompositionOff
Problem occurs with modeall modes
GPU ManufacturerNVidia
GPU ModelRTX 2070 Super
GPU Driver VersionStudio driver 472.47



2021-12-07 16:15

administrator   ~0002852

There is a variable called "gamutindex" which you should be able to use for this purpose, I think. It's an integer/cardinal number variable, with the following values:

0 = SMPTE C, 1 = EBU/PAL, 2 = BT.709, 3 = DCI-P3, 4 = BT.2020


2021-12-07 18:54

reporter   ~0002853

could you please add this and if present other missing "variables" to the profile rules?


2021-12-15 22:08

reporter   ~0002854

Thank you!
This works.
I'm using this rule to make MadVR do what I need.

if (HDR) "hdr"
elseif (gamutindex = 3) or (gamutindex = 4) "bt2020"
else "standard gamut"

Issue History

Date Modified Username Field Change
2021-12-05 17:18 kristoffer New Issue
2021-12-05 17:18 kristoffer Tag Attached: bt2020
2021-12-05 17:18 kristoffer Tag Attached: profile
2021-12-05 17:18 kristoffer Tag Attached: rules
2021-12-05 17:18 kristoffer Tag Attached: sdr
2021-12-05 17:18 kristoffer Tag Attached: wide gamut
2021-12-07 16:15 madshi Note Added: 0002852
2021-12-07 18:54 huhn Note Added: 0002853
2021-12-15 22:08 kristoffer Note Added: 0002854
2021-12-16 23:39 kristoffer Status new => resolved
2021-12-16 23:39 kristoffer Resolution open => no change required