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'm looking for a command line video editor in linux. Basically, I need to compose two 320x240 into a single 640x240 video, with both videos side to side.

I need to do it using command line so I can run it from a server.

Any ideas?

share|improve this question

migrated from Sep 6 '10 at 0:32

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

Mencoder will convert a video to and from a directory of images (one image per frame) with audio on the side. Imagemagick should be able to put two 320x240 images in a single 640x240 one.

share|improve this answer
Thanks for the answer. How can I combine/merge the audio of both videos? – user48574 Sep 6 '10 at 2:54
You can use to mix sound in several way. Maybe you can start by using sox -m input1.wav input2.wav output.wav. There are several options, to pan the sound, adjust levels... – MaoPU Sep 7 '10 at 9:49

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.