Joining two video files together

This will go through how to combine two or more video files together

xvid files

mencoder -forceidx -ovc copy -oac copy -o file.avi p1.avi p2.avi

mkv files

mkvmerge file1.mkv + file2.mkv -o file.mkv

Joining files

The files may just have been split: HJSplit

References

Ubuntu Forum Post (xvid)
Ubuntu Forum Post (mkv)