Log in

View Full Version : Need to resize video image but keep frame size


Starduster
3rd September 2013, 21:55
I have a sequence of videos that I make into one with a common frame size of 640x480 using:
sld1 = sld1.spline36Resize(640,480)
...
sld1 ++ sld2 ++ sldx...

One of the source videos is 480x800. Of course when I apply the resize it comes out squished.

So the question is, how do I resize that 480x800 video into an image that's essentially 288x480 and a frame size of 640x480 so I can put it in with everything else?.. I guess kind of like being able to "pad" the right and left margins with 176 px of black on either side.

Gavino
3rd September 2013, 22:00
Resize to 288x480, then AddBorders(176, 0, 176, 0)

Starduster
3rd September 2013, 22:32
Well, that was simple enough! I had found a post on ZoomBox and was messing with it. However, AddBorders looks alot lighter... and works! ;-) Thanks for the terrific reply!