Thursday 29 November 2012

Combining multiple video files with mencoder


The following command can be used to combine several files into a single file,

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


Caveats:

  • Files must be the same resolution
  • Files must be encoded with the same codec (although different containers are ok)