Mac Developer Library

Developer

QTKit Framework Reference

QuickTime Kit Framework Reference

Classes   Other Reference  

The QuickTime Kit is a Objective-C framework (QTKit.framework) with a robust and evolving API for manipulating time-based media. Introduced in 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 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. Two additional classes, which support Core Animation layers for capture and movies, are also provided in the API.

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.

See Also

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

  • QuickTime 7 Update Guide

  • QuickTime 7.1 Update Guide

  • QuickTime 7.1 Update Reference

  • QuickTime 7.2.1 Update Guide

  • QuickTime Movie Creation Guide

Classes

NSObject

NSObject is the root class of most Objective-C class hierarchies.

QTCaptureConnection

This class represents a connection over which a single stream of media data is sent from a QTCaptureInput to a QTCaptureSession and from a QTCaptureSession to a QTCaptureOutput.

QTCaptureDevice

This class represents an available capture device.

QTCaptureInput

This class provides input source connections for a QTCaptureSession.

QTCaptureDeviceInput

This class represents the input source for media devices, such as cameras and microphones.

QTCaptureOutput

QTCaptureOutput is an abstract class that provides an interface for connecting capture output destinations, such as QuickTime files and video previews, to a QTCaptureSession.

QTCaptureAudioPreviewOutput

This class represents an output destination for a QTCaptureSession that can be used to preview the audio being captured.

QTCaptureDecompressedAudioOutput

This class represents an output destination for a QTCaptureSession object that can be used to process audio sample buffers from the audio being captured.

QTCaptureDecompressedVideoOutput

This class represents an output destination for a QTCaptureSession object that can be used to process decompressed frames from the video being captured.

QTCaptureFileOutput

This is an abstract superclass output destination for QTCaptureSession that writes captured media to files.

QTCaptureMovieFileOutput

This class represents an output destination for QTCaptureSession that writes captured media to QuickTime movie files.

QTCaptureVideoPreviewOutput

This class represents an output destination for a QTCaptureSession that can be used to preview the video being captured.

QTCaptureSession

This class is the primary interface for capturing media streams.

QTCompressionOptions

This class represents a set of compression options for a particular type of media.

QTDataReference

A QTDataReference object is a representation of a QuickTime data reference which specifies the location of a QuickTime movie or some media data.

QTExportOptions

QTExportSession

QTFormatDescription

QTFormatDescription objects are used to describe the media format of media samples and of media sources, such as devices and capture connections.

QTMedia

A QTMedia object is an object that represents the data associated with a QTTrack object.

QTMetadataItem

QTMovie

A QTMovie object is an object that represents a playable collection of media data.

QTMovieModernizer

The QTMovieModernizer class is used to manage the "modernization" of legacy media.

QTSampleBuffer

This class provides format information, timing information, and metadata on media sample buffers.

QTTrack

A QTTrack object is an object that represents the ordering and other characteristics of media data in a QTMovie object, such as a single video track or audio track.

CALayer

The CALayer class manages image-based content and allows you to perform animations on that content.

QTCaptureLayer

This class provides a layer that displays video frames currently being captured from a device attached to the computer, and is intended to provide support for Core Animation, that is, drawing the contents of a capture session into a layer.

QTMovieLayer

This class provides a layer into which the frames of a QTMovie can be drawn, and is intended to provide support for Core Animation, that is, drawing the contents of a movie into a layer.

NSView

The NSView class defines the basic drawing, event-handling, and printing architecture of an app.

QTCaptureView

This is a subclass of NSView that displays a video preview of a capture session.

QTMovieView

A QTMovieView is a subclass of NSView that can be used to display and control QuickTime movies.

Other Reference

NSCoder QTKit Additions Reference

NSValue QTKit Additions Reference

QTKit Data Types Reference

QTKit Functions Reference

QTKit Constants Reference