Previous Up Next

_QTGetMovieDuration
Retrieve the length of the movie.

[I I] _QTGetMovieDuration (
QTMovie _movie_
)
Parameters

_movie_
any movie
Return value

a tuple of integers. The first of the is the time value. It mesures the length of the movie in a number of time base. The second value represents the time base as a number of ticks per seconds. You can for exemple calculate the duration of the movie in number of seconds with this formula: (timevalue/timebase).