1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-09-20 06:33:24 +01:00
wiki.mbirth.de/know-how/software/linux/_posts/2010-03-02-merge-video-files.md

1002 B

created layout layout_old redirect_to tags title toc updated
2010-03-02 22:13:26 +0100 redirect default https://blog.mbirth.de/archives/2010/03/02/merge-video-files.html
know-how
software
linux
video
Merge Video Files false 2010-03-02 23:59:34 +0100

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