Skip to content

Instantly share code, notes, and snippets.

@guizmo
Created August 16, 2012 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guizmo/3373321 to your computer and use it in GitHub Desktop.
Save guizmo/3373321 to your computer and use it in GitHub Desktop.
Merge 2 movie files
cat video1.avi video2.avi videon.avi > output.avi (this merges them but only playes length of 1st mov)
mencoder -forceidx -oac copy -ovc copy output.avi -o output_final.avi (this commands rebuilds the header file. One unqiue point about this commands is that it only copies the frames and audio across, it doesn’t re-encode them )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment