View Single Post
Old 24th January 2005, 20:38   #18  |  Link
tsp
Registered User
 
tsp's Avatar
 
Join Date: Aug 2004
Location: Denmark
Posts: 807
rfmmars You can try this script and see if it gives the desired effect:
Code:
a=AVISource("G:\pf.avi").converttoyv12()
a.pointresize(440,400)
GraMaMa(1,4,last.width/2,last.height/2,330)
sharpmask=bilinearresize(a.width,a.height)
Overlay(a, a.unsharp(100), mask=sharpmask, mode="blend", opacity=1.0)


Function Unsharp(clip clip,int radius)
{ 
Blur=VariableBlur(clip,radY=radius,RadC=radius)
blurmask=subtract(Blur,clip)
return subtract(clip,blurmask)
}
you can change unsharp(100) to another sharpener (blur(-1) or WarpSharp)
tsp is offline   Reply With Quote