I hope it's never too late to thank
The script that worked is this. I made an AVSI and put it in the plugin directory:
Code:
function applyflash(clip a, int fn, int qt) {a
eval ("""applyrange (fn,fn+qt-1,"flash",fn,qt)""")}
function flash (clip f, int "first", int "qty") {
scriptclip(f,"first = "+string(first) +chr(13)+
\ "qty = " +string(qty) +chr(13)+
\ """x= freezeframe(current_frame -1,current_frame -1,first -1)
Y= x.freezeframe(current_frame,current_frame,first + qty)
d= y.DePanEstimate(improve=true,zoommax=1.4)
offs= 1. / ( qty + 1.) * (current_frame - first + 1.)
DePan(y, data=d, offset=offs,info=false)
#subtitle (string(offs)+" "+string(first)+" "+string(qty),y=200)
#stackhorizontal(x.trim(current_frame - 1,-1).crop(0,0,360,0),y.crop(360,0,0,0))
""")}
Code:
avisource("f:\xxx.avi",audio=false)
assumetff()
alignfields(fps2=true,mode=0)
#showframenumber(scroll=true)
applyflash(271,3)
applyflash(288,2)
applyflash(703,2)
...
AssumeTFF().SeparateFields().SelectEvery(4,0,3).Weave()
alignfields(mode=3,scene=3)
I went further and did a wraper function to call it, using Stickboy's ideas. This solution pleased me more, although all that
Depan gives is a freezed frame that moves toward a global movement.
Your help was unvaluable. Thank you guys!
Cecilia