QMediaLight

Movie time commands

These commands let you work with the basic coordinate system of the movie, time.

Standard (time-based, not VR) QuickTime movies have their own time coordinate system. This coordinate system is defined by time scale and duration. The time scale is a private characteristic of each movie that specifies the number of time units in a second.

Movies always start at time 0. The duration specifies the length of the movie, expressed in the movie's own time scale (not in seconds). To obtain seconds you have to divide by the time scale value.

QM_GetTimeScale Returns the movie's time scale.
QM_GetDuration Returns the movie's time duration.
QM_SetCurrentTime Sets the movie's current time.
QM_GetCurrentTime Returns the movie's current time.

QMediaLight © Escape OE
Generated by QDoc 2.8 on Thu, Oct 8, 2009 18:08:36