Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have three videos, only two have the same image dimensions. I can playback the videos synchronized using AviSynth:

clip1 = DirectShowSource("leftVideo.avi", audio=false)
clip2 = DirectShowSource("rightVideo", audio=false)


Now, the third video actually has the audio I want to play, and has a different format and dimension from the first two. I can play one of the first two videos with the third video's audio like this:


My question is: How can I play all three videos at once, with the first two videos (leftVideo, rightVideo) stacked horizontally above, and have the third video show both video and audio centered below the horizontal stack?

Bonus: Is there a way to show the third video (audio and video) stacked constantly on the left, and manipulate the right video to toggle between the other two videos (via hotkey)?

share|improve this question

I think you will want to mod your lines to be like this:

clip1 = DirectShowSource("leftVideo.avi", audio=false)
clip2 = DirectShowSource("rightVideo", audio=false)
return = StackHorizontal(clip1, clip2)
Audio = AVISource("thirdVideo.avi")

AudioDub(return, Audio)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.