Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

What is the best CLI tool (preferably Linux based) that will allow concatenating video files, and also compressing them on the client-side for YouTube upload?

share|improve this question

My best bet is ffmpeg. It is powerful enough to do what you want.

share|improve this answer

You can merge 2 video files with this command line:

mencoder -ovc copy -oac copy video1.avi video2.avi -o output.avi
share|improve this answer
mencoder is rather hard to find... The Google hits lead you to MPlayer, and when you download it's actually called SMPlayer. Any ideas where to find mencoder, really? – Alex R Dec 19 '09 at 20:06
For me, mencoder is in the mencoder ubuntu package. – Rory Dec 21 '09 at 10:30

mencoder, transcode and ffmpeg are your friends (amongst others) you could also use vlc in CLI mode (AFAIK uses ffmpeg) or mplayer (mencoder)

share|improve this answer
VLC tends to supply its own ffmpeg build internally, so it's worth trying separately if ffmpeg isn't quite doing what you want. – quack quixote Dec 9 '09 at 14:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .