How To Combine Video Files

Here’s a great tip for re-combining video files, if a website has split it into smaller parts to make it easier for people with slow internet connections to download them.  It’s so simple, it’s beautiful.

The method is different depending on the type of movie that you are playing. If the movie consists of multiple mpg movies you can use the windows command line to merge them.

Start the command line by pressing the windows key and R. Enter cmd in the prompt which will start the command line window. Enter the following line into the command line, make sure you enter the right filepath to the movie. I suggest you move the files to the top of a hard drive to ease the amount of typing that needs to be done.

copy /B “C:\movie1.mpg” + “C:\movie2.mpg” + “C:\movie3.mpg” “C:\completemovie.mpg”

This joins movie1.mpg, movie2.mpg and movie3.mpg into completemovie.mpg. You can add more movies to join more parts without problems.

Combining avi files is a bit more complicated.  If you want to learn how to do this then visit gHacks

,

4 Responses to How To Combine Video Files

  1. Eric September 28, 2008 at 5:01 am #

    I’ve been working on computers since the mid 80′s, and I’ve been doing professional audio video work (particularly MPEG encoding) for the studios since the early 90s, and DVD authoring for the studios since 97.  I know just about every DOS and Windows trick in the book and I’ve used just about every editing, encoding, and DVD authoring program in existence. I mention that because I never knew about this handy little function and that’s saying something! 

    I’ve known about this function for combining files for ages, but I’d only used used it for things like text documents and such, never even considered the possiblity that it could be used for an MPEG file.  Tested it out with a couple DVD compliant MPEG 2 Program streams that were encoded with a Minerva from DBC and it worked like a charm.  I rarely have the need to simply combine MPEG files without any editing (more of a need for combining AVI files), but this could come in quite handy in the right situation.  Thanks for the tip!

  2. JJ January 22, 2009 at 4:28 pm #

    This solution actually breaks your videos by inserting random header information halfway through the video file. Most players should be able to ignore this but you may run into issues with some video solutions and this definitely isn’t a viable option for something you want to archive.

  3. Atif April 29, 2009 at 9:13 am #

    gr8……………it works.

  4. AlterPoser October 29, 2009 at 7:15 pm #

    Thanks this helped a lot.

Leave a Reply