Log in

View Full Version : Multiple BlankClip Overlays or moving black boxes


shevegen
29th April 2004, 19:25
Hi

Wilbert showed how to produce a black box appearing anywhere on a video.

text = BlankClip(width=80, height=40)#.Subtitle("XXXX")
Overlay(video,text,x=150,y=35,mode="blend",opacity=1.00)

Works nice. Now, is there

a) a way to let this black box become animated somehow? For example
by moving it in a straight line, like 50 pixels to the left, or "out of the video" too ?

b) Put up multiple black boxes at once?

I tested with the same code as above but different x and y values, but no success (prolly logical, but remember i am a tester ... not a thinker :D )


c) Anyone knows sth about or has links to point at other information about manipulating with some boxes? (Can be other mini clips overlayed into the actual video clip as well... you know what effect i wanna achieve? its a tiny bit similar to the DHTML boxes which you can drag around the screen with a bit JavaScript.. ok i finish before the note becomes too long and too chaotic!)

shev

trevlac
29th April 2004, 22:09
text = BlankClip(width=80, height=40)#.Subtitle("XXXX")
version() #<<=== video clip

#-- Mask needed for param list but not really used---
mask=blankclip(width=text.width, height=text.height,color=$ffffff)

#Overlay(last,text,x=150,y=35,mode="blend",opacity=1.00)

#-- Animate from 1 to end overlay from x=1 to x=width --
Animate(1,last.Framecount, \
"Overlay",last,text,1,35,mask,1.00,"blend", \
last,text,last.width,35,mask,1.00,"blend")


Not all that clean but gives you the idea .. :)

shevegen
1st May 2004, 12:40
thanks :)