View Full Version : Progressive blur ?
Dark-Cracker
7th March 2007, 10:45
Hi,
I try to made an effect but i don't know if it's possible with avisynth.
I want to made a progressive blur for x frame.
To sum up i want to increase progressivly the threshold.
To have the effect : a thresold = 0 for the frame 1 and increase it until it reach the threshold 5 for the frame 250.
Is it possible to made this effect ? if you have a clue you are welcome.
Bye.
Didée
7th March 2007, 12:38
The clue is Animate(), isn't it? :)
Avisynth Documentation:
Animate (clip, int start_frame, int end_frame, string filtername, start_args, end_args)
Animate is a meta-filter which evaluates its parameter filter with continuously varying arguments. At frame start_frame and earlier, filter is evaluated with the arguments given by start_args. At frame end_frame and later, filter is evaluated with the arguments given by end_args. In between, the arguments are linearly interpolated for a smooth transition.
Dark-Cracker
7th March 2007, 14:36
yep i have see this too late :) i am playing with this and i will try the gaussian blur to apply it.
and perhaps a reverse mode to made a sort of focus/unfocus function.
I will post the script if i made it work well enought.
Thanks :)
++
neuron2
7th March 2007, 15:37
The Avisynth blur is probably not what you want, if I guess right what effect you are seeking. Have a look also at this:
http://neuron2.net/boxblur/boxblur.html
davidhorman
7th March 2007, 16:52
neuron2, I assume that box blur only takes integer radii like the vdub version - if so the abrupt transition between values may be noticeable. Perhaps variableblur (http://forum.doom9.org/showthread.php?s=&threadid=88645) would be a better option.
David
neuron2
7th March 2007, 17:38
I've never noticed any transitions when playing at normal speed.
I wasn't aware of variableblur(). Thanks for pointing it out. It's probably slower based on a quick perusal.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.