megui吧 关注:5,465贴子:37,794
  • 1回复贴,共1

萌新VapourSynth采用QTGMC报错,求教

只看楼主收藏回复

你好,我安装了新版的VapourSynth和python配置并好环境后,写了用于QTGMC反交错的脚本(QTGMC官网要求的必备插件已齐全)
脚本如下:
import vapoursynth as vs
import havsfunc as haf
core = vs.core
a = "F:\\IDMlinshi\\KIKUCHIMOMOKOinLIVEFANTASY1986215.ts"
clip = core.lsmas.LWLibavSource(a, threads=0, repeat=True)
clip = haf.QTGMC(clip, Preset='fast', TFF=True) #1.当不是TFF=True时,改TFF=False
clip.set_output()
但是报错如下:
2023-06-07 20:36:32.596
Failed to evaluate the script:
Python exception: There is no attribute or namespace named mv
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 3115, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 3116, in vapoursynth._vpy_evaluate
File "E:\VapourSynthEditor-r19-64bit\test.vpy", line 6, in
clip = haf.QTGMC(clip, Preset='fast', TFF=True) #1.当不是TFF=True时,改TFF=False
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Python\Lib\site-packages\havsfunc.py", line 1726, in QTGMC
srchSuper = DitherLumaRebuild(srchClip, chroma=ChromaMotion).mv.Super(sharp=SubPelInterp, chroma=ChromaMotion, **super_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "src\cython\vapoursynth.pyx", line 2007, in vapoursynth.VideoNode.__getattr__
AttributeError: There is no attribute or namespace named mv
这似乎不是缺少插件或滤镜的错误,能帮忙看看是什么意思吗


IP属地:湖北1楼2023-06-07 20:49回复
    请问用什么办法辨别tff 还是bff


    IP属地:广东来自Android客户端2楼2023-08-04 18:54
    回复