« Back to Video
Join several videos with Mencoder
Here's how to merge several video files into a signle one with
It's pretty easy, here it is:
mencoder -oac copy -ovc copy -idx -o output.avi video1.avi video2.avi video3.avi
- The -oac copy option tells mencoder to just copy the audio stream
(no reencoding). -ovc copy does the same with the video
- The -idx option asks mencoder to build the index if
none was found. This makes searching inside the video easier.
- -o stands for "output" and specifies the output file.
- The last few parameters are the input video files.
You can join as many files as you like. This will work for videos of the
same resolution, and using the same codec, but any
video format that mencoder recognizes is fine.
© 2006 -- 2011 Manu Cornet