View Full Version : Pasting smaller clips into larger
Bardez
14th May 2003, 08:02
I'm looking for a program / filter that will allow me to place a smaller clip, say 160 x 120, into a larger clip such as 640 x 480.
The desired effect is something like a flashback in a thought bubble, playing both clips simulatneuosly.
Any ways I can go about this without a bainstaking frame-by frame editing (or writing a program that will do it for me)?
nFury8
14th May 2003, 10:29
Can be done in Adobe After Effects, in the timeline just put the smaller clip on top of the background clip, and you're all set to go.
ulfschack
16th May 2003, 15:47
Or vegas ... same method
DDogg
16th May 2003, 16:32
I'm looking for a program / filter that will allow me to place a smaller clip, say 160 x 120, into a larger clip such as 640 x 480. Do you mean like Picture in Picture?
Bardez
16th May 2003, 17:58
yes, exactly
DDogg
16th May 2003, 21:11
Well, I can only speak of Vegas, but I am sure one of the Premiere users can help you with that. In Vegas this is part of the pan crop function and is covered quite well in the tutorial files available on the sofo website. I think pointing you there would be better than me trying to explain (and remember how). It works extremely well. There is a free Vegas demo you could take a look at in conjunction with the tutorial files. I think the PIP functionality is just what you are looking for.
I wonder if PIP could be done in Avisynth? It would not surprise me. I'll see if I can check around and see.
matrix
18th May 2003, 14:10
I see nobody came back with an answer.
Avisynth's layer does that.
main=avisource(" your clip ").bilinearresize(640,480)#in case it has a different resolution.
pip=main.trim(2000,0) # Or avisource(" your other clip ")
layer(main,pip.bicubicresize(160,120),"add",255,40,40)
Note that layer only works in rgb32 and yuy2. So use converttoyuy2() if your clip is othe color format.
There's a different way of doing it to avoid color conversion.
main=avisource(" your clip ").bilinearresize(640,480)
pip=main.trim(2000,0).bilinearresize(160,120)
top=main.crop(0,0,-0,-440)
middle=stackhorizontal(main.crop(0,40,-600,-320),pip,main.crop(200,40,-0,-320))
bottom=main.crop(0,160,-0,-0)
return stackvertical(top,middle,bottom)
It does the exact same thing as layer, but is a little more complicated and require some calculations if you want the smaller clip in a different location on the main clip.
Layer on the other hand, lets you cange the position by changing the last 2 parameters, in this case ...40,40), wich control the position of the overlayed clip.
Either way, you could have more than 1 clip showing on the main one.
DDogg
18th May 2003, 15:41
matrix, thanks for that fine example!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.