QMedia Video media commands


QM_GetVideoMediaCompression(movieRef; trackID; codecType; codecQuality; codecDepth):error
movieRef Longint Movie reference
trackID Longint Track ID
codecType String4 Codec type
codecQuality Longint Compression quality
codecDepth Longint Color depth
error Longint Error result

Returns the compression options currently 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 codecType receives the four character identifier of the compressor (codec) component.

Parameter codecQuality receives the compression quality.

Parameter codecDepth receives the color depth at which video samples are compressed. A value of 0 means that the compressor component chooses the best depth for the video samples.

QMedia sets the default compression options to the following values:

Quality:qm_NormalQuality (512)
Depth:0 (use best depth)


  `Get the compression settings of video track $trackID
$err:=QM_GetVideoMediaCompression ($movie;$trackID;$codec;$quality;0)

Related commands

QM_SetVideoMediaCompression Changes the compression options of new video samples.
QM_GetCodecs Returns the list of all QuickTime codecs

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