Hello.
Now if I open the script in video players, I get the wrong colors in many situations.
Is it possible to use the structure
VIDEOINFOHEADER2 instead of VIDEOINFOHEADER? This will make it possible to use the dwControlFlags field. If you set AMCONTROL_COLORINFO_PRESENT, you can use
DXVA_ExtendedFormat to specify additional parameters (nominal range, transfer matrix) for the video stream.