Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Utility to stitch/join "MPEG-1 Muxed" clips together

Utility to stitch/join "MPEG-1 Muxed" clips together
Thread Tools
mactropolis
Senior User
Join Date: Nov 1999
Location: Milkyway Galaxy
Status: Offline
Reply With Quote
Feb 8, 2004, 04:37 AM
 
Hi,

I have several MPEG files that are in "MPEG-1 Muxed" format (audio & video combined into 1 track). I would like to be able to join or stitch the clips together into one continuous cross-platform movie file, preferable still in MPEG format.

I know all about Quicktime Pro and I have allready tried using QT Player, however the Quicktime Player application refuses to allow me to Copy the movie even after I select it on the timeline. After using the shift key to highlight/select the segment of a movie, I would normally then go Edit>Copy and easily and painlessly Edit>Paste the content into a new movie or an existing movie. However, very oddly, this procedure does not work with the MPEG-1 files I have here. I'm not trying to seperate the audio from video or anything like that, just concatenate several "MPEG-1 Muxed" clips together.

Does anyone know if this is possible? Any software program exists that could allow me to accomplish this task? Have I overlooked something?

Thanks in advance,
Death To Extremists!
     
Macanoid
Senior User
Join Date: Feb 2001
Location: macsterdam
Status: Offline
Reply With Quote
Feb 8, 2004, 04:46 AM
 
try 'mpgtxwrap' - it's on versiontracker!
     
dtriska
Mac Elite
Join Date: Sep 2000
Location: Canada
Status: Offline
Reply With Quote
Feb 8, 2004, 04:47 AM
 
The MPEG format is meant for distribution, not editing. That's why it can be difficult to alter these files.

With that said, try this. It's a GUI for mpgtx.
     
mactropolis  (op)
Senior User
Join Date: Nov 1999
Location: Milkyway Galaxy
Status: Offline
Reply With Quote
Feb 8, 2004, 10:59 PM
 
Originally posted by Macanoid:
try 'mpgtxwrap' - it's on versiontracker!
I did:
http://www.versiontracker.com/php/se...&action=search

Are you aware of the developers home page so I can check it out there?
Death To Extremists!
     
Uncle Skeleton
Addicted to MacNN
Join Date: Nov 2002
Location: Rockville, MD
Status: Offline
Reply With Quote
Feb 8, 2004, 11:12 PM
 
search for mpgtx
     
gator
Dedicated MacNNer
Join Date: May 2002
Location: The Swamp
Status: Offline
Reply With Quote
Feb 8, 2004, 11:49 PM
 
Originally posted by mactropolis:
I did:
http://www.versiontracker.com/php/se...&action=search

Are you aware of the developers home page so I can check it out there?
http://www.biermann.org/philipp/mpegcut/
12" PB 1 GHz Combo, 60GB, 512MB, AE
40GB iPod
     
cnelson87
Forum Regular
Join Date: Jul 2002
Location: Seattle
Status: Offline
Reply With Quote
Feb 9, 2004, 12:52 PM
 
try MPEGWorks. it will join, split, and mux/demux mpg1 and mpg2.
     
mactropolis  (op)
Senior User
Join Date: Nov 1999
Location: Milkyway Galaxy
Status: Offline
Reply With Quote
Feb 9, 2004, 05:37 PM
 
Originally posted by cnelson87:
try MPEGWorks. it will join, split, and mux/demux mpg1 and mpg2.
Thanks. Where do you think I can find the latest version of MPEGWorks anyway?
Death To Extremists!
     
Fothb
Forum Regular
Join Date: Dec 2003
Status: Offline
Reply With Quote
Feb 9, 2004, 07:09 PM
 
Are the MPEGs encoded at the same resolution? If all you want to do is combine two smaller files into one big file, you can simply use the Unix tool "cat" like so:

1. Open Terminal
2. cd to the directory where the two MPEGs are located.
3. cat file1.mpg file2.mpg > bigfile.mpg

This works brilliantly for VOB files and MPEG files, but it doesn't for movies that require specific header information (.mov, for example). You can combine as many files as you want:

