How to losslessly combine multiple AVI files into a single file?

I would like to combine multiple movie clips with .mov and .avi extension into a single file. Is there any free software in the market that is good and able to perform that?

Preferably that should work without any loss in quality.


I use Avidemux for tasks like this.

enter image description here

Process with Avidemux is as follows:

  1. Choose File->Open and select the first file
  2. Choose File->Append and select the next file. Repeat this step until all the files you want to append to the first file have been appended.

  3. Choose Save and select location and filename


Try mencoder or ffmpeg, both free, both good.

Mencoder

mencoder -oac copy -ovc copy -o output.avi input1.avi input2.avi

FFmpeg

From the FFmpeg Wiki article on how to concatenate (join, merge) media files:

Create a file "mylist.txt" with all the files you want to have concatenated in the following form ( Lines starting with a dash are ignored ) :

# this is a comment
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'

Note that these can be either relative or absolute paths. Then you can encode your files with:

ffmpeg -f concat -i mylist.txt -c copy output

Easy Video Joiner can join multiple AVI, MPEG (MPG), RM (Real Media) or WMV/ASF (Window Media) files into one large movie file. You can add an unlimited number of video files as you like to the list and easily rearrange their order if needed. With just a few mouse clicks, you can enjoy your movie clips without interruption.

alt text

Easy Video Joiner is freeware.