MacDevCenter    
 Published on MacDevCenter (http://www.macdevcenter.com/)
 See this if you're having trouble printing code examples


iApp Power Play

by Derrick Story
12/03/2002

Author's note: The so-called media iApps--iMovie, iPhoto, and iTunes--actually form an ad hoc IDE (integrated development environment) for creating digital content. You probably didn't realize this because Apple's marketing focus to consumers is simplicity, not integrated environments. But there's certainly more to the iApps than initially meets the eye.

In this article I'll show you how these components work together by taking an iPhoto slideshow and making it a full fledged video presentation. To work with today's example, all you need is a decent digital camera, a stack of music CDs, and Mac OS X.

Using Just One Leg of a Three-Legged Stool

During a recent iPhoto workshop I learned that many of the participants hadn't opened iMovie or played much with iTunes. When I asked, "Why not?" I heard responses such as, "I don't own a DV camcorder or an iPod, so why would I need those apps?"

I realized that many creative people have been influenced by Apple's consumer marketing that aims to keep things simple in order to appeal to the greatest number of potential customers. But the iApps are better than that. Beneath their tantalizing GUI lurks powerful tools capable of producing professional quality media, especially when used as a group. So let's take a look at how to get some serious work done with this trio of digital media programs.

Get Your Toolbox in Order

If you don't have Jaguar yet (10.2), that's job #1. You need all the performance you can get when working with digital media, and Jaguar is the best Apple has to offer.

Next, make sure you have iMovie, iTunes, and iPhoto accessible because you'll be opening them a lot. I keep them on the Dock. Put them wherever you want, but make sure they're easy to get to.

If you haven't upgraded to QuickTime Pro, version 6, now's the time to do it. The player version is fine for playback, but you'll need the pro tools to do serious work. And for $29.95, it's not a bad deal, especially since the iApps come bundled with the operating system.

Related Reading

iMovie 2: The Missing Manual
By David Pogue

Finally, you might want to grab a couple enhancement applications to expand the capabilities of the media iApps. Here are my favorites:


How the iApps Can Work Together

Now it's time to look at how the iApps can work together. First, let's explore the two database applications: iTunes and iPhoto. This is where your music and still images are stored and organized. You can tap these databases from other applications or through the Finder. If you configure them properly, then you can easily find the content you're looking for when outside the cozy confines of the application interface.

What do I mean by this? Let's say you want to find a song in iTunes to accompany a slideshow (like we're going to do later in this article). If all of your songs in iTunes have their database records completed (artist, album, song, etc), then you'll be able to quickly find what you're looking for when searching your music DB via iPhoto (yes, iPhoto can 'talk" to iTunes) or when looking for a particular tune via the Finder. If you haven't completed those iTunes records, then all you'll see is unknown artist and Track 01 -- not much help. More on this later.

Now I'm assuming that you have data in iTunes and iPhoto. If you haven't used these two programs much, go upload some pictures and rip a few CDs so you have media in there to play with. You'll be surprised at how often you'll tap this information after it's in there.

Related Reading

iPhoto: The Missing Manual
By David Pogue, Joseph Schorr, Derrick Story

Once you have content in your databases, then you can use QuickTime Pro, iMovie 2, and BBEdit to assemble and enhance your media. The basic process looks like this:

Obviously there are many variations on this theme of "iApps working together." If you're shooting digital video, for example, you may think you never have to leave the iMovie environment. But what if you want to import still images into your movie (iPhoto)? How about adding music (iTunes)? Why continue to shuffle through music CDs when you have your entire library sitting there in iTunes? Once you understand the iApp relationships, you'll find that you can create better productions in less time regardless of which medium you're primarily working in.

To work with today's example, you'll need a decent digital camera and some good music on a CD. We're going to build a better slideshow. iPhoto enables you to export pictures and music to QuickTime, but the final product is a little rough around the edges. By enhancing the core slideshow with iMovie, iTunes, and QT Pro, you can transform your humble iPhoto slideshow into a polished presentation.

After a few minutes of work, you'll see how the iApps function as a full-fledged development environment. This is only one scenario. There are many other exciting ways to use these tools.

So, let's start by digging in to the two database applications: iTunes and iPhoto.

iTunes

I probably don't have to say this, but you need to have a good variety of music in your iTunes library. So take a stack of your favorite CDs and rip them. Before doing so, however, remember two things:

Screen shot.
When you first load a CD in iTunes, you only see the most basic data, such as Track 01. If you were to rip the music at this point, you wouldn't have much data to accompany the MP3 files, which makes it difficult to use them outside of iTunes later on.


Screen shot.
If you're online, you can access the CDDB resource to automatically populate the important fields in your songs' database records.


Screen shot.
Now, after accessing the CDDB, you have much richer song records. iTunes will use this information to build a logical folder structure on your hard drive (as long as you have "Keep iTunes music folder organized" checked in the advanced preferences).


iPhoto

Now it's time to get your image database in order. As with iTunes for music, there are a few details to tend to when populating your database that will make your workflow smoother later on.

Screen shot.
iPhoto also lets you add valuable data to your digital content. The four key areas are: custom albums (e.g. Tues Uploads), Title, Date, and Comments. When you add information in these record fields, iPhoto stores it in the iPhoto Library with the image files. Now you can search for images across many iPhoto libraries using catalog apps such as CDFinder.

Working Example: Use iMovie and iTunes to Add Professional Touches to Your Still Images

One of the most powerful methods I have for presenting still images is the QuickTime slideshow. The pictures seem to come to life as they are organized by story line and accompanied by music. For example, in my photo business I now show these two-minute shows at the beginning of wedding appointments before I hand over the actual prints. The combination of pictures and music telling the story of their marriage makes a tremendous impact on clients, and the rest of the appointment always seems to go well.

But like everything else good in life, there's an art to making a persuasive presentation, whether it be for clients, coworkers, friends, or family. My best slideshows use iPhoto to create the core presentation, iTunes for the music, iMovie for the titles, and QuickTime Pro to stitch everything together.

I'm going to breeze through a couple techniques to give you a feel for how these apps can cooperate with each other. If you don't have experience working in iPhoto, iMovie, and Quicktime Pro, then refer to our tutorials in the Digital Photography and in the QuickTime and iMovie collections on Mac DevCenter. Also, check out the O'Reilly book sidebars in this article for Missing Manuals for iMovie and iPhoto, and for the Digital Photography Pocket Guide.

Create Opening Titles in iMovie

Start by exporting your core slideshow from iPhoto to QuickTime. (Highlight the album that contains the frames for your slideshow, click the Share button, then click on Export, then select the QuickTime tab.) At this point you don't need to export the music with the slides, even though I usually include it so I have a feel for the raw presentation. You'll actually end up adding a different sound track later in this process.

Here's where iMovie comes in handy for this project: to build your opening title for the slideshow you created in iPhoto and exported to QuickTime. Open iMovie and create a new project. Then build your opening title using the Titles palette. This is an amazing tool. Even though you can create just about any opening sequence possible using Titles in iMovie, keep it simple for now.

Screen shot.
The iMovie Titles box is a goldmine for digital moviemakers. Here you can create professional looking title sequences, then export them to QuickTime. After the export, you can add them to your existing slideshows giving them a more refined appearance.

Once you have an opening that you like, you need to render it by dragging it from the Titles work area to the Clip Viewer bar at the bottom of the iMovie interface. iMovie will now take a few seconds to build your opening sequence.

Export your sequence by choosing File -> Export Movie. Then select To QuickTime, and choose Expert in the Format drop down menu. Here's where you set a few parameters such as dimensions, compression, and frame rate. Make sure your sequence has the same dimensions as the core slideshow you created in iPhoto, usually 640 x 480 or 320 x 240. Photo Jpeg is a good compression setting, and a 12 or 15 fps will do for frame rate. Click OK, then Export. You now have a QuickTime opening sequence for your iPhoto slideshow.

This is where you need QuickTime Pro to stitch them together. You're going to select the entire contents of your core slideshow (exported from iPhoto), copy it, then add it to the opening sequence you created in iMovie, then exported to QuickTime.

Click on the core slideshow then grab its content by choosing "Select All," then "Copy." Now click on the opening sequence movie and select "Add." QuickTime will add the core slideshow to where ever you have the playback indicator positioned. In this case it should be at the end of the clip. Now you have a slideshow with an opening sequence.

Screen shot.
If you have QuickTime Pro, you can stitch various QT clips together by Copying the clip from one player, then Adding it to the other (Don't use Paste, or one clip will replace the other!). Here I'm adding the soundtrack I exported from iMovie to my QuickTime slideshow.

You can create as many sequences as you want in iMovie and add them to your QuickTime presentations. I usually stick with opening and closing titles, but I'm not limited to them.

Fine Tune Your Music Track

Once you have all of your image sequences stitched together, it's time to add the soundtrack. You probably want to clean out any existing sound tracks in your presentation. This is easy in QuickTime Pro. Go to Edit and select Delete Tracks. You'll see a number of video tracks (don't touch those!) and a couple sound tracks. Delete all of the sound tracks.

Related Reading

Digital Photography Pocket Guide
By Derrick Story

Note the length of your movie. Hopefully it's not longer than a couple minutes. Now open iMovie again and select Import File from the File menu. Navigate to your Music folder where iTunes keeps all of your audio assets. If you've been conscientious about filing out your song records, then you'll see a list of folders by artist, with their respective albums inside. But it gets even better. Open the album folder, and you'll see all of the MP3 files with the song titles as the file names. Sweet.

Import the song you want to use for your presentation into iMovie where it will be placed on the audio portion of the Clip Viewer. Move the endpoints of the track so it is the same length (or a tad shorter) than your slide show. (For example, if your slideshow is 2 minutes long, then you might move the audio end points to create a music track that is 1 minute, 55 seconds in length.) Then, check the Fade In and Fade Out boxes so your music doesn't begin and end abruptly. Fade out is especially important and worth using iMovie just for that function.

Now export your edited music track to QuickTime just like you did your title clip. I usually choose "no compression" for my music unless I plan on serving it on the Web.

When you open the music track in QuickTime, you'll see that it also has an unnecessary Video track. Use Delete Tracks to get rid of it, then Select All, Copy, and Add to your slideshow. Now you have a custom sound track that is the perfect length for your show and fades at the end.

If you want, you can add many soundtracks at various points throughout your presentation. And for that matter, voice over too.

Pulling It All Together

Once you have your presentation the way you want it, save as a Self Contained movie. This will put all of your parts in one container that you can play off your hard drive, burn on to CD, or attach to mail (if it's not too big!). You can serve it on the Web too, but there are some issues involved such as compression (to reduce download times) and authorization for the music (which is another article all together). You can bypass these issues for now by sharing your presentations in person.

Screen shot.
Once you've finished your work of art, be sure to use the Save As command and click on the "Make movie self-contained" radio button. By doing so, QuickTime will place all the movie elements in one portable container that you can burn to CD or share with friends.

Of course there are many ways to refine your presentation, but even with these few simple techniques outlined today, you can see how well the iApps work together, and what great potential they have as a harmonious group.

As you discover creative applications for these tools, please share them in the TalkBacks below. In the meantime, be detailed with your data management in iTunes and iPhoto so you always have your prized raw material at your fingertips.

Derrick Story is the author of The Photoshop CS4 Companion for Photographers, The Digital Photography Companion, and Digital Photography Hacks, and coauthor of iPhoto: The Missing Manual, with David Pogue. You can follow him on Twitter or visit www.thedigitalstory.com.


Return to the Mac DevCenter.


Copyright © 2009 O'Reilly Media, Inc.