alex_x
帖子: 9
注册时间: 2018-07-14 1:19

CSMOD issue

Hey guys,
Actually I used CSMOD for first time and I got an error !
https://github.com/fdar0536/VapourSynth ... r/CSMOD.py

代码: 全选

src  = core.ffms2.Source(source='[HorribleSubs] Detective Conan - 887 [1080p].mkv').std.Trim(2445,2565)
c = cm.CSMOD(src)
final = c.set_output()
error message :
File "VapourSynth64Portable/test.vpy", line 15, in
c = cm.CSMOD(c)
File "VapourSynth64Portable\Scripts\CSMOD.py", line 1117, in CSMOD
sharpdiff2 = core.focus.TemporalSoften(sharpdiff, 1, 255, 255 if chroma else 0, 32, 2)
File "src\cython\vapoursynth.pyx", line 1709, in vapoursynth.Function.__call__
vapoursynth.Error: TemporalSoften: Too many unnamed arguments specified
头像
Muonium
帖子: 42
注册时间: 2016-06-18 8:48

Re: CSMOD issue

You can either delete the number 2 at the end of that line in the CSMOD script, i.e.

代码: 全选

sharpdiff2 = core.focus.TemporalSoften(sharpdiff, 1, 255, 255 if chroma else 0, 32)
or replace such line with

代码: 全选

sharpdiff2 = haf.AverageFrames(sharpdiff, weights=[1] * 3, scenechange=32, planes=[0] if chroma else list(range(sharpdiff.format.num_planes)))
alex_x
帖子: 9
注册时间: 2018-07-14 1:19

Re: CSMOD issue

Thanx Muonium
lwjkk666
帖子: 321
注册时间: 2012-05-29 13:43

Re: CSMOD issue

libtemporalsoften.dll

回到 “VapourSynth”