hwIAMFExportOptions SetEncoder

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

Syntax

hwIAMFExportOptions_handle SetEncoderencoder

Application

HyperView Tcl Modify

Description

This command sets the type of encoding used when exporting AMF video files.
Note: This parameter is used when exporting AMF files from any client during video capture.

Inputs

encoder
The encoder type. Options are: “jpeg” or “zlib”.

Example

To set the encoder used when exporting AMF files:
hwi GetSessionHandle mySessionName
mySessionName GetAMFExportOptionsHandle myAmfOptions
myAmfOptions SetEncoder jpeg

Error

Returns 0 if successful, or an error code (3 = HW_InvalidHandle) - if the handle used to invoke the method is no longer valid or

(HW_InvalidArgs) - if the value of the argument quality is not in the range listed above.