Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC


QuickTime Kit Framework Reference

Framework
QTKit.framework
Header file directories
QTKit/QTKit.h
Companion guide
Declared in
QTCaptureAudioPreviewOutput.h
QTCaptureConnection.h
QTCaptureDecompressedVideoOutput.h
QTCaptureDevice.h
QTCaptureDeviceInput.h
QTCaptureFileOutput.h
QTCaptureInput.h
QTCaptureLayer.h
QTCaptureOutput.h
QTCaptureSession.h
QTCaptureVideoPreviewOutput.h
QTCaptureView.h
QTCompressionOptions.h
QTDataReference.h
QTError.h
QTFormatDescription.h
QTMedia.h
QTMovie.h
QTMovieLayer.h
QTMovieView.h
QTSampleBuffer.h
QTTime.h
QTTimeRange.h
QTTrack.h
QTUtilities.h

Introduction

The QuickTime Kit is a Objective-C framework (QTKit.framework) with a robust and evolving API for manipulating time-based media. Introduced in Mac OS X v10.4, the QuickTime Kit provides a set of Objective-C classes and methods designed for the basic manipulation of media, including movie playback, editing, import and export to standard media formats, among other capabilities. With the release of Mac OS X v10.5 and the latest iteration of QuickTime 7, the reach and capability of the framework have been extended. The QuickTime Kit framework now includes the addition of 15 new classes, all designed to support professional-level video and audio capture, as well as pro-grade recording of media.

Developers who work with the Cocoa Application Kit classes NSMovie and NSMovieView should move their applications to the QuickTime Kit framework in order to take advantage of the power and enhanced functionality of this API.

Note: The QuickTime Kit framework supports applications running in Mac OS X v10.3. Applications running in Mac OS X v10.3 require QuickTime 7 or later, however.

Important: The issue of thread-safety has been addressed for developers in the release of the QuickTime Kit framework available in Mac OS X v10.5. Five new methods belonging to the QTMovie class have been added. These include the following class and instance methods that deal specifically with handling and managing thread-safety operations of movie objects: enterQTKitOnThread, enterQTKitOnThreadDisablingThreadSafetyProtection, exitQTKitOnThread, attachToCurrentThread, and detachFromCurrentThread. For more information, refer to the QTMovie Class Reference.

The new QTKit capture classes introduced in Mac OS X v10.5 generally have good thread-safety characteristics. In particular, these classes can be used from any thread, except for QTCaptureView, which inherits from NSView. Note, however, that although capture sessions and their inputs and outputs can be created, run, and monitored from any thread, any method calls that mutate these objects or access mutable information should be serialized, using locks or other synchronization mechanisms.

See Also

The following documents provide additional information about the QuickTime Kit framework:





Last updated: 2007-10-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice