Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

3 Answers 3

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

share|improve this answer

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 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

Your Answer

 
discard

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.