Log in

View Full Version : How to define frame start and end frame?


Unrok
19th June 2005, 23:49
Well, I made a logo(clip_2) in the After Effects and want to use in a video, however I don't know as to define the frame that it goes to start and the frame that goes to finish.
Example: The logo(clip_2) it must appear in frame 238 and disappear in frame 408. How I could make this?

I used this codigo to join the two videos:
################################################################
clip_1=ConvertToYUY2(AVISource("speed_full.avi"))
clip_2=ConvertToYUY2(AVISource("Speed_Logo_1.avi"))
clip_3=Layer(clip_1,clip_2,"lighten",255,0,0,use_chroma=true)
Levels(clip_3,3,1,255,8,240)
################################################################

I was trying to use the "Animate" to make clip2 to appear in frame 238 and to disappear in frame 408

Animate(238,408,"Layer",clip_2,"lighten",255,0,0, clip_2,"lighten",255,0,0)

However I did not get success.

Somebody could clarify me this doubts or another way to make this. :confused:

stickboy
20th June 2005, 00:28
Try this: clip_1.Trim(0, 237) \
+ clip_1.Trim(238, 407).Layer(clip_2, "lighten", 255, 0, 0, use_chroma=true) \
+ clip_1.Trim(408, 0)
However I did not get success.

Somebody could clarify me this doubts or another way to make this.In general when you ask such questions, you should post what error message you get.

vcmohan
20th June 2005, 03:13
The thread at
http://forum.doom9.org/showthread.php?t=96106
just has this going on right now. Probably both these can be merged.