Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

motulist

macrumors 601
Original poster
Dec 2, 2003
4,236
611
I've downloaded some split video files from usenet and I need to join them together. I've tried everything, I downloaded some software (including "split and concat") that doesn't work right, I looked for apple scripts to do it, I've even looked for a quick answer on how to do it through the terminal, but to no avail. I feel like it shouldn't be nearly this hard, so I've probably overlooked something really obvious. Anybody have any ideas? Thanks.
 
they aren't compressed at all, they are just split parts of an mpeg.
 
motulist said:
they aren't compressed at all, they are just split parts of an mpeg.
With mpeg files you can use cat from the command line. First copy all the files to a new folder (with a one word name like 'files' - it makes this simpler to explain) then open terminal

cd name of folder
cat * > a_new_filename.mpg

Your files will be concatenated in the new file. Well it works for mplayer anyway.
 
If the files don't come out in the right order you can do it sequentially using a variation

cat firstfile > newfile
cat secondfile >> newfile
cat thirdfile >> newfile

and so on...
 
The cat command worked perfectly, thanks for the help.

caveman_uk said:
With mpeg files you can use cat from the command line. First copy all the files to a new folder (with a one word name like 'files' - it makes this simpler to explain) then open terminal

cd name of folder
cat * > a_new_filename.mpg

Your files will be concatenated in the new file. Well it works for mplayer anyway.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.