Documentation Archive Developer
Search

ADC Home > Reference Library > Technical Q&As > Legacy Documents > QuickTime >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Correct Time Values

Q How do I determine the correct time values to pass to GetMoviePict to get all the sequential frames of a QuickTime movie?

A The best way to determine the correct time to pass to get movie frames is to call the GetMovieNextInterestingTime routine repeatedly. Note that the first time you call GetMovieNextInterestingTime, its flags parameter should have a value of nextTimeMediaSample+nextTimeEdgeOK to get the first frame.

For subsequent calls, the value of flags should be nextTimeMediaSample, and the whichMediaTypes parameter should include only tracks with visual information, VisualMediaCharacteristic, or "eyes." Check the Movie Toolbox chapter of the QuickTime documentation for details about the GetMovieNextInterestingTime call.

[May 01 1995]