Skip to content

[Feature Request] MasteringDisplay_ColorPrimaries - optional numeric values B/G/R/WP instead of "readable" name #1192

@gitoss

Description

@gitoss

Current mediainfo Histroy_CLI.txt shows a change "+ colour_description: some changes in order to have more readable names (DCI P3, Display P3, sRGB)"

Alas, I need to get the numeric values to feed them into svtencapp --mastering-display "G(x,y)B(x,y)R(x,y)WP(x,y)L(max,min)" - and "Display P3" doesn't seem to be an alias for a single G/B/R/WP combination?

For luma, there alreads is
MasteringDisplay_Luminance_Min
MasteringDisplay_Luminance_Max

=> It would be nice to have
MasteringDisplay_ColorPrimaries_Numeric

=> or even (maybe overkill b/c manual parsing is easy)
MasteringDisplay_ColorPrimaries_G_X
MasteringDisplay_ColorPrimaries_G_Y
MasteringDisplay_ColorPrimaries_B_X
MasteringDisplay_ColorPrimaries_B_Y
MasteringDisplay_ColorPrimaries_R_X
MasteringDisplay_ColorPrimaries_R_Y
MasteringDisplay_ColorPrimaries_WP_Min
MasteringDisplay_ColorPrimaries_WP_Max

... current mediainfo:

MasteringDisplay_ColorPrimaries  : Display P3
MasteringDisplay_Luminance       : min: 0.0001 cd/m2, max: 1000 cd/m2
MaxCLL/String                    : 1078 cd/m2
MaxFALL/String                   : 96 cd/m2

... ffmpeg:

   Side data:
      Mastering display metadata: has_primaries:1 has_luminance:1 r(0.6800,0.3200) g(0.2650,0.6900) b(0.1500 0.0600) wp(0.3127, 0.3290) min_luminance=0.000100, max_luminance=1000.000000
      Content light level metadata: MaxCLL=1078, MaxFALL=96

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions