View Full Version : overlay a round clip
trolltuning
23rd June 2004, 16:54
I have been playing around with some DV footage adding picture in picture (usually a closeup) with overlay. How would I go about overlaying a clip in the shape of a circle or an oval?
stickboy
23rd June 2004, 18:38
You need to create a separate, greyscale image that represents the transparency mask.
Here's an example. (http://forum.doom9.org/showthread.php?s=&threadid=72445#post456800)
trolltuning
25th June 2004, 16:07
Thank you.
I'm assuming that with a no-frills paint program I just draw a square around whatever I'm creating the mask from, invert the colors and save as black and white?
Also that if I do it this way I can't make use of addborders for the picture in picture?
stickboy
25th June 2004, 19:19
Originally posted by trolltuning
I'm assuming that with a no-frills paint program I just draw a square around whatever I'm creating the mask from, invert the colors and save as black and white?I don't know what you mean by drawing a square. Do you mean making a square selection? Making a black square? making a white square? (And why a square? I thought you wanted a round mask?)
Anyhow, you set the mask to be white for areas that you want to appear and black for areas that you want to hide. Gray pixels will be partially visible.
So you open your image in your no-frills paint program, make a selection around what you want, fill that selection with white, and fill all surrounding pixels with black.Also that if I do it this way I can't make use of addborders for the picture in picture?Huh?
trolltuning
25th June 2004, 21:02
[QUOTE]quote: Also that if I do it this way I can't make use of addborders for the picture in picture?
--------------------------------------------------------------------------------
Huh?
When I overlay a square clip I usually add borders around it. If I do that with a round clip I guess I need to build them by modifying the mask if I want a round clip with a round border. Now that you've explained it I can play with it.
stickboy
26th June 2004, 07:11
You'd just need to call AddBorders on both the overlaid clip and on the clip's mask.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.