This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Possible typo Crashing Temporal filter.
#6
(25.12.2020, 23:21)Selur Wrote: link should work now (accidentally uploaded the file to a wrong folder Wink)

Cu Selur

Good news. Seems to have fixed what ever that was, bad news though. Different bug!

The Bug:

2020-12-25 17:14:34.258 Failed to evaluate the script: Python exception: DFTTest: Function does not take argument(s) named sstring Traceback (most recent call last): File "src/cython/vapoursynth.pyx", line 2244, in vapoursynth.vpy_evaluateScript File "src/cython/vapoursynth.pyx", line 2245, in vapoursynth.vpy_evaluateScript File "/tmp/encodingTempSynthSkript_2020-12-25@17_14_05_6010.vpy", line 49, in clip = havsfunc.MCTemporalDenoise(i=clip, settings="low") File "/usr/lib/python3.9/site-packages/havsfunc.py", line 2781, in MCTemporalDenoise p = core.dfttest.DFTTest(i, tbsize=1, sstring='0.0:4.0 0.2:9.0 1.0:15.0', planes=planes) File "src/cython/vapoursynth.pyx", line 2042, in vapoursynth.Function.__call__ vapoursynth.Error: DFTTest: Function does not take argument(s) named sstring


The VPY:

# Imports import os import sys import functools import vapoursynth as vs core = vs.get_core() # Import scripts folder scriptPath = '/home/fletcher/Downloads/hybrid/vsscripts' sys.path.append(os.path.abspath(scriptPath)) # Loading Plugins core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libttempsmooth.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libdctfilter.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libdeblock.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libaddgrain.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libneofft3d.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libdfttest.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libeedi3m.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/vsznedi3.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libmvtools.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libtemporalsoften.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libscenechange.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libfmtconv.so") core.std.LoadPlugin(path="/home/fletcher/.hybrid/vsplugins/libvslsmashsource.so") # Import scripts import havsfunc # source: '/home/fletcher/Documents/Kanokon BD 1/Kanokon 1.mkv' # current color space: YUV420P8, bit depth: 8, resolution: 1920x1080, fps: 29.97, color matrix: 709, yuv luminance scale: limited, scanorder: top field first # Loading /home/fletcher/Documents/Kanokon BD 1/Kanokon 1.mkv using LWLibavSource clip = core.lsmas.LWLibavSource(source="/home/fletcher/Documents/Kanokon BD 1/Kanokon 1.mkv", format="YUV420P8", cache=0, prefer_hw=0) # making sure input color matrix is set as 709 clip = core.resize.Point(clip, matrix_in_s="709",range_s="limited") # making sure frame rate is set to 29.970 clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001) # Setting color range to TV (limited) range. clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1) clip2clip = clip clip2clip = havsfunc.QTGMC(Input=clip2clip, Preset="fast", TFF=True,FPSDivisor=2) clip = core.vivtc.VFM(clip=clip, order=1, mode=1) # VDecimate helper function def postprocess(n, f, clip, deinterlaced):   if f.props['_Combed'] > 0:     return deinterlaced   else:     return clip postprocessed_clip = core.std.FrameEval(clip=clip, eval=functools.partial(postprocess, clip=clip, deinterlaced=clip2clip), prop_src=clip) clip = core.vivtc.VDecimate(clip=clip)# new fps: 23.976 clip = havsfunc.Vinverse(clp=clip) # denoising using MCTemporalDenoise clip = havsfunc.MCTemporalDenoise(i=clip, settings="low") # adjusting output color from: YUV420P8 to YUV420P10 for x264Model (i420@8) clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10, range_s="limited") # set output frame rate to 23.976fps clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001) # Output clip.set_output()
Reply


Messages In This Thread
RE: Possible typo Crashing Temporal filter. - by Wisperer - 26.12.2020, 00:16

Forum Jump:


Users browsing this thread: 1 Guest(s)