Thread: Avisynth+
View Single Post
Old 12th January 2020, 08:18   #5064  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,971
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.
v0lt is offline