Difference between revisions of "Merge AVI files"

From Peter Pap's Technowiki
Jump to: navigation, search
(Created page with "This is a simple howto explaining how to merge two (or more) avi into one. First get the necessary software. Open terminal (alt+f2 thentype gnome-terminal) and type: sudo apt-...")
 
 
Line 14: Line 14:
 
-oac copy - tells the mencoder to keep the original type of audio, no encoding
 
-oac copy - tells the mencoder to keep the original type of audio, no encoding
 
-o - specifies the output file name (and location if writen as /location/of/the/merged/video/merged.avi)
 
-o - specifies the output file name (and location if writen as /location/of/the/merged/video/merged.avi)
 +
 +
'''NOTE:''' This How-To was taken from "Ubuntu How To's", http://www.ubuntuhowtos.com/howtos/merge_avi_files_with_mencoder.

Latest revision as of 02:17, 8 November 2010

This is a simple howto explaining how to merge two (or more) avi into one. First get the necessary software. Open terminal (alt+f2 thentype gnome-terminal) and type:

 sudo apt-get install mencoder

Next navigate to the folder where your video is located (for simplicity keep all of the files you want to merge in the same folder) and type:

 mencoder -ovc copy -oac copy video1.avi video2.avi -o completevideos.avi

Replace video1.avi video2.avi with original videos you want to merge and replace completevideos.avi with whatever you want your merged video to be called.

Here's a little explanation of what mencoder do:

-ovc copy - tells the mencoder to keep the original type of video, no encoding -oac copy - tells the mencoder to keep the original type of audio, no encoding -o - specifies the output file name (and location if writen as /location/of/the/merged/video/merged.avi)

NOTE: This How-To was taken from "Ubuntu How To's", http://www.ubuntuhowtos.com/howtos/merge_avi_files_with_mencoder.