03.10.2017, 16:17
AHH now i see the problem:
Hm but i like to hold YUV420P10 or YUV420P8.
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/FrameFilter/Interframe/svpflow2_vs64.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/FrameFilter/Interframe/svpflow1_vs64.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import havsfunc as havsfunc
# Loading C:\Users\MAIN\Desktop\lu.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="C:/Users/MAIN/Desktop/lu.mkv", format="YUV420P10", cache=0)
# making sure input color matrix is set as 2020ncl
clip = core.resize.Point(clip, matrix_in_s="2020ncl")
# Making sure input color range is set to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# adjusting frame count with Interframe/SVP
clip = havsfunc.InterFrame(clip, NewNum=60, NewDen=1)
# adjusting output color from: YUV420P10 to YUV420P8
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8)
# Output
clip.set_output()
Failed to evaluate the script:
Python exception: SVSuper: Clip must be YV12
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1810, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:36455)
File "C:\Users\MAIN\AppData\Local\Temp\tempPreviewVapoursynthFile16_10_54_368.vpy", line 22, in <module>
clip = havsfunc.InterFrame(clip, NewNum=60, NewDen=1)
File "C:\Program Files\Hybrid\vsscripts\havsfunc.py", line 3137, in InterFrame
return InterFrameProcess(Input)
File "C:\Program Files\Hybrid\vsscripts\havsfunc.py", line 3111, in InterFrameProcess
Super = core.svp1.Super(clip, SuperString)
File "src\cython\vapoursynth.pyx", line 1702, in vapoursynth.Function.__call__ (src\cython\vapoursynth.c:34595)
vapoursynth.Error: SVSuper: Clip must be YV12
Hm but i like to hold YUV420P10 or YUV420P8.