I don't know what avi(EX) is, but the following is a working avi script for avisynth 2.52 -- the avi should be uncompressed and have 16 bit PCM audio. Put ep2.avi on your desktop and use the following script:
LoadPlugin("C:\Filters25\undot.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
MaxTreshold = 1.50
scd_trigger = 15 # Scene change trigger value
nf = 0 # Current frame
AVISource("C:\WINDOWS\Desktop\ep2.avi")
ConvertToYV12
undot()
Limiter()
asharp(2, 4)
GripCrop( width=352, height=480, overscan=0 )
Gripsize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.3))
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/35), 1)),0 ) : \
TemporalSoften(2,7,7,3,2) ")
ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")
GripBorders()
Limiter()
function fmin(float f1, float f2) {return (f1<f2) ? f1 : f2 }
|