Jump To:
Leopard Reference Library: 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

Sorted by
Title
Sort by
Resource Type
Sort by
Date
Accessing Decompressed Images (HTML)
QTMTB27: Demonstrates the use of a transfer procedure to access a decompressed image and manipulate it prior to display.
Technical Q&As 1995-05-01
AddFrameToMovie (HTML) (DMG) (ZIP)
Shows how to add an additional frame to the end of an existing movie.
Sample Code 2003-01-14
Adding a movie reference to a movie (HTML)
QA1376: Demonstrates how to add a reference for a movie to another movie
Technical Q&As 2004-09-16
Adding metadata to a QuickTime movie using the QuickTime MetaData APIs (HTML)
QA1515: Adding metadata to a QuickTime movie using the QuickTime MetaData APIs
Technical Q&As 2008-08-08
Adding metadata to an iTunes file using the QuickTime Metadata APIs (HTML)
QA1508: How to add metadata to a movie using the QuickTime Metadata APIs
Technical Q&As 2007-02-14
Adding QuickTime Movie Data to Non-QuickTime Files (HTML)
QTMTB31: Describes how to embed QuickTime movies into files, and play back on Windows or Mac.
Technical Q&As 1995-05-01
AlwaysPreview (HTML) (DMG) (ZIP)
Demonstrates how to force the preview enabled mode by install a modal dialog filter proc in CustomGetFilePreview.
Sample Code 2003-01-14
ASCIIMoviePlayerSample (HTML) (DMG) (ZIP)
Demonstrates using a MovieDrawingCompleteProc to render a QuickTime movie in the Mac OS X Terminal.
Sample Code 2009-04-21
Avoiding Pauses When Looping Audio files with QuickTime (HTML)
QA1371: Demonstrates how to avoid pauses when looping audio files with QuickTime
Technical Q&As 2004-09-08
Batch Exporting movie sound tracks with ConvertMovieToFile() (HTML)
QTMTB62: Explains how to configure ConvertMovieToFile to use the same configuration information for more than one call.
Technical Q&As 2000-09-05
BeginMediaEdits -2050 badDataRefIndex error after calling NewMovie (HTML)
QTMTB58: Describes reasons why BeginMediaEdits would return the -2050 badDataRefIndex error code during a media-editing session.
Technical Q&As 2000-09-05
BurntTextSampleCode (HTML) (DMG) (ZIP)
Converts text tracks of a movie to new text tracks with bit map representations of the text.
Sample Code 2003-01-14
Calculating the static video frame rate of a QuickTime movie. (HTML) (日本語 HTML)
QA1262: Calculating the static video frame rate of a QuickTime movie.
Technical Q&As 2008-08-06
Choosing the Position Where a Movie is Pasted (HTML)
QTMTB26: Explains how the position of a pasted movie is determined and shows how to force a given location.
Technical Q&As 1995-05-01
CIVideoDemoGL (HTML) (DMG) (ZIP)
CIVideoDemoGL demonstrates using Core Image with QuickTime and Core Video
Sample Code 2007-10-03
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
Compressed and Uncompressed Samples in the Same Track (HTML)
QTMTB43: Recommends not to mix compressed and uncompressed data samples into the same sound track.
Technical Q&As 1995-08-01
ConvertMovieToFile unexpected results (HTML) (日本語 HTML)
QTMTB51: Explains why white frames can occur in a movie that was saved using ConvertMovieToFile.
Technical Q&As 1999-06-14
Correct Time Values (HTML)
QTMTB32: Demonstrates finding correct time values for GetMoviePict to get all the frames of a QuickTime movie.
Technical Q&As 1995-05-01
Correction to SetMediaDataRef, short, not pointer (HTML)
QTMTB44: Makes a correction to the description of SetMediaDataRef in the QT2.0 CD.
Technical Q&As 1995-08-01
CreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a QuickTime Movie with both a video and audio track.
Sample Code 2003-01-14
CreateMovie - C# (HTML) (DMG) (ZIP)
Visual C# application demonstrating the QuickTime 7 COM Control creating movies from images and saving them
Sample Code 2005-11-09
Creating a Movie from Movie Data in Memory (HTML)
QA1341: Describes how to create a movie from movie data in memory.
Technical Q&As 2006-03-21
Creating track references when editing movies (HTML)
QTMTB61: Explains how to use the InsertTrackSegment function to copy a track reference rather than the actual media.
Technical Q&As 2000-09-05
Determining QuickDrawVideo Media Pixel Depth (HTML)
QTMTB17: Demonstrates how to retrieve the pixel depth of a QuickTime video media or movie.
Technical Q&As 1995-05-01
Determining required components for QuickTime movies (HTML)
QA1093: Shows how to determine if a given QuickTime movie requires a component that's not currently installed on the system.
Technical Q&As 2001-11-07
Disabling QuickTime Error Dialogs When Opening or Tasking a Movie (HTML) (日本語 HTML)
QA1164: How to disable QuickTime error dialogs which may be presented when opening or tasking a movie.
Technical Q&As 2003-03-20
DragAndDrop Shell (HTML) (DMG) (ZIP)
A Drag and Drop shell for producing QuickTime drag and drop tools.
Sample Code 2003-01-14
DV Codec settings and performance (HTML) (日本語 HTML)
QA1149: Discusses the difference between compression quality, decompression quality, and performance with the DV codec.
Technical Q&As 2004-01-20
Extracting DV Fields using QTNewGWorldFromPtr (HTML)
QA1017: Describes using QTNewGWorldFromPtr to access individual fields contained within a frame of DV source.
Technical Q&As 2001-03-20
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
Filtering QuickTime media types in Navigation Services (HTML) (日本語 HTML)
QA1274: Describes how to filter QuickTime media types in a Navigation Services filter procedure.
Technical Q&As 2003-07-23
Filtering the Effects List returned by QTGetEffectsList (HTML) (日本語 HTML)
QA1190: Shows how to edit the list of effects returned by the QTGetEffectsList function.
Technical Q&As 2002-09-04
Functions that Modify Movie Properties, QuickTime Track, and Movie Sound Volume (HTML)
QTMTB39: Explains movie volume values, and how to exceed the maximum level using Sound Manager 3.0.
Technical Q&As 1995-05-01
GetDIBFromPict fails with QuickTime "Minimum" installation (HTML)
QA1294: Demonstrates how to check for any available QuickTime components required by individual QuickTime functions.
Technical Q&As 2004-09-28
Handling of Update Events While a Movie Plays (HTML)
Deprecated - QTMTB45: Describes timing issues that can be caused by applications calling WaitNextEvent while playing a QuickTime movie.
Technical Q&As 1995-09-15
How can I verify that a Movie can actually draw into a non-RGB GWorld? (HTML) (日本語 HTML)
QA1243: Techniques to verify that a Movie can actually draw into a non-RGB GWorld.
Technical Q&As 2003-03-05
How can I work with MPEG-2 media using QuickTime? (HTML)
QA1540: How to work with MPEG-2 media using QuickTime.
Technical Q&As 2007-08-29
How do I count the frames in an MPEG movie? (HTML) (日本語 HTML)
QTMTB54: Talks about using the QuickTime Movie Toolbox function GetMovieNextInterestingTime with MPEG media tracks.
Technical Q&As 2003-05-02
How do I decompress individual frames into an offscreen? (HTML)
QTMTB57: Describes methods for decompressing individual frames of a video track into an offscreen memory buffer.
Technical Q&As 2000-04-24
How to Compute Data Rate for QuickTime Movies (HTML)
QTMTB46: Describes two methods of measuring the rate of samples for Quicktime movies.
Technical Q&As 1995-09-15
How to Get the First Video Frame (HTML)
QTMCC01: Describes how to get the first frame of a movie using GetMovieNextInterestingTime.
Technical Q&As 1995-05-01
Importing image data from memory (HTML)
QTMTB56: Explains using the graphics importer API's to read image data which resides in memory.
Technical Q&As 2000-04-03
Inside Mac Movie TB Code (HTML) (DMG) (ZIP)
Deprecated - Macintosh Movie Toolbox sample code.
Sample Code 2003-01-14
Intercepting movie controller actions (HTML)
QA1094: Demonstrates how to intercept movie controller actions.
Technical Q&As 2001-11-14
Intercepting QuickTime Wired Actions (HTML)
QA1095: Demonstrates how to intercept wired actions in a movie controller action filter function.
Technical Q&As 2001-11-14
Is QuickTime thread-safe? (HTML)
QA1088: Discusses thread-safety and reentrancy of the QuickTime library on both Mac & Windows.
Technical Q&As 2006-02-14
LiveVideoMixer (HTML) (DMG) (ZIP)
LiveVideoMixer demonstrates customized video rendering with QuickTime 7 and CoreVideo and OpenGL.
Sample Code 2008-04-24
Looping Audio Files with QuickTime for Windows (HTML)
QA1559: How to Continuously Loop Audio Files with QuickTime for Windows
Technical Q&As 2007-10-09
MakeEffectMovie (HTML) (DMG) (ZIP)
Creating a movie with an effects track allowing the user to specify the effect using the standard effects dialog.
Sample Code 2003-01-14
MCSetClip and Clipping with the Movie Controller (HTML)
QTMTB18: Tells why the movie controller ignores the clip set by SetMovieDisplayClipRgn and shows a correct clipping technique.
Technical Q&As 1995-05-01
mdiplayer.win (HTML) (DMG) (ZIP)
Demonstrates how to display QuickTime movies using the MDI (multiple document interface).
Sample Code 2003-01-14
mfc.win (HTML) (DMG) (ZIP)
Contains a number of QuickTime samples using MFC: MFCMDIPlayer, MFCQTClasses, QTClasses, SimpleEdit, SimplePlayer.
Sample Code 2003-01-14
Movie Controller Reference (HTML) (PDF)
Describes the API for QuickTime movie controllers.
Reference 2006-05-23
Movie Drawing Complete Procedure with C++ (HTML) (日本語 HTML)
QA1150: Demonstrates a static class method which can be used as a QuickTime movie drawing complete callback.
Technical Q&As 2002-06-18
Movie From DataRef (HTML) (DMG) (ZIP)
Demonstrates Asynchronous Movie loading and the NewMovieFromDataRef API. Part of "An Introduction to QuickTime".
Sample Code 2003-01-14
Movie Manager Reference (HTML) (PDF)
Describes the API for the QuickTime Movie Manager.
Reference 2006-12-14
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
MovieBrowser (HTML) (DMG) (ZIP)
BrowserMaker creates a document with links to other movies in a folder.
Sample Code 2003-01-14
MovieGWorlds (HTML) (DMG) (ZIP)
Demonstrates movie drawing-complete functions, movie compositing and using SetTrackGWorld to draw into a specific graphics world.
Sample Code 2003-12-18
MoviePlayer (HTML) (DMG) (ZIP)
A simple movie player application written in Microsoft Visual Basic 6 using the QuickTime 7 COM/ActiveX Control.
Sample Code 2005-10-13
MoviePlayer - C# (HTML) (DMG) (ZIP)
Microsoft Visual C# application which uses the QuickTime 7 COM Control to display and manipulate movies
Sample Code 2005-11-09
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
offscreen.win (HTML) (DMG) (ZIP)
Uses NewGWorldFromHBITMAP to wrap a gworld around an existing DIB, then draws movie frames into this gworld.
Sample Code 2003-01-14
Play Movie with Controller (HTML) (DMG) (ZIP)
Playing a QuickTime movie using a movie controller. Part of "An Introduction to QuickTime".
Sample Code 2003-01-14
Playing memory-resident WAVE data using QuickTime 4 (HTML) (日本語 HTML)
QTMTB52: Explains how to play memory-resident WAVE data in QuickTime 4 or later.
Technical Q&As 1999-07-21
Playing QuickTime 3 Movie Sound Data (HTML) (日本語 HTML)
QTMTB50: Explains why a movie's sound data can continue to play longer than video data.
Technical Q&As 1998-11-09
Preroll Movies (HTML)
QTMTB42: Lists the advantages of calling PreRollMovie to improve the performance of QuickTime movies.
Technical Q&As 1995-05-01
Programatically retrieving field and frame information (HTML)
QA1547: Discusses the use of the kICMImageDescriptionPropertyID_FieldInfo property to retrieve Field/Frame information.
Technical Q&As 2007-09-13
Programmatic configuration of a Movie Export Component (HTML) (日本語 HTML)
QA1147: Demonstrates how to programmatically configure a movie export component without showing the Movie Export dialog.
Technical Q&As 2002-06-18
qt3dtween (HTML) (DMG) (ZIP)
Creates a QuickTime movie containing both a 3D track and a tween track.
Sample Code 2003-01-14
qtbigscreen (HTML) (DMG) (ZIP)
Demonstrates how to play QuickTime Movies fullscreen, handle application messages and use time base callbacks.
Sample Code 2003-01-14
qtbigscreen.win (HTML) (DMG) (ZIP)
Demonstrates how to play QuickTime Movies fullscreen, handle application messages and use time base callbacks.
Sample Code 2003-01-14
QTCarbonCoreImage101 (HTML) (DMG) (ZIP)
Demonstrates how to render QuickTime Movies using Core Image filters and the new video pipeline.
Sample Code 2006-02-14
qtchannels.win (HTML) (DMG) (ZIP)
Demonstrates adding items to (and remove items from) the favorites drawer in QuickTime Player.
Sample Code 2003-01-14
qtcompress (HTML) (DMG) (ZIP)
Uses the standard image compression dialog to get compression settings, then compresses an image with the settings.
Sample Code 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.
Sample Code 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.
Sample Code 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.
Sample Code 2003-01-14
qtcreatemovie (HTML) (DMG) (ZIP)
CreateMovie demonstrates creating a very simple QuickTime movie with a video track and a sound track.
Sample Code 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.
Sample Code 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.
Sample Code 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.
Sample Code 2003-01-14
qtdataexchange (HTML) (DMG) (ZIP)
QuickTime's movie importers and exporters. Import files and export movie into any supported format.
Sample Code 2003-01-14
qtdataref (HTML) (DMG) (ZIP)
Shows how to work with data references and data handlers.
Sample Code 2003-01-24
qtdataref.win (HTML) (DMG) (ZIP)
Shows how to work with data references and data handlers.
Sample Code 2003-01-24
qtflattentohandle (HTML) (DMG) (ZIP)
DataHandlerType provides data input and output services to the media handler. Open movie, flatten, then play
Sample Code 2003-01-14
qtflattentohandle.win (HTML) (DMG) (ZIP)
DataHandlerType provides data input and output services to the media handler. Open movie, flatten, then play
Sample Code 2003-01-14
qtframestepper (HTML) (DMG) (ZIP)
QTFrameStepper.c defines functions that you can use to step frame-by-frame through a QuickTime movie.
Sample Code 2003-01-14
qtgraphics (HTML) (DMG) (ZIP)
Use QuickTime's graphics importers and exporters to work with still image (graphics) files.
Sample Code 2003-01-14
qtgraphics.win (HTML) (DMG) (ZIP)
Use QuickTime's graphics importers and exporters to work with still image (graphics) files.
Sample Code 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.
Sample Code 2003-01-14
qtinfo (HTML) (DMG) (ZIP)
Shows how to create movie previews, movie posters, and file previews.
Sample Code 2003-01-14
qtinfo.win (HTML) (DMG) (ZIP)
Shows how to create movie previews, posters, and file previews.
Sample Code 2003-01-14
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
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
QTKitCommandLine (HTML) (DMG) (ZIP)
Command-line tools for deleting movie segments and converting movies to 3GPP files
Sample Code 2005-06-01
QTKitCreateMovie (HTML) (DMG) (ZIP)
Demonstrates how to create a movie from a sequence of images.
Sample Code 2007-08-31