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
Sorted by
Date
Sort by
Title
Sort by
Revision Type
Sort by
Topic
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-04-24 QTCoreVideo101 (HTML) (DMG) (ZIP)
added automatic texture coordinate generation for teapot video
Content Update Cocoa, Graphics & Imaging
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 MyRecorder (HTML) (DMG) (ZIP)
Added code to specify audio & video compression options when recording.
Content Update Cocoa, Movie Creation
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-01-21 QTAudioContextInsert (HTML) (DMG) (ZIP)
Editorial
Minor Change Audio
2008-01-18 WhackedTV (HTML) (DMG) (ZIP)
Fixed a bug in SGAudioSettings.mm where multiple audio devices with the same name would only be listed once.
Content Update Audio, Cocoa, Compression & Decompression, Graphics & Imaging, Movie Creation
2007-11-16 HackTV Carbon (HTML) (DMG) (ZIP)
Updated executable, now built using Mac OS X 10.5 GM tools
Content Update Carbon, Hardware & Drivers, Movie Creation
2007-11-15 ClosedCaptionImporter (HTML) (DMG) (ZIP)
Fixed timecode track generation.
Content Update Carbon, Import & Export, Movie Creation
2007-11-14 StillMotion (HTML) (DMG) (ZIP)
Minor changes to MyDocument NIB and rebuilt with Mac OS X 10.5 GM tools.
Content Update Graphics & Imaging
2007-10-08 QTKitThreadsExporter (HTML) (DMG) (ZIP)
Demonstrates QTKit threading APIs by performing concurrent exports on separate threads.
First Version Cocoa, Movie Creation
2007-10-03 CIVideoDemoGL (HTML) (DMG) (ZIP)
Added the ability to use a custom 'trick' profile with the kQTVisualContextOutputColorSpaceKey key.
Content Update Graphics & Imaging, Movie Basics, Movie Creation
2007-09-26 Core Animation QuickTime Layer (HTML) (DMG) (ZIP)
Shows the use of controls in a Layer over a Core Animation QTMovieLayer
First Version Graphics & Imaging
2007-09-19 QTKitTimeCode (HTML) (DMG) (ZIP)
Added counter option.
Content Update Cocoa, Media Types & Media Handlers
2007-09-13 Fiendishthngs (HTML) (DMG) (ZIP)
Now displays 'cpix' resources for codec components.
Content Update Cocoa, Movie Basics, QuickTime Component Creation