That metadata doesn't cover what I need. I need all 3: primaries, transfer function, and matrix
That page only applies the HDR metadata. It can replace the primaries, but not the other values.
The input node has a place to set the value for primaries, transfer, and matrix. It should be overriding what the NLE sent it. It's only supposed to use the NLE values if set to auto. If setting these values changes nothing, what's the point of that tab in the input node?
As I said, the same problem is present if I attempt to manually change them with a video filter such as SCALE or SETPARAMS. It totally ignores what I put for primaries, matrix, and transfer in those nodes as well.
It seems as if you're overriding or ignoring what the user is selecting in these cases, which shouldn't happen.
It should be like this
- The NLE provides you values for transfer, primaries, matrix
- If the user keeps the input node's color tab set to auto, use those values. If the user changes from auto to something else, use those instead. This shouldn't be performing a conversion, just changing input metadata.
- If the user sets any of these properties in SCALE (In color matrix, In transfer, In primaries) replace them with what the user set there. They can also set output values for these in SCALE or SETPARAMS if they optionally want to perform a color space conversion. This should also be respected for those who wish to perform such a conversion.
- Then, if the user wants to add HDR metadata in the encoder node, they can do that as well.