Chapter 2 - Movie Toolbox
This chapter describes the Movie Toolbox and the key concepts that underlie QuickTime. The Movie Toolbox allows your application to use the full range of features provided by QuickTime. This toolbox provides functions that allow you to load, play, create, edit, and store objects that contain time-based data. If you are developing an application that works with time-based data, or if you are developing a component that will be used by movie applications, you should be familiar with the capabilities of the Movie Toolbox and the concepts discussed in this chapter.This chapter is divided into the following major sections:
- "Introduction to Movies" discusses many of the concepts that are key to understanding how to use QuickTime, including time, movies, tracks, and media structures
- "About Movies" discusses the characteristics of QuickTime movies, tracks, and media structures
- "Using the Movie Toolbox" describes how you can use the Movie Toolbox to work with movies
- "Movie Toolbox Reference" describes the constants, data types, and functions provided by the Movie Toolbox
- "Summary of the Movie Toolbox" contains a condensed listing of the constants, data types, and functions provided by the Movie Toolbox in C and in Pascal
Chapter Contents
- Introduction to Movies
- Time and the Movie Toolbox
- Time Coordinate Systems
- Time Bases
- Movies
- Tracks
- Media Structures
- About Movies
- Movie Characteristics
- Track Characteristics
- Media Characteristics
- Spatial Properties
- The Transformation Matrix
- Audio Properties
- Sound Playback
- Adding Sound to Video
- Sound Data Formats
- Data Interchange
- Movies on the Clipboard
- Movies in Files
- Using the Movie Toolbox
- Determining Whether the Movie Toolbox Is Installed
- Getting Ready to Work With Movies
- Getting a Movie From a File
- Playing Movies With a Movie Controller
- Playing a Movie
- Movies and the Scrap
- Creating a Movie
- A Sample Program for Creating a Movie
- A Sample Function for Creating and Opening a Movie File
- A Sample Function for Creating a Video Track in a New Movie
- A Sample Function for Adding Video Samples to a Media
- A Sample Function for Creating Video Data for a Movie
- A Sample Function for Creating a Sound Track
- A Sample Function for Creating a Sound Description Structure
- Parsing a Sound Resource
- Saving Movies in Movie Files
- Using Movies in Your Event Loop
- The Movie Toolbox and System 6
- The Alias Manager
- The File Manager
- Previewing Files
- Previewing Files in System 6 Using Standard File Reply Structures
- Customizing Your Interface in System 6
- Previewing Files in System 7 Using Standard File Reply Structures
- Customizing Your Interface in System 7
- Using Application-Defined Functions
- Working With Movie Spatial Characteristics
- Movie Toolbox Reference
- Data Types
- Movie Identifiers
- The Time Structure
- The Fixed-Point and Fixed-Rectangle Structures
- The Sound Description Structure
- Functions for Getting and Playing Movies
- Initializing the Movie Toolbox
- Error Functions
- Movie Functions
- Saving Movies
- Controlling Movie Playback
- Movie Posters and Movie Previews
- Movies and Your Event Loop
- Preferred Movie Settings
- Enhancing Movie Playback Performance
- Disabling Movies and Tracks
- Generating Pictures From Movies
- Creating Tracks and Media Structures
- Working With Progress and Cover Functions
- Functions That Modify Movie Properties
- Working With Movie Spatial Characteristics
- Working With Sound Volume
- Working with Movie Time
- Working With Track Time
- Working With Media Time
- Finding Interesting Times
- Locating a Movie's Tracks and Media Structures
- Working With Alternate Tracks
- Working With Data References
- Determining Movie Creation and Modification Time
- Working With Media Samples
- Working With Movie User Data
- Functions for Editing Movies
- Editing Movies
- Undo for Movies
- Low-Level Movie-Editing Functions
- Editing Tracks
- Undo for Tracks
- Adding Samples to Media Structures
- Media Functions
- Selecting Media Handlers
- Video Media Handler Functions
- Sound Media Handler Functions
- Text Media Handler Functions
- Functions for Creating File Previews
- Functions for Displaying File Previews
- Time Base Functions
- Creating and Disposing of Time Bases
- Working With Time Base Values
- Working With Times
- Time Base Callback Functions
- Matrix Functions
- Application-Defined Functions
- Progress Functions
- Cover Functions
- Error-Notification Functions
- Movie Callout Functions
- File Filter Functions
- Custom Dialog Functions
- Modal-Dialog Filter Functions
- Standard File Activation Functions
- Callback Event Functions
- Text Functions
- Summary of the Movie Toolbox
- C Summary
- Constants
- Data Types
- Functions for Getting and Playing Movies
- Functions That Modify Movie Properties
- Functions for Editing Movies
- Media Functions
- Functions for Creating File Previews
- Functions for Displaying File Previews
- Time Base Functions
- Matrix Functions
- Application-Defined Functions
- Pascal Summary
- Constants
- Data Types
- Routines for Getting and Playing Movies
- Routines That Modify Movie Properties
- Routines for Editing Movies
- Media Routines
- Routines for Creating File Previews
- Routines for Displaying File Previews
- Time Base Routines
- Matrix Routines
- Application-Defined Routines
- Result Codes
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help