Jump To:
Reference Library: QuickTime
The Cocoa API for QuickTime includes classes for use in Mac OS X applications that include multimedia such as video, sound, animation, graphics, text, and interactivity. QuickTime supports most major formats of images, video, and sound, including MPEG-4 video and AAC audio.

View all Cocoa Reference Library.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Resource Type
Sort by
Date
Using the QTKit Framework (HTML)
Learn how the QuickTime Kit works and how to use it in your application.
Articles 2006-06-19
QTKit Capture Programming Guide (HTML) (PDF)
Describes how to capture media and output it QuickTime movies.
Guides 2007-10-31
QuickTime Kit Programming Guide (HTML) (PDF)
Provides a tutorial on how to build and extend a QTKitPlayer application using the QuickTime Kit framework in Cocoa.
Guides 2005-11-09
QuickTime Overview (HTML) (PDF)
Introduces the main concepts and services of QuickTime.
Guides 2005-08-11
Video (HTML) (PDF)
Explains how to use QuickTime movies in Cocoa.
Guides 2002-11-12
QTCaptureLayer Reference (HTML) (PDF)
New document that describes the Objective-C class for creating a QuickTime capture layer.
Reference 2007-10-31
QTMovie Class Reference (HTML) (PDF)
Describes the class for managing QuickTime movies.
Reference 2007-10-31
QTMovieLayer Reference (HTML) (PDF)
Describes the Objective-C class for creating a QuickTime movie layer.
Reference 2007-10-31
QuickTime Kit Framework Reference (HTML) (PDF)
Updates the Objective-C API for working with new QuickTime capture and movie layer classes in Cocoa applications.
Reference 2007-10-31
QTCaptureConnection Reference (HTML) (PDF)
Describes the Objective-C API for supporting and working with QuickTime Capture.
Reference 2007-07-23
QTCaptureFileOutput Reference (HTML) (PDF)
New document that describes the Objective-C API for supporting and working with QuickTime Capture.
Reference 2007-07-23
QTCompressionOptions Reference (HTML) (PDF)
New document that describes the Objective-C API for supporting and working with QuickTime Capture.
Reference 2007-07-23
QTFormatDescription (HTML) (PDF)
New document that describes the Objective-C API for supporting and working with QuickTime Capture.
Reference 2007-07-23
QTSampleBuffer Reference (HTML) (PDF)
New document that describes the Objective-C API for supporting and working with QuickTime Capture.
Reference 2007-07-23
QTCaptureDevice Class Reference (HTML) (PDF)
Describes the Objective-C class for supporting and working with QuickTime Capture.
Reference 2007-07-22
QTCaptureAudioPreviewOutput Class Reference (HTML) (PDF)
Describes the Objective-C class for an output destination used to preview the audio being captured.
Reference 2007-07-19
QTCaptureDecompressedVideoOutput Reference (HTML) (PDF)
New document that describes the Objective-C API for supporting and working with QuickTime Capture.
Reference 2007-07-19
QTCaptureDeviceInput Class Reference (HTML) (PDF)
Describes the Objective-C class for supporting and working with QuickTime Capture.
Reference 2007-07-19
QTCaptureInput Class Reference (HTML) (PDF)
Describes the Objective-C class that provides input source connections.
Reference 2007-07-19
QTCaptureMovieFileOutput Reference (HTML) (PDF)
New document that describes the Objective-C API for supporting and working with QuickTime Capture.
Reference 2007-07-19
QTCaptureOutput Class Reference (HTML) (PDF)
Describes the Objective-C class that provides output destination.
Reference 2007-07-19
QTCaptureSession Class Reference (HTML) (PDF)
Describes the Objective-C class that is the primary interface for capturing media streams.
Reference 2007-07-19
QTCaptureVideoPreviewOutput Class Reference (HTML) (PDF)
Describes the Objective-C class for an output destination used to preview the video being captured.
Reference 2007-07-19
QTCaptureView Class Reference (HTML) (PDF)
Describes the Objective-C class that displays a video preview of a capture session.
Reference 2007-07-19
QuickTime Kit Capture Constants Reference (HTML) (PDF)
New document that describes the Objective-C API for supporting and working with QuickTime Capture.
Reference 2007-07-19
QuickTime Kit Reference Update (HTML) (PDF)
Summarizes the symbols added to the QuickTime Kit framework.
Reference 2007-07-18
NSCoder_QTKitAdditions Reference (HTML) (PDF)
Describes the API for managing QuickTime categories on the NSCoder class.
Reference 2007-05-07
NSValue_QTKitAdditions Reference (HTML) (PDF)
Describes the class for managing QuickTime categories on the NSValue class.
Reference 2007-05-07
QTMovieView Class Reference (HTML) (PDF)
Describes the class for managing the display of QuickTime movies.
Reference 2007-05-01
QTTrack Class Reference (HTML) (PDF)
Describes the class for managing tracks in QuickTime movies.
Reference 2006-07-11
QTDataReference Class Reference (HTML) (PDF)
Describes the class for managing QuickTime data references.
Reference 2006-05-23
QTKit Data Types Reference (HTML) (PDF)
Describes the data types available in the QuickTime Kit framework.
Reference 2006-05-23
QTKit Functions Reference (HTML) (PDF)
Describes the functions available in the QuickTime Kit framework.
Reference 2006-05-23
QTMedia Class Reference (HTML) (PDF)
Describes the class for managing QuickTime media.
Reference 2006-05-23
Movie Overlay (HTML) (DMG) (ZIP)
Shows how to overlay text & graphics and perform animation on an QTMovieView through a floating overlay window.
Sample Code 2008-07-25
QTCoreVideo102 (HTML) (DMG) (ZIP)
An application demonstrating the use of QTKit, CoreVdeo, and OpenGL.
Sample Code 2008-06-06
QTCoreVideo103 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL texture range and the Core Video pixel buffer pipeline.
Sample Code 2008-06-06
QTCoreVideo201 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL FBO and the Core Video texture pipeline.
Sample Code 2008-06-06
QTCoreVideo202 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL PBO and the Core Video pixel buffer pipeline.
Sample Code 2008-06-06
QTCoreVideo301 (HTML) (DMG) (ZIP)
Demonstrates adding of effects & filters to QuickTime Movies in realtime using GLSL shaders and the Core Video texture pipeline.
Sample Code 2008-06-06
MyMovieFilter (HTML) (DMG) (ZIP)
How to play a movie into a layer-backed QTMovieView and apply a Core Image filter while the movie plays.
Sample Code 2008-06-02
WhackedTV (HTML) (DMG) (ZIP)
A Cocoa version of the venerable HackTV sample code, demonstrating usage of the Sequence Grabber API's
Sample Code 2008-05-09
QTCoreVideo101 (HTML) (DMG) (ZIP)
Demonstrates (with very little code) how to render a QuickTime Movie using CoreVideo and OpenGL.
Sample Code 2008-04-24
QTCompressionOptionsWindow (HTML) (DMG) (ZIP)
Demonstrates how easy it is to manage QTCompressionOptions instances with a user interface.
Sample Code 2008-02-22
MyRecorder (HTML) (DMG) (ZIP)
Demonstrates the use of the QTKit Capture APIs
Sample Code 2008-01-29
QTKitThreadsExporter (HTML) (DMG) (ZIP)
Demonstrates QTKit threading APIs by performing concurrent exports on separate threads.
Sample Code 2007-10-08
QTKitTimeCode (HTML) (DMG) (ZIP)
Demonstrates how to use the QuickTime 32-bit Timecode Media Handler to Add and Remove Timecode Tracks.
Sample Code 2007-09-19
Fiendishthngs (HTML) (DMG) (ZIP)
Fiendishthngs lists all the the Components it finds on the system and lets you query them for information.
Sample Code 2007-09-13
QTKitCreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a movie from a sequence of images.
Sample Code 2007-08-31
QTKitMovieFrameImage (HTML) (DMG) (ZIP)
Using the QTMovie frameImageAtTime: withAttributes: method to get an image for the frame at a given time in a QTMovie.
Sample Code 2007-08-31
QTKitPlayer (HTML) (DMG) (ZIP)
QTKit example code to open, edit, play, import and export QuickTime movies
Sample Code 2007-08-31
OpenGLCaptureToMovie (HTML) (DMG) (ZIP)
How to capture the screen on Mac OS X using OpenGL and save to a QuickTime movie.
Sample Code 2007-08-30
QTRecorder (HTML) (DMG) (ZIP)
Shows how to use the new QTKit capture classes introduced in 10.5.
Sample Code 2007-04-10
QTExtractAndConvertToAIFF (HTML) (DMG) (ZIP)
Demonstrates using MovieAudioExtraction and an AudioConverter to extract and convert audio to a AIFF file.
Sample Code 2006-11-08
QTExtractAndConvertToMovieFile (HTML) (DMG) (ZIP)
Demonstrates using MovieAudioExtraction and an AudioConverter to extract and convert audio to a QuickTime movie file.
Sample Code 2006-11-08
LiveVideoMixer3 (HTML) (DMG) (ZIP)
LiveVideoMixer3 is extended to support Video In via QTKit
Sample Code 2006-08-01
QTKitButtonTester (HTML) (DMG) (ZIP)
Shows how to use the QTMovieView methods for hiding and showing the buttons in the movie controller bar.
Sample Code 2006-08-01
QTKitThreadedExport (HTML) (DMG) (ZIP)
Shows how to export a QTMovie on a background thread.
Sample Code 2006-08-01
QTNoStepsDemo (HTML) (DMG) (ZIP)
Shows how to subclass QTMovieView to override its default behaviors.
Sample Code 2006-08-01
TrackFormatDemo (HTML) (DMG) (ZIP)
Shows how to get a human-readable, localized description of a track's format.
Sample Code 2006-08-01
WritableFileDemo (HTML) (DMG) (ZIP)
Shows how to create an empty, writable file associated with a QTMovie object.
Sample Code 2006-08-01
ExtractMovieAudioToAIFF (HTML) (DMG) (ZIP)
Demonstrates how to extract audio from QuickTime Movies and write the data to an AIFF file.
Sample Code 2006-03-31
SillyFrequencyLevels (HTML) (DMG) (ZIP)
Demonstrates how to obtain audio frequency levels from a Movie using SetMovieAudioFrequencyMeteringNumBands and GetMovieAudioFrequencyLevels APIs.
Sample Code 2006-01-25
QTKitMovieShuffler (HTML) (DMG) (ZIP)
Demonstrates a simple QTKit movie player application.
Sample Code 2006-01-03
ThreadsExportMovie (HTML) (DMG) (ZIP)
Demonstrates movie exporting using the QuickTime movie export component on separate threads of a Cocoa application.
Sample Code 2006-01-03
QTQuartzPlayer (HTML) (DMG) (ZIP)
QTQuartzPlayer demonstrates how to render QuickTime Movies and live video with OpenGL and CoreVideo.
Sample Code 2005-10-04
QTKitAdvancedDocument (HTML) (DMG) (ZIP)
Enhances the QTKitSimpleDocument sample to resize the movie window and limit selectable file types in open panels
Sample Code 2005-08-01
QTKitFrameStepper (HTML) (DMG) (ZIP)
Demonstrates how to display each video frame of a given movie
Sample Code 2005-08-01
QTKitProgressTester (HTML) (DMG) (ZIP)
Demonstrates how to call the -movie:shouldContinueOperation: delegate method during lengthy movie operations
Sample Code 2005-08-01
QTKitSimpleDocument (HTML) (DMG) (ZIP)
The simplest document-based Cocoa application that opens and displays QuickTime movies
Sample Code 2005-08-01
VideoViewer (HTML) (DMG) (ZIP)
Simple example of video rendering using QuickTime visual contexts, OpenGL, Core Video and Core Image.
Sample Code 2005-08-01
ThreadsExporter (HTML) (DMG) (ZIP)
Demonstrates importing and exporting still images in different formats on separate threads.
Sample Code 2005-07-26
ThreadsImportMovie (HTML) (DMG) (ZIP)
Demonstrates importing and displaying QuickTime Movies on separate threads.
Sample Code 2005-07-26
BackgroundExporter (HTML) (DMG) (ZIP)
Demonstrates techniques which can be used to export QuickTime movies in a separate export process.
Sample Code 2005-07-22
ThreadsImporter (HTML) (DMG) (ZIP)
Demonstrates importing and displaying still images on separate threads.
Sample Code 2005-07-22
QTCoreImage101 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using Core Image filters and the new video pipeline.
Sample Code 2005-07-19
QTAudioExtractionPanel (HTML) (DMG) (ZIP)
Enhances the QTKitPlayer to add an Audio Channel Mapping and Extraction panel
Sample Code 2005-06-27
QTKitCommandLine (HTML) (DMG) (ZIP)
Command-line tools for deleting movie segments and converting movies to 3GPP files
Sample Code 2005-06-01
QTKitImport (HTML) (DMG) (ZIP)
Demonstrates movie import, advanced editing and playback with QTKit
Sample Code 2005-06-01
ColorMatching (HTML) (DMG) (ZIP)
Performs simple color matching of images using ColorSync or the QuickTime 6.4 Graphics Importers.
Sample Code 2003-12-18
MungSaver (HTML) (DMG) (ZIP)
Demonstrates a simple Screen Saver module for Panther, using the Sequence Grabber DataProc mung technique.
Sample Code 2003-11-18
QTEffectsDialog - Cocoa (HTML) (DMG) (ZIP)
Shows how to display the standard QuickTime effects parameters dialog in a Cocoa application.
Sample Code 2003-09-04
OpenGLCompositorLab (HTML) (DMG) (ZIP)
Demonstrates using OpenGL to composite multiple sources in hardware. Requires NVIDIA GeForce 4 Ti hardware.
Sample Code 2003-04-21
bMoviePalette (HTML) (DMG) (ZIP)
Shows a rudimentary QuickTime movie editor in a Cocoa Interface Builder palette.
Sample Code 2003-01-14
bMoviePaletteCocoa (HTML) (DMG) (ZIP)
A QuickTime movie editor in Cocoa as an Interface Builder Palette. From the 2001 WWDC.
Sample Code 2003-01-14
Cocoa - SGDataProc (HTML) (DMG) (ZIP)
Uses a Sequence Grabber data function and an NSQuickDrawView to simulate a preview operation for captured video.
Sample Code 2003-01-14
CocoaCreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a QuickTime movie from a set of Cocoa JPEG NSImage objects.
Sample Code 2003-01-14
CocoaVideoFrameToGWorld (HTML) (DMG) (ZIP)
Demonstrates how to draw each frame of a QuickTime movie into a Cocoa NSQuickDrawView.
Sample Code 2003-01-14
CocoaVideoFrameToNSImage (HTML) (DMG) (ZIP)
Demonstrates how to create an NSImage for each frame of a QuickTime movie.
Sample Code 2003-01-14
QTtoCG (HTML) (DMG) (ZIP)
Shows how to create a CGImageRef with the proper ColorSync profile from a QuickTime image on disk.
Sample Code 2003-01-14
SimpleCocoaJavaMovie (HTML) (DMG) (ZIP)
Deprecated - A simple movie player showing how to use the NSMovieView and NSMovie Cocoa Java classes.
Sample Code 2003-01-14
SimpleCocoaMovie (HTML) (DMG) (ZIP)
Shows how to use the NSMovieView and NSMovie Cocoa AppKit classes.
Sample Code 2003-01-14
SimpleCocoaMovieQT (HTML) (DMG) (ZIP)
A simple movie player showing how to use the NSMovieView and NSMovie Cocoa Objective-C classes.
Sample Code 2003-01-14
QTKit Frequently Asked Questions (HTML)
TN2138: Provides answers to many frequently asked QTKit questions.
Technical Notes 2008-04-24
Managing QTCompressionOptions - An overview of the QTCompressionOptionsWindow sample (HTML)
TN2219: Introductory overview of the QTCompressionOptionsWindow sample demonstrating one way to manage QTCompressionOptions objects.
Technical Notes 2008-03-11
Thread-safe programming in QuickTime (HTML)
TN2125: Discusses how to use QuickTime from background threads for applications and component developers.
Technical Notes 2007-09-14
QTKit Capture - Video Compression Options And Preview (HTML)
QA1583: Describes how video compression options may influence the resolution of previewed video.
Technical Q&As 2008-09-16
Using QTPixelBufferContextCreate with NewMovieFromProperties (HTML)
QA1443: Discusses using a QuickTime pixel buffer visual context and NewMovieFromProperties to output frames to pixel buffers.
Technical Q&As 2008-08-08
QTKit Capture - Disabling Audio Or Video When Capturing From a Muxed Device (HTML)
QA1607: Describes the use of the setEnabled: method to disable audio or video capture from muxed devices.
Technical Q&As 2008-05-19
QTKit Capture - Extracting SMPTE Timecode information from a QTSampleBuffer (HTML)
QA1600: Describes how to use the QTSampleBufferSMPTETimeAttribute with a sample buffer.
Technical Q&As 2008-03-17
QTKit Capture - Specifying Media Compression Settings (HTML)
QA1586: Describes how to configure a file output object to save compressed captured media.
Technical Q&As 2008-03-11
QTKit Capture - Setting DecompressedVideoOutput CVPixelBuffer Attributes (HTML)
QA1582: Describes how to configure a DecompressedVideoOutput objects CVPixelBuffer attributes.
Technical Q&As 2008-03-06
QuickTime Audio - Easy Frequency Level Metering with MovieAudio APIs (HTML)
QA1459: Describes how to perform frequency band level metering using MovieAudio metering APIs.
Technical Q&As 2006-01-26
Movies - Saving movie playback hints (HTML)
QA1366: Explains how to save and load media play hints from Movie files.
Technical Q&As 2004-09-14
QuickTime 6.4 & AvailabilityMacros.h on Mac OS X 10.2.x (HTML)
QA1316: Fixing compilation issues when upgrading to QuickTime 6.4 on Mac OS X 10.2.x systems.
Technical Q&As 2003-10-21