thoughton:digitallife banner
about downloads imagery work
-- How To... --

From iMovie to YouTube, a.s.a.p.


Imagine this, if you will. You've put together your iMovie masterpiece and want to share it with friends and family. No problem, fire it through to iDVD and send them a DVD - right? But suppose it's a very short clip, or the friends and relatives in question are more of the 'casual acquaintance' variety? Is it still appropriate to physically send a DVD? This was the quandary I was in (short clips, not casual relatives) - so I decided to make use of YouTube.


Now, we know that YouTube wants the video to be in certain formats so they can convert it to the Flash movie that YouTube viewers see. On top of that YouTube specifically recommends divx or xvid video with MP3 audio to achieve the "best results". If the video or audio is in the wrong format you end up with a movie missing the video or audio (as I discovered on several occasions during this process :P ).

The problem is finding a video and audio format which - in order of importance - (a) is compatible with YouTube, (b) is as small as possible to reduce upload time, and (c) encodes reasonably quickly and directly from iMovie without any intermediate apps such as ffmpegX.

After a lot experimentation I have found that H.264 video with AAC audio offers the best combination of encoding speed, file size (and hence upload time), and being available from within iMovie itself. The fact that YouTube accepted H.264 was a surprise to me but given the format's excellent video quality it was definitely a most pleasant one!

Here's what I did and the settings I used:

1. Start with your video clip in iMovie. Highlight the video in the Clips panel so that it is displayed in the large preview window. Click File:Export.

2. You should now see something similar to the image below. Choose 'Expert settings'. Click 'Share'.
Imovie Youtube 1

3. You are now given a save dialog box similar to the one below. Click on the 'Export' drop-down menu and choose 'Movie to QuickTime Movie'. Click Options.
Imovie Youtube 2

4. You should now see the Movie Settings panel as shown below. In the video section click 'Settings'.
Imovie Youtube 3

5. Now we get to choose our video format. Set the 'Compression Type' to H.264 with a frame rate of 15 fps with automatic key frames. I have found that a 'Low' quality setting with 'Best Quality' multi-pass encoding produced video that is perfectly sufficient for YouTube. Click OK. (See that preview? That's why this blog has been kinda quiet recently :P )
Imovie Youtube 4

6. Back at the Movie Settings panel you already saw in step 4, click the audio 'Settings' button.

7. Now we choose an audio format. Unless your home video has some kind of superb stereo sound (unlikely), we can save some space here by choosing a mono format and reducing the bitrate. Set the format to AAC, choose Mono from the channels drop-down menu, change the 'Rate' (frequency) to 22.050 kHz, and choose a target bit rate of 24 kbps. Click OK.
Imovie Youtube 5

8. Back at the Movie Settings panel again. Make sure 'Prepare for internet streaming' is deselected.

9. Still at the Movie Settings panel. In the video section click 'Size'. You'll probably need a calculator here. My source video was from a European digital camera, so it is PAL video with frame sizes of 784 x 576 (essentially a 4:3 aspect ratio). YouTube's default video size is 425 pixels wide so we'll aim for that width, which means to preserve our aspect ratio our video should be 312 pixels tall (784/425 = 576/312). Choose 'Custom' dimensions and plug in the frame size you just calculated. I also, hopefully unnecessarily, check the 'Preserve aspect ratio' box using 'Letterbox'. Raincoat and an umbrella, you know? :) Check the 'Deinterlace Source Video' box. Click OK.
Imovie Youtube 6

10. Back at the Movie Settings panel from step 4 ... hopefully for the last time. Click OK.

11. You should now be back at the save dialog box from step 3. Give your exported movie a name, and click 'save'. iMovie will now show you a progress bar for your export.

On my 2.16GHz Core Duo MacBook Pro a 3 minute iMovie clip takes about 10 minutes to export using this method, and ends up being about 3 megabytes in size. This in turn takes me about 3 minutes to upload to YouTube on my bog-standard 2 megabit ADSL broadband with it's pitiful 256k upload speed. For me that is a quick-enough process to make using YouTube as painless as possible. And it keeps the rellies happy! :D
Posted on 28 March 2007, to How To... | Internet | Mac Video

Related entries

Interesting video interview with Derek Franklin - 8 March 2006
iMovie wedding video - 6 August 2003
DVD clips onto VHS - 21 February 2004
Encoding for SmartMovie - 23 May 2004
RealVideo to SmartMovie - 26 August 2004
Real Mplayer - 9 October 2004
Full screen video on the P800 - 21 May 2004
Fairly major ffmpegX update - 24 January 2005
Converting Ogg (ogm) and Matroska (mkv) video - 15 June 2004

Trackback Pings

TrackBack URL for this entry:
http://thoughton.co.uk/cgi-bin/mt-tb.cgi/249

Comments

this was really helpful! thx for posting it :D

by: Crabby at April 20, 2007 2:01 AM

This is great, spent all last night trying to get this working, and your instructions helped a lot!
Brian

by: Brian at May 17, 2007 7:14 PM

Thanks very much for this recipe, it was exactly what I needed

by: Smud Filey at June 3, 2007 6:36 PM

this was helpful as far as video goes, but when recording with a macbook isight, the audio was quite distorted... any ideas?

by: greg at June 8, 2007 9:24 PM

I don't have an "export" oprion when i go to file in iMovie - am i doing something wrong?

by: pablo at June 12, 2007 1:38 PM

option ,...not oprion!

by: pablo at June 12, 2007 1:40 PM

@Pablo - you don't have an 'export' option under your 'File' menu? Are you using an old version of iMovie? In older versions I think it was the 'share' item under the 'file' menu.

by: Tim Houghton at June 12, 2007 7:16 PM

thanks Tim - yeah i must have an old version.I have the "share" option...still a bit confused though....I tried to upload a 6 second clip just as a test and it was taking forever....

by: pabl at June 16, 2007 8:31 PM

Subscribe to comments

Enter your email address in the box below to receive an email notification whenever a new comment is posted to this entry.

Email address:

Post a comment










Remember personal info?


Click a smiley!
:) ;) 8) :| :(
:P :X :? :mad: :D
:o :cry: :shock: :blush: :roll:



Security code
Please enter this security number in the space below (this prevents automated responses).



Category icon Sponsors