By looking into VAPOURSYNTH I found that filters are divided into 3 groups, those are:
-Avisynth Core Filters
http://forum.doom9.org/showthread.php?t=165771&page=35
-Generic filters
http://forum.doom9.org/showthread.php?t=166842
-[VapourSynth] HAvsFunc-r11 - ported AviSynth functions for VapourSynth
http://forum.doom9.org/showthread.php?t=166582
HolyWu: mentioned on doom9 that "The core plugins are MVTools2, MaskTools v2, RemoveGrain and TemporalSoften, they must be loaded"
Ok, then how I load them ? I suppose together with: import vapoursynth ?
havsfunc-r11.7z contains the following:
-RemoveGrainVS.dll
-havsfunc.py - ported AviSynth functions for VapourSynth
What should I do with python script havsfunc.py ? I can run it but do I use it from another script or how that works ?
At the end I am trying to understand how to construct a simple script for deinterlacing with QTMGC:
ex:
#import core libraries #
import vapoursynth as vs
import sys
import havsfunc
# define function names #
core = vs.get_core()
haf = havsfunc.HAvsFunc()
# Load the input filter #
core.std.LoadPlugin(path=r'C:\Program Files (x86)\VapourSynth\plugins64\ffms2.dll')
# Load the needed processing filters#
core.avs.LoadPlugin(path=r'C:\Program Files (x86)\VapourSynth\core64\plugins\RemoveGrainVS.dll ')
# define clip name trough input function\filter #
clip = core.ffms2.Source(source=r'C:\ffmpeg\input.mov', threads=1)
# process the clip #
clip = haf.QTGMC(clip, Preset='Medium', TFF=True)
# output the clip #
clip.output(sys.stdout, y4m=True)
Off-course that this doesn't work since I don't have havsfunc to be imported.
Before I get RTFM, any help is appreciated![]()
+ Reply to Thread
Results 1 to 1 of 1
-
Last edited by logicom; 1st Dec 2014 at 07:31.