Jump To:
Leopard Sample Code: QuickTime
Movie basics are fundamental QuickTime movie operations, such as initializing QuickTime, opening and playing movies, using movie controller components, doing simple editing, intercepting audio and video data in a playing movie, and saving movies to disk or other storage.

Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Date
ASCIIMoviePlayerSample (HTML) (DMG) (ZIP)
Demonstrates using a MovieDrawingCompleteProc to render a QuickTime movie in the Mac OS X Terminal.
2009-04-21
QTMetaData (HTML) (DMG) (ZIP)
Demonstrates the QuickTime 7 MetaData APIs in a Carbon application.
2009-03-16
Movie Overlay (HTML) (DMG) (ZIP)
Shows how to overlay text & graphics and perform animation on an QTMovieView through a floating overlay window.
2008-07-25
LiveVideoMixer (HTML) (DMG) (ZIP)
LiveVideoMixer demonstrates customized video rendering with QuickTime 7 and CoreVideo and OpenGL.
2008-04-24
CIVideoDemoGL (HTML) (DMG) (ZIP)
CIVideoDemoGL demonstrates using Core Image with QuickTime and Core Video
2007-10-03
Fiendishthngs (HTML) (DMG) (ZIP)
Fiendishthngs lists all the the Components it finds on the system and lets you query them for information.
2007-09-13
QTKitCreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a movie from a sequence of images.
2007-08-31
QTKitButtonTester (HTML) (DMG) (ZIP)
Shows how to use the QTMovieView methods for hiding and showing the buttons in the movie controller bar.
2006-08-01
QTNoStepsDemo (HTML) (DMG) (ZIP)
Shows how to subclass QTMovieView to override its default behaviors.
2006-08-01
QTPixelBufferVCToCGImage (HTML) (DMG) (ZIP)
Demonstrates using QTPixelBufferContextCreate with NewMovieFromProperties to output pixel buffers from a movie and draw them.
2006-07-07
QTSetMovieAudioDevice (HTML) (DMG) (ZIP)
Create a QT audio context for an audio output device and target a movie to render to the context
2006-03-03
QTCarbonCoreImage101 (HTML) (DMG) (ZIP)
Demonstrates how to render QuickTime Movies using Core Image filters and the new video pipeline.
2006-02-14
QTKitMovieShuffler (HTML) (DMG) (ZIP)
Demonstrates a simple QTKit movie player application.
2006-01-03
SimpleAudioExtraction (HTML) (DMG) (ZIP)
Demonstrates the QuickTime 7.0 Movie Audio Extraction APIs
2006-01-03
CreateMovie - C# (HTML) (DMG) (ZIP)
Visual C# application demonstrating the QuickTime 7 COM Control creating movies from images and saving them
2005-11-09
MoviePlayer - C# (HTML) (DMG) (ZIP)
Microsoft Visual C# application which uses the QuickTime 7 COM Control to display and manipulate movies
2005-11-09
MoviePlayer (HTML) (DMG) (ZIP)
A simple movie player application written in Microsoft Visual Basic 6 using the QuickTime 7 COM/ActiveX Control.
2005-10-13
QTQuartzPlayer (HTML) (DMG) (ZIP)
QTQuartzPlayer demonstrates how to render QuickTime Movies and live video with OpenGL and CoreVideo.
2005-10-04
QTKitAdvancedDocument (HTML) (DMG) (ZIP)
Enhances the QTKitSimpleDocument sample to resize the movie window and limit selectable file types in open panels
2005-08-01
QTKitFrameStepper (HTML) (DMG) (ZIP)
Demonstrates how to display each video frame of a given movie
2005-08-01
QTKitProgressTester (HTML) (DMG) (ZIP)
Demonstrates how to call the -movie:shouldContinueOperation: delegate method during lengthy movie operations
2005-08-01
QTKitSimpleDocument (HTML) (DMG) (ZIP)
The simplest document-based Cocoa application that opens and displays QuickTime movies
2005-08-01
ThreadsImportMovie (HTML) (DMG) (ZIP)
Demonstrates importing and displaying QuickTime Movies on separate threads.
2005-07-26
SimpleHIMovieViewPlayer (HTML) (DMG) (ZIP)
Demonstrates how to use HIMovieView to play QuickTime Movies.
2005-07-15
QTKitCommandLine (HTML) (DMG) (ZIP)
Command-line tools for deleting movie segments and converting movies to 3GPP files
2005-06-01
QTKitImport (HTML) (DMG) (ZIP)
Demonstrates movie import, advanced editing and playback with QTKit
2005-06-01
MovieGWorlds (HTML) (DMG) (ZIP)
Demonstrates movie drawing-complete functions, movie compositing and using SetTrackGWorld to draw into a specific graphics world.
2003-12-18
QTMLPrintingSample (HTML) (DMG) (ZIP)
Uses the QuickTime APIs to draw into a standard Win32 printing device context.
2003-10-27
qtshell (HTML) (DMG) (ZIP)
Simple QuickTime and QuickTime VR viewer framework.
2003-10-27
qtshell.win (HTML) (DMG) (ZIP)
Simple QuickTime and QuickTime VR viewer framework.
2003-10-27
qtspritesplus (HTML) (DMG) (ZIP)
Shows how to use video overrides and tween tracks with sprite movies.
2003-02-25
qtspritesplus.win (HTML) (DMG) (ZIP)
Shows how to use video overrides and tween tracks with sprite movies.
2003-02-25
qtdataref (HTML) (DMG) (ZIP)
Shows how to work with data references and data handlers.
2003-01-24
qtdataref.win (HTML) (DMG) (ZIP)
Shows how to work with data references and data handlers.
2003-01-24
AddFrameToMovie (HTML) (DMG) (ZIP)
Shows how to add an additional frame to the end of an existing movie.
2003-01-14
AlwaysPreview (HTML) (DMG) (ZIP)
Demonstrates how to force the preview enabled mode by install a modal dialog filter proc in CustomGetFilePreview.
2003-01-14
BurntTextSampleCode (HTML) (DMG) (ZIP)
Converts text tracks of a movie to new text tracks with bit map representations of the text.
2003-01-14
CocoaCreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a QuickTime movie from a set of Cocoa JPEG NSImage objects.
2003-01-14
CocoaVideoFrameToGWorld (HTML) (DMG) (ZIP)
Demonstrates how to draw each frame of a QuickTime movie into a Cocoa NSQuickDrawView.
2003-01-14
CocoaVideoFrameToNSImage (HTML) (DMG) (ZIP)
Demonstrates how to create an NSImage for each frame of a QuickTime movie.
2003-01-14
CreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a QuickTime Movie with both a video and audio track.
2003-01-14
DragAndDrop Shell (HTML) (DMG) (ZIP)
A Drag and Drop shell for producing QuickTime drag and drop tools.
2003-01-14
Inside Mac Movie TB Code (HTML) (DMG) (ZIP)
Deprecated - Macintosh Movie Toolbox sample code.
2003-01-14
MakeEffectMovie (HTML) (DMG) (ZIP)
Creating a movie with an effects track allowing the user to specify the effect using the standard effects dialog.
2003-01-14
mdiplayer.win (HTML) (DMG) (ZIP)
Demonstrates how to display QuickTime movies using the MDI (multiple document interface).
2003-01-14
mfc.win (HTML) (DMG) (ZIP)
Contains a number of QuickTime samples using MFC: MFCMDIPlayer, MFCQTClasses, QTClasses, SimpleEdit, SimplePlayer.
2003-01-14
Movie From DataRef (HTML) (DMG) (ZIP)
Demonstrates Asynchronous Movie loading and the NewMovieFromDataRef API. Part of "An Introduction to QuickTime".
2003-01-14
MovieBrowser (HTML) (DMG) (ZIP)
BrowserMaker creates a document with links to other movies in a folder.
2003-01-14
offscreen.win (HTML) (DMG) (ZIP)
Uses NewGWorldFromHBITMAP to wrap a gworld around an existing DIB, then draws movie frames into this gworld.
2003-01-14
Play Movie with Controller (HTML) (DMG) (ZIP)
Playing a QuickTime movie using a movie controller. Part of "An Introduction to QuickTime".
2003-01-14
qt3dtween (HTML) (DMG) (ZIP)
Creates a QuickTime movie containing both a 3D track and a tween track.
2003-01-14
qtbigscreen (HTML) (DMG) (ZIP)
Demonstrates how to play QuickTime Movies fullscreen, handle application messages and use time base callbacks.
2003-01-14
qtbigscreen.win (HTML) (DMG) (ZIP)
Demonstrates how to play QuickTime Movies fullscreen, handle application messages and use time base callbacks.
2003-01-14
qtchannels.win (HTML) (DMG) (ZIP)
Demonstrates adding items to (and remove items from) the favorites drawer in QuickTime Player.
2003-01-14
qtcompress (HTML) (DMG) (ZIP)
Uses the standard image compression dialog to get compression settings, then compresses an image with the settings.
2003-01-14
qtcompress.win (HTML) (DMG) (ZIP)
Uses the standard image compression dialog to get compression settings, then compresses an image with the settings.
2003-01-14
qtcontroller (HTML) (DMG) (ZIP)
Displays a pop-up menu when the user clicks on the custom button in the movie controller bar.
2003-01-14
qtcontroller.win (HTML) (DMG) (ZIP)
Displays a pop-up menu when the user clicks on the custom button in the movie controller bar.
2003-01-14
qtcreatemovie (HTML) (DMG) (ZIP)
CreateMovie demonstrates creating a very simple QuickTime movie with a video track and a sound track.
2003-01-14
qtcreatemovie.win (HTML) (DMG) (ZIP)
CreateMovie is a Windows application that demonstrates creating a QuickTime Movie with a video track and a sound track.
2003-01-14
qtcustombutton (HTML) (DMG) (ZIP)
Display a pop-up menu when the user clicks on the custom button in the movie controller bar.
2003-01-14
qtcustombutton.win (HTML) (DMG) (ZIP)
Display a pop-up menu when the user clicks on the custom button in the movie controller bar.
2003-01-14
qtdataexchange (HTML) (DMG) (ZIP)
QuickTime's movie importers and exporters. Import files and export movie into any supported format.
2003-01-14
qtflattentohandle (HTML) (DMG) (ZIP)
DataHandlerType provides data input and output services to the media handler. Open movie, flatten, then play
2003-01-14
qtflattentohandle.win (HTML) (DMG) (ZIP)
DataHandlerType provides data input and output services to the media handler. Open movie, flatten, then play
2003-01-14
qtframestepper (HTML) (DMG) (ZIP)
QTFrameStepper.c defines functions that you can use to step frame-by-frame through a QuickTime movie.
2003-01-14
qtgraphics (HTML) (DMG) (ZIP)
Use QuickTime's graphics importers and exporters to work with still image (graphics) files.
2003-01-14
qtgraphics.win (HTML) (DMG) (ZIP)
Use QuickTime's graphics importers and exporters to work with still image (graphics) files.
2003-01-14
QTGraphicsImport (HTML) (DMG) (ZIP)
Demonstrates how to use the QuickTime Graphics Importer to draw an image into a NSWindow using a NSQuickDrawView.
2003-01-14
qtinfo (HTML) (DMG) (ZIP)
Shows how to create movie previews, movie posters, and file previews.
2003-01-14
qtinfo.win (HTML) (DMG) (ZIP)
Shows how to create movie previews, posters, and file previews.
2003-01-14
qtmakemovie (HTML) (DMG) (ZIP)
Demonstrates how to create a QuickTime movie file 10 seconds long with one video track.
2003-01-14
qtmoviefromprocs (HTML) (DMG) (ZIP)
Create QuickTime movie with video and audio tracks; Video from series of individual frames
2003-01-14
qtmoviefromurl (HTML) (DMG) (ZIP)
Illustrates how to use QuickTime's URL data handler to open a movie file specified by a URL.
2003-01-14
qtmovietrack (HTML) (DMG) (ZIP)
Demonstrates how to create movie tracks, allowing you to embed one movie within another movie.
2003-01-14
qtmovietrack.win (HTML) (DMG) (ZIP)
Demonstrates how to create movie tracks, allowing you to embed one movie within another movie.
2003-01-14
qtshellCEvents (HTML) (DMG) (ZIP)
A Carbon event based movie viewer framework which demonstrates how to incorporate movie support into an application.
2003-01-14
qtshellCEvents.win (HTML) (DMG) (ZIP)
A movie viewer framework which demonstrates how to incorporate movie support into an application.
2003-01-14
qtshortcut (HTML) (DMG) (ZIP)
Illustrates how to use CreateShortcutMovieFile.
2003-01-14
qtskins (HTML) (DMG) (ZIP)
Shows how to programmatically create and play back a movie with a skin track.
2003-01-14
qtskins.win (HTML) (DMG) (ZIP)
Shows how to programmatically create and play back a movie with a skin track.
2003-01-14
qtstreammsg (HTML) (DMG) (ZIP)
Shows how to work with the status streaming messages and display a message in the controller bar.
2003-01-14
qtstreammsg.win (HTML) (DMG) (ZIP)
Shows how to work with the status streaming messages and display a message in the controller bar.
2003-01-14
Show Movie (HTML) (DMG) (ZIP)
Demonstrates several QuickTime features for manipulating movies and their playback.
2003-01-14
SimpleCocoaJavaMovie (HTML) (DMG) (ZIP)
Deprecated - A simple movie player showing how to use the NSMovieView and NSMovie Cocoa Java classes.
2003-01-14
SimpleCocoaMovieQT (HTML) (DMG) (ZIP)
A simple movie player showing how to use the NSMovieView and NSMovie Cocoa Objective-C classes.
2003-01-14
simpleeditsdi.win (HTML) (DMG) (ZIP)
Demonstrates how to display and edit QuickTime movies using the SDI (single document interface).
2003-01-14
simpleplayersdi.win (HTML) (DMG) (ZIP)
Demonstrates how to display QuickTime movies using the SDI (single document interface).
2003-01-14
sndequalizer (HTML) (DMG) (ZIP)
Manage a dialog window containing a graphical equalizer display.
2003-01-14
VideoFrameToGWorld (HTML) (DMG) (ZIP)
Demonstrates how to extract a single frame from a video track into a GWorld.
2003-01-14