Code:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\LSMASHSource.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\RgTools.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\masktools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\mvtools2.dll")
LoadPlugin("C:\PROGRA~1\Hybrid\32bit\AVISYN~1\nnedi3.dll")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\QTGMC.avsi")
Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\Zs_RF_Shared.avsi")
# loading source: L:\!_Video\P\!_Single\Denise Masino\Black Label XXX Vol. 1 - Muscle Elegance Productions\gotovo\Black Label - Scene1-.avi
# color sampling YV12@8, matrix: bt601, scantyp: top field first, luminance scale: limited
Source = LWLibavVideoSource("L:\!_Video\P\!_Single\Denise Masino\Black Label XXX Vol. 1 - Muscle Elegance Productions\gotovo\Black Label - Scene1-.avi",cache=false,dr=true,format="YUV420P8", prefer_hw=0)
# current resolution: 624x352
# deinterlacing
SourceFiltered = Source
Source = Source.AssumeBFF()
Source = Source.QTGMC(Preset="Medium", InputType=0, TR2=1, Sharpness=1.0, SourceMatch=0, Lossless=0, ediThreads=6, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
Source = Source.SelectOdd()
SourceFiltered = SourceFiltered.AssumeBFF()
SourceFiltered = SourceFiltered.QTGMC(Preset="Medium", InputType=0, TR2=1, Sharpness=1.0, SourceMatch=0, Lossless=0, ediThreads=6, PrevGlobals="Reuse")# added PrevGlobals="Reuse" to handle multiple QTGMC instances
SourceFiltered = SourceFiltered.SelectOdd()
# filtering
# anti-aliasing
SourceFiltered = SourceFiltered.Turnleft().nnedi3(field=1,nsize=4,dh=true).TurnRight().BicubicResize(SourceFiltered.width,SourceFiltered.height,0,0,0.5,0)
# stacking horizontal for filter preview
# adjust color to RGB32 (for preview)
SourceFiltered = SourceFiltered.ConvertToRGB32(matrix="Rec601")
# adjust color to RGB32 (for preview)
Source = Source.ConvertToRGB32(matrix="Rec601")
StackHorizontal(Source, SourceFiltered)
PreFetch(6)
# setting output fps to 23.976fps
AssumeFPS(24000,1001)
# output: color sampling RGB32@8, matrix: bt601, scantyp: progressive, luminance scale: limited
return last
Some filter combinations cause problems when they are killed and restarted ot fast, which is why 'Synth auto refresh' is disabled by default. (like mentioned in the tool-tip)