How to concatenate multiple video file together on Linux

I 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?

asked Mar 6, 2014 by Lucy (990 points)

1 Answer

Best answer

You can use mencoder to concatenate multiple video files to one file. For installing mencoder on Fedora, please check:

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.

answered Mar 7, 2014 by Eric Z Ma (44,280 points)
edited Nov 30, 2015 by Eric Z Ma

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost