As you might know, Youtube has a time limit for movies. They only allow a max. duration of 10 minutes each movie you upload. There is also a 100MB limit foreach movie but that wasn’t my problem here.
After some searching I found out that it’s pretty simple doing this with Sabayon Linux without installing any additional packages.
Given my movie (full_movie.avi) is a length off 00:18:49 I would need to split this.
create the first part:
mencoder -endpos 00:10:00 -ovc copy -oac copy test-001.avi -o part_1.avi
create the second part that starts at 00:10:00
mencoder -ss 00:10:00 -endpos 00:20:00 -ovc copy -oac copy test-001.avi -o part_2.avi
From here you can obviously continue until you split up the entire movie.
and there you have it.
joost@xbox-360 ~/dvdrip-data/test/avi/001 $ ls -lh
-rw-r–r– 1 joost users 77M May 21 19:59 full_movie.avi
-rw-r–r– 1 joost users 41M Jun 9 13:50 part_1.avi
-rw-r–r– 1 joost users 36M Jun 9 13:51 part_2.avi