Splitting up your movies for Youtube

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
total 152M
-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

  1. #1 by Chen Xiao-Long on June 10, 2010 - 2:14 pm

    Although this is awesome information, I don’t think Youtube has the limit any more. I’ve seen many videos that are over 20 minutes.

Leave a reply to Chen Xiao-Long Cancel reply