Keynote presentations support video elements. These can be used to enhance slide backgrounds or deliver important information. For the presentation we're working on here, we're going to add a video that shows some of the major tourist sites of San Francisco. To ensure that video plays back smoothly, it's a good idea to optimize the files. Files that have been optimized for CD-ROM or Internet delivery will play back well in most presentations. For a thorough discussion of advanced video formats see Chapter 11, "For the Power User."
Preparing a Video in iMovie HD
If you need to edit video clips together into a finished movie, Apple offers you several options including Final Cut Pro, Final Cut Express, and iMovie HD. Each offers different benefits, and all handle video editing tasks well. iMovie HD is an excellent entry into video editing and is well suited for consumer or basic editing tasks. Using iMovie HD, we can prepare a finished clip to introduce our slideshow.
If you don't want to edit the video, you can open the file SF Tourism Finished.iMovieProject and then skip ahead to the section "Optimizing a Video for Playback." If you don't have access to iMovie HD, you can skip ahead to "Adding Video to a Slide" and use the file SF Tourism Finished.mov.
Open the iMovie Project folder in the Lesson 02 folder.
Double-click the file SF Tourism.iMovieProject to open it. iMovie HD launches.
Be sure to copy the project files to your local hard drive for smooth playback of video files.
In this project, you have eight clips to work with. Click the thumbnail showing the Golden Gate bridge to load the clip into the iMovie monitor.
Drag the playhead in the scrubber bar below the iMovie monitor to position the shot where you'd like to begin.
Place the pointer just below the playhead and drag to the right to choose the footage you want to keep. The crop markers move to the points where you begin and end your drag. Keep about 15 seconds of the shot. The gold portion of the scrubber bar identifies the footage you've selected.
Choose Edit > Crop to keep the selected video and remove the rest.
On your own, crop the rest of the movies to shorten them to about 6 to 15 seconds each.
Adding Clips to Your Movie
Once you've trimmed your clips, you can add them to the Timeline. You can arrange them and then add transitions. When you're movie is completed, you can export it for use in Keynote.
Click the Clip Viewer button below the iMovie monitor.
In the Clips pane, select the Golden Gate clip and drag it to the clip viewer.
Repeat step 2 for the other seven clips you want to add to your movie.
Drag clips in the clip viewer to rearrange them into the order you want. You will use this montage to introduce your presentation.
Choose File > Save Project to save your movie project.
Click the Editing button to access the edit controls.
Click the Transitions button to access iMovie's transitions.
You're going to add some transitions to make the movement from one slide to the next less jarring.
Click the Fade In transition and set the speed to 2:00.
The first video clip will fade in from black.
Drag the Fade In transition before the first clip in the Timeline.
Choose the Circle Opening transition and drag it between the first and second clips.
This transition will create a circular wipe between clips, to add interest to your presentation.
Repeat the Circle Opening transition between the remaining clips.
The red bar indicates that the transition is being processed (or rendered).
Click the Timeline viewer button to change your Timeline to a linear view.
This view makes it easier to see how long your sequence is running.
Click Play to watch your video sequence.
Choose File > Save to save your project.
Optimizing a Video for Playback
The video needs to be exported from iMovie HD and optimized for playback in Keynote.
Choose Share > QuickTime to create a movie file.
From the "Compress movie for" menu, choose Expert Settings.
A new window opens allowing you to customize your movie's compression and playback settings.
From the Export menu, choose Movie to QuickTime Movie.
Click the Options button to customize the export.
Click the Settings button and use the following settings (these settings will give you a good balance between quality and reasonable file size):
Click the Size button to set the movie size.
Video files often have nonsquare pixels, which are optimized for a television screen. You must convert the video for playback in Keynote. In the next step, you'll change the size of the video in order to convert the pixels from nonsquare to square.
Select Use custom size. Enter a width of 640 and a height of 480; then click OK.
Click OK again.
Navigate to the Movies folder in your User folder and save the movie as SF Tourism.mov.
Save your project and quit the iMovie.
Adding Video to a Slide
Placing video on a slide is similar to adding a photo. You just navigate to the file and drag the video onto a slide.
Select slide 1 in your presentation.
Click the New Slide button.
A new slide is added to your project.
Drag the new slide to the top of the stack in the slide organizer.
Select the text block and press Delete.
Select Movies from the Media Browser pop-up menu. If the Media Browser isn't already open, then select the Media Browser and choose Movies.
Drag the SF Tourism.mov file onto the canvas of slide 1.
Select the movie in your canvas and then select the Metrics Inspector.
Enter a size of 1024 x 768.
The movie scales to the size of the canvas.
The H.264 compressed movie scales very cleanly. This format requires QuickTime 7 or newer, but works very well. It nicely balances file size and image quality for optimal playback. The file will look good for playback, but will not require a lot of disk space.
Enter a position of 0 px for both the X and Y coordinates in the Position fields of the Metrics Inspector.
These coordinates place the upper-left corner of the movie at the upper-left corner of the slide. Because this slide and movie are exactly the same size, the movie completely fills the slide.
Click the Play button to test your presentation's movie introduction and soundtrack.
When the movie finishes, press the Esc key to exit your presentation.
Duplicating a Slide
It is a good idea to end your presentation with a title slide that may remain on the screen.
Select slide 2 in the slide organizer.
Hold down the Option key and drag slide 2 to the bottom of the stack.
The title slide is repeated and added to the bottom of your stack.
Press Command-S to save your work so far.
You can check your work by examining 02Presentation1_Stage4.key.