hwIAMFExportOptions SetQuality

Sets the quality used when exporting AMF files using the JPEG encoder.

Syntax

hwIAMFExportOptions_handle SetQualityquality

Application

HyperView Tcl Modify

Description

This command sets the quality used when exporting AMF files using the JPEG encoder.
Note: This parameter is used when exporting JPEG encoded AMF files from any client during video capture.

Inputs

quality
The quality to be used when exporting JPEG encoded AMF files. This must be between 0 and 100 (exclusive).

Example

To set the current quality used when exporting JPEG encoded AMF files:
hwi GetSessionHandle mySessionName
mySessionName GetAMFExportOptionsHandle myAmfOptions
myAmfOptions SetQuality 90

Errors

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.