代码: 全选
import vapoursynth as vs
import sys
import havsfunc as haf
import mvsfunc as mvf
import CSMOD as cs
core = vs.get_core(accept_lowercase=True)
core.max_cache_size = 4500
a="D:\1.mkv"
src = core.lsmas.LWLibavSource(a,threads=1,format="yuv420p10")
#src = haf.QTGMC(src,TFF=True)
src16 = mvf.Depth(src, depth=16)
nr16 = core.knlm.KNLMeansCL(clip=src16,d = 0, a = 2, h = 1.2,device_type="GPU")
res = cs.CSMOD(nr16)
#src16=core.resize.bicubic(src16,1920,1080,filter_param_a=0, filter_param_b=0.5)
res = mvf.Depth(res, depth=10)
res.set_output()
Failed to evaluate the script:
Python exception: No attribute with the name generic exists. Did you mistype a plugin namespace?
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1491, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:26905)
File "D:/2.0.vpy", line 16, in <module>
res = cs.CSMOD(nr16)
File "C:\Python35\lib\site-packages\vapoursynth\CSMOD.py", line 925, in CSMOD
edgemask = core.generic.Hysteresis(prewitt, prewittm,[0])
File "src\cython\vapoursynth.pyx", line 1105, in vapoursynth.Core.__getattr__ (src\cython\vapoursynth.c:20799)
AttributeError: No attribute with the name generic exists. Did you mistype a plugin namespace?
我对报错log几乎一无所知,只看懂了这个 File "D:/2.0.vpy", line 16