QMedia Video media commands


QM_SetVideoMediaBackColor(movieRef; trackID; backColor):error
movieRef Longint Movie reference
trackID Longint Track ID
backColor Longint Background RGB color
error Longint Error result

Changes the background color that is used when adding samples 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 track.

Parameter backColor is the background RGB color. It must be expressed as a longint, using 4Dv6's RGB color notation format (0x00RRGGBB - see the SET RGB COLOR 4D command). 4D's RGB color constants can also be used.

QMedia sets the default background color to white (0x00FFFFFF).


  `Set the background color for video track ID $trackID
$backColor:=Default background color `4D's color constant
$err:=QM_SetVideoMediaBackColor ($movie;$trackID;$backColor)

Related commands

QM_GetVideoMediaBackColor Returns the background color of new video samples.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:42:32