Quote:
Originally Posted by audioslave
What I'm looking for is to only blur the frames before and after a scene change. Not to motion adapt the bluring like in the MA script...
If I have two scenes of 100 frames each I want to blur frame 100 of the first scene and frame 1 of the second scene. That must be possible, right?
|
See, I'm reading too fast again
Ok, now I read your post again.
You can do it with a very high "nf" treshold.
Add the lines I gave you above, but like this:
Code:
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >=30 ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
unfilter( 0, 0 ) ")
I set the switch treshold to 30, where it reads:
"nf >=30 ?
This is just a guess value, which I just picked up.
What you really need to do is add this line at the end of your script:
Code:
ScriptClip("Subtitle(String(nf),1,30)")
Then load your .avs in Vdub, and scroll throughout the movie, and look at the value you'll see in the upper left of your screen. Look at the highest value during scene changes, and use that value instead of the "30" I posted.
Please note that the value will be different, depending what resolution you are encoding.
What the MA part I just posted will do, is indeed blurr very heavyly only on scene changes, and "do nothing" ( unfilter (0, 0 ) ) below that treshold.
Give it a try, and let me know
-kwag