Table of Contents

Merge Video Files

To merge multiple (similar) video files into one big file, there are different ways.

avimerge

This only works with avi files. avimerge is part of the transcode-utils package.

avimerge -o output.avi -i file1.avi file2.avi file3.avi fileN.avi

If the sound doesn't match from the second file on, use the -c switch.

Check your files after merging! If you have no audio near the end of the final video file, use mencoder below.

mencoder

This should also work with mpg videos. Install the mencoder package.

mencoder -oac copy -ovc copy file1.avi file2.avi file3.avi fileN.avi -o output.avi

 
know-how/software/linux/merge-video-files.txt · Last modified: 2010-03-02 23:59.34 by mbirth
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Contents powered by Club-Mate Contents powered by BassDrive.com Labelled with ICRA