29.08.2020, 20:38
Yep, i can see changes in VS script code but i can't see changes in VS viewer and in rendered video. So probably it may be Vapoursynth bug or limitation.
---
These don't generate # ColorMatrix: code line if input set to Rec 601
YCoCg https://en.wikipedia.org/wiki/YCoCg
ICtCp https://en.wikipedia.org/wiki/ICtCp
Chroma cl
Chroma ncl
But if input set to Rec709 or some other, they generate code line like this and use 470bg output tag
P.S. They are very specific color spaces (or color models?) and i don't have any practical background details about them.
---
SMPTE 240m produce tiny color change compare to Rec709, so i guess it works because match description "very similar, but not the same as Rec 709"
# ColorMatrix: adjusting color matrix from 470bg to 2020ncl using transfer 709
clip = core.std.SetFrameProp(clip,prop="_Transfer",intval=1)
clip = core.resize.Bicubic(clip=clip, matrix_in_s="470bg", matrix_s="2020ncl", range_in=0, range=0)
# ColorMatrix: adjusting color matrix from 470bg to 2020ncl using transfer 2020_12
clip = core.std.SetFrameProp(clip,prop="_Transfer",intval=14)
clip = core.resize.Bicubic(clip=clip, matrix_in_s="470bg", matrix_s="2020ncl", range_in=0, range=0)
---
These don't generate # ColorMatrix: code line if input set to Rec 601
YCoCg https://en.wikipedia.org/wiki/YCoCg
ICtCp https://en.wikipedia.org/wiki/ICtCp
Chroma cl
Chroma ncl
But if input set to Rec709 or some other, they generate code line like this and use 470bg output tag
# ColorMatrix: adjusting color matrix from 709 to 470bg
clip = core.resize.Bicubic(clip=clip, matrix_in_s="709", matrix_s="470bg", range_in=0, range=0)
P.S. They are very specific color spaces (or color models?) and i don't have any practical background details about them.
---
SMPTE 240m produce tiny color change compare to Rec709, so i guess it works because match description "very similar, but not the same as Rec 709"