Wednesday, August 15, 2012

Merging .AVI filed from Bash command line

Install mencoder if you don't have it  sudo apt-get install mencoder
mencoder -ovc copy -oac copy 1.avi 2.avi -o MergedVideo.avi
-ovc copy - keep original video type, don't encode
-oac copy - keep original audio type, don't encode

Update: the above works sometimes, but just apt-get transcode-utils and run the avimerge utility.

No comments: