Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Split QuickTime movies into equal-sized sections Apps
Here's a little Applescript that I've polished up for release: Movie Splitter 3GP. It uses QuickTime Player to slice up any movie into equally-sized chunks, and exports those chunks as 3GP. I wrote this when I discovered that my phone (the Motorola V3i) seems to have a hard time keeping video and sound in sync for more than 20 minutes, and I intended to use it to watch an entire movie.

It's quite straightforward to use; open the movie you want to export and click on the script. It will ask how long you want the slices to be, and uses the most recent export settings. So just be sure to check them before you take it for a test drive. Enjoy.

[robg adds: Here's a direct download link to a mirrored copy on macosxhints.com: 16KB download. I haven't tested the script.]
    •    
  • Currently 2.60 / 5
  You rated: 4 / 5 (5 votes cast)
 
[16,080 views]  

Split QuickTime movies into equal-sized sections | 7 comments | Create New Account
Click here to return to the 'Split QuickTime movies into equal-sized sections' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Split QuickTime movies into equal-sized sections
Authored by: dotcommer1 on Aug 15, '06 07:33:22PM

Pretty useful, but is there a way to remove the code for exporting in gp, and instead having it export in say, Quicktime movie format, or MP4? This might come in handy when i have a large movie and want to chop it up real quick for posting on the web.

~Dot



[ Reply to This | # ]
Split QuickTime movies into equal-sized sections
Authored by: mattcomi on Aug 17, '06 01:18:37AM
Yes, you can modify the script slightly to have it export as whatever format you like...

1.

find the line:
set theFile to (theFolder & theTitle & "_" & theSlice) & ".3gp" as string

change '3gp' to whatever extension you like.

2.

find the line:
export movie 1 to file theFile as ThreeGPP using most recent settings

and change ThreeGPP to anything listed in the QuickTime applescript library, e.g. AVI, BMP, QuickTime movie.

Hope that helps.

---
Big Bucket Amusement
http://www.bigbucketblog.com/

[ Reply to This | # ]

Split QuickTime movies into equal-sized sections
Authored by: brainbox1100 on Aug 16, '06 10:49:10PM
And for a more complicated, using built in tools.... You can also use the split command, found on most UNIX systems; a Windows port exists also.
just do:
split -b 1000m myfile.avi myfile-

The -b 1000m is 1G sections, and the myfile- is the prefix of the output files. For a 3G file you will end up with myfile-aa, myfile-ab, myfile-ac
To join them back together you can:
mv myfile-aa myfile.avi
cat myfile-ab >> myfile.avi
cat myfile-ac >> myfile.avi

The >> tells the cat command to append. So you are just appending one segment to the end of the previous one.

[ Reply to This | # ]
Split QuickTime movies into equal-sized sections
Authored by: brainbox1100 on Aug 16, '06 10:52:09PM

Woops. I should have read that more carefully. My way just split the files, no export. No way to delete the comment I guess...



[ Reply to This | # ]
Split QuickTime movies into equal-sized sections
Authored by: vocaro on Aug 18, '06 01:27:12PM
In addition, I don't think your suggestion would work anyway, at least not for what the original submitter intended. He needed a way to split a movie into playable sections, and simply slicing the file up might slice through headers or key frames or what have you, rendering all but the first section unplayable.

[ Reply to This | # ]
Split QuickTime movies into equal-sized sections
Authored by: milesgehm on Aug 26, '06 10:53:36AM

The cat command for joining files does work, at least on the 2 mpg files I tried it on. cool, thanks.



[ Reply to This | # ]
Split QuickTime movies into equal-sized sections
Authored by: arskinner on Sep 22, '08 11:44:54PM
SplitFuse will split movies into segments and can save those segments in any format

[ Reply to This | # ]