|QMedia Video media commands|
|QM_AddVideoMediaImage(movieRef; trackID; sampleTime; sampleDuration; imagePath):error|
||imagePath||Text||Path to image file|
Adds an image file to a video track.
Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile.
Parameter trackID is the ID of the video track.
Parameters sampleTime and sampleDuration specify the insertion point and duration of the video sample. Both must be expressed in the movie's time scale. If sampleTime is -1, the video sample is added to the end of the track. In that case, parameter sampleTime also receives the actual time at which the sample was added.
Parameter imagePath is the full pathname to the image file. If imagePath is invalid, a file system error is returned. If imagePath is empty, QMedia presents the file selection dialog where the user can preview and select an image file. If the user selects a file, its full pathname is returned in imagePath, otherwise error qm_userCancelErr is returned.
|QM_AddVideoMediaPicture||Adds a picture as a sample to a video track.|
|QM_SetVideoMediaBackColor||Changes the background color of new video samples.|
|QM_SetVideoMediaDisplayFormat||Changes the display format of new video samples.|
|QM_SetVideoMediaCompression||Changes the compression options of new video samples.|