Sample Code
This page lists new and recently changed sample code. Most sample code has a revision history, which details additions and changes since the previous version. Look for "Revision History" at the bottom of the sample code page.

Items are listed in reverse chronological order by publication date. To see the list sorted by the type of revision, click Sort by Revision Type. Items published for the first time (First Version) will be at the top of the list, followed by items with new or changed content (Content Update), followed by items with small fixes, such as typos and format errors, but no significant content changes (Minor Change).

New and updated sample code is announced in the bi-weekly Apple Developer Connection News, available as an option to ADC members. See the Membership Overview page for details on joining.
Document Revision Descriptions
On Off
Sort by
Date
Sorted by
Title
Sort by
Revision Type
Sort by
Topic
2008-06-02 HTML Video Example (HTML) (DMG) (ZIP)
HTML video example with plug-in fallback
First Version Internet & Web
2008-04-24 LiveVideoMixer (HTML) (DMG) (ZIP)
The update method in VideoMixView.m now makes sure that the shared OpenGL context is on the same virtual screen as the view's OpenGL context.
Content Update Graphics & Imaging, Movie Basics
2008-06-02 MyMovieFilter (HTML) (DMG) (ZIP)
Updated to use a Core Animation layer-backed view.
Content Update Cocoa, Graphics & Imaging
2008-01-29 MyRecorder (HTML) (DMG) (ZIP)
Added code to specify audio & video compression options when recording.
Content Update Cocoa, Movie Creation
2008-01-21 QTAudioContextInsert (HTML) (DMG) (ZIP)
Editorial
Minor Change Audio
2008-02-22 QTCompressionOptionsWindow (HTML) (DMG) (ZIP)
Demonstrates how easy it is to manage QTCompressionOptions instances with a user interface.
First Version Cocoa
2008-01-29 QTControlCommandLine (HTML) (DMG) (ZIP)
Using the QuickTime COM Control object from the command line to export a movie to a different file format
First Version Import & Export, QuickTime for Windows
2008-04-24 QTCoreVideo101 (HTML) (DMG) (ZIP)
added automatic texture coordinate generation for teapot video
Content Update Cocoa, Graphics & Imaging
2008-06-06 QTCoreVideo102 (HTML) (DMG) (ZIP)
An application demonstrating the use of QTKit, CoreVdeo, and OpenGL.
First Version Cocoa, Graphics & Imaging
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.
First Version Cocoa, Graphics & Imaging, Video Effects & Transitions
2008-06-06 QTCoreVideo201 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL FBO and the Core Video texture pipeline.
First Version Cocoa, Graphics & Imaging, Video Effects & Transitions
2008-06-06 QTCoreVideo202 (HTML) (DMG) (ZIP)
Demonstrates how to render a QuickTime Movie using OpenGL PBO and the Core Video pixel buffer pipeline.
First Version Cocoa, Graphics & Imaging
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.
First Version Cocoa, Graphics & Imaging, Video Effects & Transitions
2008-05-09 QTMetadataEditor (HTML) (DMG) (ZIP)
Demonstrates QuickTime 7 APIs in a Metadata Browsing and Editing application
First Version Movie Internals
2008-05-09 WhackedTV (HTML) (DMG) (ZIP)
Fixed two bugs: (1) "Select Output Format" in the audio dialog failed with error -206 if the source audio were set to 20 or 24 bits on an Intel Mac. The source format is 24-bits aligned low in 32-bits. WhackedTV was setting this as the default output format. But QuickTime movies can only contain packed samples. Added a utility function to conform the output format for movie-safety. (2) Began preferring the kQTSGAudioPropertyID_CodecSpecificSettingsArray property to the kQTSGAudioPropertyID_MagicCookie property. See QuickTimeComponents.h for an explanation of the differences between these properties, and why CodecSpecificSettingsArray should always be preferred over MagicCookie.
Content Update Audio, Cocoa, Compression & Decompression, Graphics & Imaging, Movie Creation