How to concatenate multiple video file together on Linux
Posted on In QAI have multiple video files, say video1.avi, video2.avi and video3.avi. How to concatenate these multiple video file to a single file together on Linux?
You can use mencoder
to concatenate multiple video files to one file. For installing mencoder on Fedora, please check: http://www.systutorials.com/1493/mplayer-on-fedora/
For the question, the command is:
mencoder -oac copy -ovc copy -idx -o output.avi video1.avi video2.avi video3.avi
output.avi will be the concatenated video file.
Thanks by your suggestion, Eric. It works very good. I had about one hour fighting with ffmpeg, without success. With mencoder, it took only a couple of minutes.