Log in

View Full Version : Adding borders from a separate video


bruno321
9th January 2022, 14:18
I have two videos. Video S(mall) is 784x576, video B(ig) is 788x584. They have the same content, they correspond frame-perfectly, but S has higher video quality. What I want to do is: take S and make it 788x584 by taking the 2x4x2x4 border from B. How can I do that?

StainlessS
9th January 2022, 14:21
Easiest way has got to be Overlay the smaller on bigger.

Audio will come from the bigger, must AudioDub audio from original smaller,
if that is better quality audio.

B.Overlay(S,x=2,y=4)
#AudioDubEx(S)

bruno321
9th January 2022, 14:39
Thanks! That works, but now that I've done it, I realized I've miscomputed something. I think I may need a less symmetrical frame, like 2x6x2x2. How can I do that?

VoodooFX
9th January 2022, 14:46
Post samples from both videos.

StainlessS
11th January 2022, 12:07
2x6x2x2
Dont klnow if I understand your shorthand, but suggest try

B.Overlay(S,x=2,y=6) # x,y coords where top LHS of small clip overlays on big clip.
#AudioDubEx(S)

Otherwise do as VoodooFX says.