Closed styler00dollar closed 3 years ago
Either matrix_in
or matrix_in_s
needs to be set if no matrix is specified in the frame's properties when converting to RGB. Refer to http://www.vapoursynth.com/doc/functions/video/resize.html for more details.
clip = vs.core.resize.Bicubic(clip, format=vs.RGBS, matrix_in_s='709')
Thank you. I somehow overlooked this. Now it works.
from vsrife import RIFE
import vapoursynth as vs
core = vs.core
core.std.LoadPlugin(path='/usr/lib/x86_64-linux-gnu/libffms2.so')
clip = core.ffms2.Source(source='test.webm')
clip = vs.core.resize.Bicubic(clip, format=vs.RGBS, matrix_in_s='709')
clip = RIFE(clip)
clip = vs.core.resize.Bicubic(clip, format=vs.YUV420P8, matrix_s="709")
clip.set_output()
I tried to create a valid script for a while, but I can't make it run.
Can I get an example that should actually work?