kunsui
帖子: 2
注册时间: 2018-08-29 14:59

[已解决]HQDeringmod报错,求帮看看是什么出错?

错误log如下:
Failed to evaluate the script:
Python exception: Sobel: Function does not take argument(s) named min

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1847, in vapoursynth.vpy_evaluateScript
File "H:\DISC3.vpy", line 12, in
src=haf.HQDeringmod(src,mrad=3,minp=2,nrmode=2,sharp=0)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\site-packages\havsfunc.py", line 566, in HQDeringmod
sobelm = core.std.Sobel(input, min=scale(mthr, bits), planes=[0])
File "src\cython\vapoursynth.pyx", line 1712, in vapoursynth.Function.__call__
vapoursynth.Error: Sobel: Function does not take argument(s) named min

只是按照模板添加了haf.HQDeringmod(src,mrad=3,minp=2,nrmode=2,sharp=0)这句,然后就报错。
顺着错误log找了havsfunc里HQDeringmod的sobelm = 那行也看不懂是什么问题,求指导哪里出错了 {:cat_3}
上次由 kunsui 在 2018-09-01 15:23,总共编辑 1 次。
fnscar
帖子: 34
注册时间: 2014-08-31 10:53

Re: [求助]HQDeringmod报错,求帮看看是什么出错?

vapoursynth从某一版本开始移除了sobel滤镜中的min、max参数。
请更新havsfunc:
https://github.com/HomeOfVapourSynthEvolution/havsfunc
kunsui
帖子: 2
注册时间: 2018-08-29 14:59

Re: [求助]HQDeringmod报错,求帮看看是什么出错?

fnscar 写了: 2018-08-31 8:34 vapoursynth从某一版本开始移除了sobel滤镜中的min、max参数。
请更新havsfunc:
https://github.com/HomeOfVapourSynthEvolution/havsfunc
明白了,非常感谢!

回到 “VapourSynth”