01.04.2020, 04:57
At a first glance the Vapoursynth script looks fine:
Does the Vapoursynth Preview show any errors or work properly?
Cu Selur
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = '/opt/hybrid/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Import scripts
import havsfunc
# Loading source using FFMS2
clip = core.ffms2.Source(source="/home/jirka/VIDEO/capture001_type2_shrink.avi",cachefile="/tmp/23_47_10_0210.ffindex",format=vs.YUV420P8,alpha=False)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip, fpsnum=25, fpsden=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# setting field order to what QTGMC should assume
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", TFF=True)
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
clip = clip[::2]
# Output
clip.set_output()
Does the Vapoursynth Preview show any errors or work properly?
Cu Selur