QuickTime Kit Programming Guide - filibeto.org
QuickTime Kit Programming Guide - filibeto.org
QuickTime Kit Programming Guide - filibeto.org
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
C H A P T E R 3<br />
Extending the QT<strong>Kit</strong>Player Application<br />
CFBundleVersion<br />
1.0<br />
NSMainNibFile<br />
MainMenu<br />
NSPrincipalClass<br />
NSApplication<br />
<br />
<br />
Running and Building Your QT<strong>Kit</strong>Player<br />
If you’ve followed correctly all the steps described in this chapter, you’ll be ready to build and run<br />
the QT<strong>Kit</strong>Player application. In Xcode, simply click the hammer icon with the play button on top, or<br />
press Command-R, as you would if you were compiling any other Xcode project.<br />
The QT<strong>Kit</strong>Player appears with the blue default movie displayed. Now you can open and import other<br />
media, export them to different formats, edit the contents of that media, and control movie playback<br />
and display, such as showing or not showing the movie controller.<br />
You’ll also be able to perform a variety of movie-editing operations discussed earlier in this chapter,<br />
such as trimming (shown in Figure 3-22).<br />
Figure 3-22 The Apple 1984-2004 <strong>QuickTime</strong> movie with the editing trim feature enabled<br />
Again, the Add command lets you add a new chunk to a movie in one or more new tracks––on top<br />
of what’s already there––instead of inserting it like you would do using the Paste command. The Add<br />
Scaled command scales the chunk you are pasting in time, and the chunk becomes stretched or<br />
compressed so that it plays for the same duration as the current selection in the receiving movie,<br />
which can result in a slow-motion or fast-motion effects. The Trim command deletes everything in<br />
the current movie except the current selection<br />
If you want to export your movie to another media format, such as MPEG-4, choose the Export<br />
command in the Edit menu, as shown in Figure 3-23, and the export sheet (Figure 3-24) will appear.<br />
58 Running and Building Your QT<strong>Kit</strong>Player<br />
2005-11-09 | © 2004, 2005 Apple Computer, Inc. All Rights Reserved.