hwIAMFExportOptions GetEncoder

Gets the type of encoding used when exporting AMF video files.

Syntax

hwIAMFExportOptions_handle GetEncoder

Application

HyperView Tcl Query

Description

This command retrieves the type of encoding used when exporting AMF video files:
"jpeg"
AMF video frames are compressed as JPEGs. This encoding uses the quality setting returned by the hwIAMFExportOptions GetQuality function. This type of encoding can produce a smaller video file than ZLIB encoding, but it is not lossless.
"zlib"
AMF video frames are compressed by ZLIB. This type of encoding is lossless, but tends to produce a larger video file than JPEG encoding.
Note: This parameter is used when exporting AMF files from any client during video capture.

Example

To determine the current encoder used when exporting AMF files:
hwi GetSessionHandle mySessionName
mySessionName GetAMFExportOptionsHandle myAmfOptions
myAmfOptions GetEncoder

Error

Returns the type of encoder used when exporting AMF files, otherwise 0 if an error occurs.