Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 30, 2007, 02:34 PM   #1
thepope
macrumors newbie
 
Join Date: Jan 2007
Cat Command - Terminal

I've tried using the Cat Command in the terminal but it won't join my two .avi files. Is this only Unix or can the Mac do it as well.

1. Open Terminal
2. Type "cat", then drag first (.avi), then add second (.avi)
3. put in ">"
4. and then type the title that you want the new file to have.
5. It will look live this:

cat movie1.avi movie2.avi > movie.avi

I've tried a few times, it creates the movie.avi, but it only has movie1.avi showing up.

Thanks in advance,
Roger
thepope is offline   0 Reply With Quote
Old Nov 30, 2007, 02:47 PM   #2
FatGolfer
macrumors member
 
Join Date: Oct 2006
try

cat movie1.avi > movie.avi
cat movie2.avi >> movie.avi

>> appends rather than writes
__________________
Mac Pro Quad 2.66Ghz - MacBook Pro 15.4" 2.33Ghz C2D - Powerbook 12" G4 1.5Ghz - iPod Touch 16GB - iPod Nano 6GB
FatGolfer is offline   0 Reply With Quote
Old Nov 30, 2007, 02:50 PM   #3
HiRez
macrumors 601
 
HiRez's Avatar
 
Join Date: Jan 2004
Location: Western US
I'm pretty sure you can't just append two AVI files together like that and have a joined movie that plays properly. There's a lot of other information in the files like header data. I could be wrong, but I doubt it would work.

EDIT: Here, try this tool.
__________________
Go outside, the graphics are amazing!
HiRez is offline   0 Reply With Quote
Old Nov 30, 2007, 02:56 PM   #4
FatGolfer
macrumors member
 
Join Date: Oct 2006
Quote:
Originally Posted by HiRez View Post
I'm pretty sure you can't just append two AVI files together like that and have a joined movie that plays properly. There's a lot of other information in the files like header data. I could be wrong, but I doubt it would work.

EDIT: Here, try this tool.
It works on Linux - don't know about OS X. The sound may jump out of sync but cat'ing them together should work fine.
__________________
Mac Pro Quad 2.66Ghz - MacBook Pro 15.4" 2.33Ghz C2D - Powerbook 12" G4 1.5Ghz - iPod Touch 16GB - iPod Nano 6GB
FatGolfer is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting 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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Terminal Command Not Working In 10.6.8? SinisterPower MacBook Pro 3 Jul 9, 2011 10:12 AM
Python terminal command? lynkynpark86 Mac Programming 2 May 28, 2011 04:28 PM
Where can I find a guide to Terminal Commands? ryanflucas OS X 4 Apr 27, 2011 05:43 PM
date command in Terminal - getting higher resolution mark2288 OS X 1 Mar 21, 2010 12:54 AM
Terminal command - ignore server message..Please help! flinstone Mac Programming 1 Feb 3, 2008 02:33 PM


All times are GMT -5. The time now is 08:09 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC