17.02.2019, 14:34
(17.02.2019, 11:49)Selur Wrote: Found the problem for the code consistency errors, will send you a link to a new dev version in a few minutes via PM.
Btw. I would probably apply a lot of filtering to your source,...
There is still much to improve, but here's a small example of what one could do:
added a few screenshots (left side is the original, right the filtered version)# Imports import os import sys import ctypes # Loading Support Files Dllref = ctypes.windll.LoadLibrary("I:/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll") import vapoursynth as vs core = vs.get_core() # Import scripts folder scriptPath = 'I:/Hybrid/64bit/vsscripts' sys.path.append(os.path.abspath(scriptPath)) # Loading Plugins core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/NNEDI3CL.dll") core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll") core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll") core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/libdescale.dll") core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/fmtconv.dll") core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/Bilateral.dll") core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/libmvtools.dll") core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/DeCrawlFilter/DotKill/dotkill64.dll") core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/d2vSource/d2vsource.dll") # Import scripts import hysteria import edi_rpow2 import fvsfunc import havsfunc import muvsfunc import hnwvsfunc import mvsfunc # Loading F:\TestClips&Co\files\MPEG-2\Transformers filtering test.VOB using D2VSource clip = core.d2v.Source(input="E:/Temp/vob_bf46adec8e80fc1e5f51365b5d592683_853323747.d2v") # making sure input color matrix is set as unspec clip = core.resize.Point(clip, matrix_in_s="unspec",range_s="limited") # making sure frame rate is set to 30000/1001 clip = core.std.AssumeFPS(clip, fpsnum=30000, fpsden=1001) # Setting color range to TV (limited) range. clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1) clip = core.vivtc.VFM(clip=clip, order=0, mode=1) clip = core.vivtc.VDecimate(clip=clip) # DeCrawling using DotKill clip = core.dotkill.DotKill(clip=clip, napply=3) # cropping the video to 692x468 clip = core.std.CropRel(clip=clip, left=16, right=12, top=12, bottom=0) # removing grain using MLDegrain clip = hnwvsfunc.MLDegrain(clip=clip, soft=[0,0,0]) # Debanding using GradFun3Mod clip = fvsfunc.GradFun3(src=clip) # line darkening using Hysteria clip = hysteria.Hysteria(clip=clip,strength=0.80) # Anti Aliasing using DAA clip = havsfunc.daa(c=clip, opencl=True) # adjusting output color from: YUV420P16 to YUV420P8 for x264Model (i420) clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited") # Output
Cu Selur
okay, now the warning is also gone, however DVD input still dont work.
interesting job with the filters, however if i add them all like i see in your command window, i again get an internal crash message.
i will do some more exhausting testing.
in the meantime thanks for the fix Selur.


![[Image: screen-2.png]](https://i.ibb.co/CM1ftPW/screen-2.png)
![[Image: screen-1.png]](https://i.ibb.co/dBQT3Y7/screen-1.png)
![[Image: screen-4.png]](https://i.ibb.co/MM7ZBM5/screen-4.png)
![[Image: screen-3.png]](https://i.ibb.co/FqLLz6j/screen-3.png)