Log in

View Full Version : Meging two videos side by side


UnHuman
17th September 2017, 10:20
Hello. I'm average computer user that is trying to do some basic video editing. My knowledge of avisynth and video editing in general is very rudimentary. So this is my issue:

I have two uncompressed avi files with same resolutions, same frame rates, same length (in frames) that I would like to "glue" together to one video side by side. It would be something like before-after show-off. So result would be that both videos are playing at the same time, one on left and one on the right. Resolution of new video should keep height but width would be doubled.

Is there maybe easy way to do that in with VirtualDub? With AviSync I have found that AddBorders function allows expanding video frame but I don't know how to insert second video.

Btw, I found that avisynth documentation is hard to follow if you are not familiar with these "video" terminology.

Thanks.

LemMotlow
17th September 2017, 10:41
StackHorizotal() http://avisynth.nl/index.php/StackHorizontal

vid1=AviSource("drive:\path\to\file1.avi")
vid2=AviSource("drive:\path\to\file2.avi")
StackHorizontal(vid1,vid2)
return last

Sharc
17th September 2017, 10:44
In Avisynth, try:

clip1=Avisource("yourvideo1.avi")
clip2=Avisource("yourvideo2.avi")
stackhorizontal(clip1,clip2)

Edit:
LemMotlow was faster ....

UnHuman
18th September 2017, 20:56
Thanks guys, I didn't check that one in help files.


PS.
These freaking random questions by forum are killing me. Name popular mpeg-4 avc encoder? I have no freaking idea! Successor of mpeg-4 avc? WTF. I need to use goggle to post replay.