Friday 11 May 2012

Merging Two Halves of an AVI

Often I want to join two AVI files together into one long one..usually because it has been split to fit onto a CD or w/e.
The following uses a simple cat to join the files and then you can use mencoder in linux to do a bit of housekeeping to fix it up to the proper avi standards (it needs all sorts of footer data to tell the player how long it is etc.)

The following should do the trick...much easier than having to do the same thing in windows (don't have to download any silly applications)...also possible with ffmpeg but I prefer mencoder :)

cat part1.avi part2.avi > full_tmp.avi
mencoder full_tmp.avi -o full.avi -forceidx -ovc copy -oac copy

No comments:

Post a Comment

Leave a comment!

Can we just autofill city and state? Please!

Coming from a country that is not the US where zip/postal codes are hyper specific, it always drives me nuts when you are filling in a form ...