cat file1.mpg file2.mpg file3.mpg etc.mpg > realbigfile.mpg
     
cnelson87
Forum Regular
Join Date: Jul 2002
Location: Seattle
Status: Offline
Reply With Quote
Feb 9, 2004, 07:15 PM
 
my bad, it's mpeg2works. try versiontracker:
http://www.versiontracker.com/dyn/moreinfo/macosx/20867


Originally posted by mactropolis:
Thanks. Where do you think I can find the latest version of MPEGWorks anyway?
     
mactropolis  (op)
Senior User
Join Date: Nov 1999
Location: Milkyway Galaxy
Status: Offline
Reply With Quote
Feb 10, 2004, 02:03 AM
 
Originally posted by Fothb:
Are the MPEGs encoded at the same resolution? If all you want to do is combine two smaller files into one big file, you can simply use the Unix tool "cat" like so:

1. Open Terminal
2. cd to the directory where the two MPEGs are located.
3. cat file1.mpg file2.mpg > bigfile.mpg

This works brilliantly for VOB files and MPEG files, but it doesn't for movies that require specific header information (.mov, for example). You can combine as many files as you want:

cat file1.mpg file2.mpg file3.mpg etc.mpg > realbigfile.mpg
Are you serious? Is it that simple? Yes, I believe the clip files are the same resolution because their clearly have only been divided up for easier download (smaller chunks).

But what exactly do you mean by resolution anyway?
Death To Extremists!
     
Uncle Skeleton
Addicted to MacNN
Join Date: Nov 2002
Location: Rockville, MD
Status: Offline
Reply With Quote
Feb 10, 2004, 03:38 AM
 
That cat trick will cause you nothing but trouble. The resulting file plays fine in highly tolerant players like VLC, but it's not a correct file. If you play it in QuickTime you will see something people here tend to call "layering," because it will only play the one segment at a time. At first it plays only the first segment. But if you go to the end and then scrub backwards you see only the second segment, and it looks like each segment is layered over the last one but there's no way to switch bewteen these "layers" (on purpose that is). If you play around with it long enough you can eventually see every segment (I think). Anyway, chances are you'll run into problems with that file down the road
     
Fothb
Forum Regular
Join Date: Dec 2003
Status: Offline
Reply With Quote
Feb 10, 2004, 09:06 PM
 
By "resolution" I meant the width and height of the movies. You can't use 'cat' to slam together two movies of different width and height settings.

Also, take heed of Uncle Skeleton's warning. Using 'cat' doesn't work for everything. For me, it works if my movies both came from the same source and are in the same format (for example, both MPEG1) and both have the same width and height values. I've been able to make video DVDs by using 'cat' on two VOB files with success as well, but there are certainly times when it won't work.

I was actually turned on to using 'cat' myself by the creator of Sizzle, and I was turned on to using Sizzle by Uncle Skeleton. Small world, eh?

Originally posted by Uncle Skeleton:
That cat trick will cause you nothing but trouble. The resulting file plays fine in highly tolerant players like VLC, but it's not a correct file. If you play it in QuickTime you will see something people here tend to call "layering," because it will only play the one segment at a time. At first it plays only the first segment. But if you go to the end and then scrub backwards you see only the second segment, and it looks like each segment is layered over the last one but there's no way to switch bewteen these "layers" (on purpose that is). If you play around with it long enough you can eventually see every segment (I think). Anyway, chances are you'll run into problems with that file down the road
     
Uncle Skeleton
Addicted to MacNN
Join Date: Nov 2002
Location: Rockville, MD
Status: Offline
Reply With Quote
Feb 11, 2004, 02:44 AM
 
yeah small world. Mr Sizzle and I both probably use cat a lot on elementary streams that are either going onto or coming off of DVDs. That method is perfectly fine for the likes of m2v, ac3 and vob, but for whatever reason they're not kosher with mpg. I'm sure he could tell you why if you asked him, but I can't.

If you are going to put your joined mpeg files on a DVD, I'd be interested to know if cat'ing the mpegs before authoring the disc is a problem or not. If you try it, be sure to report whether it works
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 10:37 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,