namke
30th January 2006, 23:55
I'm attempting to get a certain effect, but I'm a newcomer to AviSynth, so think I'm probably doing this the wrong way... What I've got is a long stationary shot with traffic/people moving, and I want to have the moving objects leaving trails behind them (lasting a number of seconds for example). What I've got so far is this, but it's slow :)
a = DirectShowSource("clip.avi")
b = Trim(a,4,0)
bb = overlay(b,a, x=0,y=0,mode="blend",opacity=0.7)
c = Trim(bb,8,0)
cc = overlay(c,bb, x=0,y=0,mode="blend",opacity=0.7)
d = Trim(cc,16,0)
dd = overlay(d,cc, x=0,y=0,mode="blend",opacity=0.7)
e = Trim(dd,32,0)
overlay(e,dd, x=0,y=0,mode="blend",opacity=0.7)
Any thoughts on this?
This version gives 16 discrete images, fading over time -but I'd like to have more... ;)
Thanks,
a = DirectShowSource("clip.avi")
b = Trim(a,4,0)
bb = overlay(b,a, x=0,y=0,mode="blend",opacity=0.7)
c = Trim(bb,8,0)
cc = overlay(c,bb, x=0,y=0,mode="blend",opacity=0.7)
d = Trim(cc,16,0)
dd = overlay(d,cc, x=0,y=0,mode="blend",opacity=0.7)
e = Trim(dd,32,0)
overlay(e,dd, x=0,y=0,mode="blend",opacity=0.7)
Any thoughts on this?
This version gives 16 discrete images, fading over time -but I'd like to have more... ;)
Thanks,