QMedia
Movie preview, poster, and pict commands
|
|
| QM_GetMoviePict(movieRef; movieTime; moviePict):error | |||
|
|
movieRef | Longint | Movie reference |
|
|
movieTime | Longint | Movie time |
|
|
moviePict | Picture | Movie picture |
|
|
error | Longint | Error result |
Creates and returns a picture from a movie at a specified time.
Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.
Parameter movieTime specifies the point in the movie from which the picture must be created. It must be expressed in the movie's time scale.
Parameter posterPict receives the picture.
Example
`Get the first frame of movie $movieRef as a picture C_PICTURE($moviePict) $error:=QM_GetMoviePict ($movieRef;0;$moviePict) |
Related commands
| QM_GetPosterPict | Returns the movie's poster pict. |