Stitching MPG files together

Hi,

Is there a way to "stitch", or combine, multiple .MPG clips into one clip on the Mac? I have several .MPG clips that I would like to combine into one file (e.g. I want clip1, clip2, clip3, etc. to be combined into one big clip. I was able to do it on Windows with a third party program, but I can't seem to find a way to do it on the Mac (I'm somewhat new to the Mac and OS X). Can one of the included applications do it, like iMovie? Also, I don't want to pay much money to do this.

Thanks

eMac 1.25GHz, 512MB RAM, Mac OS X (10.3.5)

Posted on Mar 3, 2006 9:57 AM

Reply
9 replies

Mar 3, 2006 12:53 PM in response to Beavis2084

I tried using iMovie, but for some reason it won't accept .mpg files. Is that normal? Seems like it ought to take .mpg files. When I try to add them is says it is skipping the file and asks if I want to continue.

I am using version 4.0.1. Should I use a different version?

Would Quick Time Pro allow me to do this? I'm afraid if I purchase it, it won't work.

Mar 3, 2006 1:42 PM in response to Scott T.

In some cases, just concatenating the files together works fine. Use Terminal;

$ cat file1 file2 file3 >combined_file

If you have a large number of clips, named m01.mpg m02.mpg ... m99.mpg,
and no other mpg files starting with 'm', you can easily do it with

$ cat m*.mpg >t1; mv t1 m_all.mpg

(* is a wildcard that is expanded to list all matching files in lexical order.)

Mar 3, 2006 4:15 PM in response to Scott T.

In response to Scott's question, I no longer have Quicktime Pro. My pre-OS X version however would let me open each mpg movie in a different window, open a new (blank) window, and then cut-and-paste each of the mpg movies into the blank window. For example, I would click on the mpg1 movie (say), select all (command-a), copy the selection (command-c), click on the blank window, and paste (command-v). At that point the new window has a copy of mpg1. Then I would click on the mpg2 window, command-a, command-c, and command-v the result to the end of the movie in the new window (be sure to deselect the last movie pasted and position the pointer at the end, or you will end up replacing the last pasted movie with the new one). When you are done, save the movie with all the mpgs concantenated together.

When I got my iMac, my (OS-8) Pro version would no longer run, and I haven't felt like springing for the OS-X version. But I can't see why it wouldn't work the same way.

Drake

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Stitching MPG files together

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.