Log in

View Full Version : How do I convert matrix rec.709 to rec.601?


lansing
21st November 2019, 07:19
I have a blu-ray video that was wrongly converted using rec.601 to 709 while it was originally 709 already. I want to reverse it back. I tried this but nothing changed.


clip = core.resize.Bicubic(clip, matrix_in_s='709', matrix_s='170m')

poisondeathray
21st November 2019, 16:36
If you are using vsedit to preview, you need to also override the frame props to 709. That's what it's using to convert to RGB for display.

clip = core.std.SetFrameProp(clip, prop="_Matrix", intval=1)

lansing
21st November 2019, 18:12
If you are using vsedit to preview, you need to also override the frame props to 709. That's what it's using to convert to RGB for display.

clip = core.std.SetFrameProp(clip, prop="_Matrix", intval=1)

Thanks it worked.

A side note, the SetFrameProp on the documentation should have a link to the reference page for frame properties.

http://www.vapoursynth.com/doc/functions/setframeprop.html


And setting the matrix to "709" crashes my vseditor.


clip = core.std.SetFrameProp(clip, prop="_Matrix", data="709")