View Single Post
Old 11th March 2019, 20:59   #5  |  Link
_Al_
Registered User
 
Join Date: May 2011
Posts: 321
While doing this in Vapoursynth, I'd keep an eye on what matrix you have in prop loaded in Vapoursynth:
frame = clip.get_frame(0)
clip = core.text.Text(clip, str(frame.props))
# print(frame.props)
if _Matrix=2 , unknown , you'd need to specify matrix_in_s='something' (but anyway you should flag it in an encoder) for conversions or even change it if you do not trust your source:
clip = core.std.SetFrameProp(clip, prop="_Matrix", intval=5)
or if you want to simulate colormatrix in Avisynth:
clip = core.resize.Bicubic(clip, matrix_in_s='709', matrix_s='470bg')
or
clip = core.resize.Bicubic(clip,matrix_s='470bg')
if Vapoursynth is aware of input matrix in prop, _Matrix=1 (that is '709' or some proper value)

Last edited by _Al_; 11th March 2019 at 21:12.
_Al_ is offline   Reply With Quote