ADC Home > Reference Library > Technical Q&As > QuickTime > Movie Basics >

QuickTime Toolbox GetMovieTime Call

Q If a movie returns a point other than the start time, is it corrupt, or must I seek the start (i.e., SetTimeValue()) to ensure that I'm at the very beginning of the movie?

A The current time is saved in the movie header atom (see Inside Mac: QuickTime, page 4- 11). There is a utility called Dumpster in QT 1.6 (and on the QT 2.0 beta CD) that you can use to verify this. The resource type is 'mdhd'. To change the current time, call SetMovieTime (Inside Mac:QuickTime, page 2- 186) or call GoToBeginningOfMovie (Inside Mac:QuickTime, page 2- 113) to reposition a movie to play from its start.

[May 01 1995]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.