Saturday, December 18, 2010

Joining AVI files together

Just a quick post on something I was trying to do today. I wanted to join two avi files together into one movie file.
I installed mencoder first:

sudo apt-get install mencoder


Then I used the command:

mencoder -ovc copy -oac copy firstpart1.avi secondpart2.avi -o fullmovie.avi


-ovc tells mencoder to keep the original video file
-oac tells mencoder to keep the original audio file
-o specifies the final output file name

Now it's off to watch the movie.

No comments: