LEAD MPEG-4 Encoder ICodecAPI Support

The LEAD MPEG-4 Encoder implements the ICodecAP interface and can be configured by setting any of the supported properties through this interface.

Descriptions of supported transform properties are provided in the following table:

Codec API Property

Description

Property in ILMFMP4Encoder Interface

CODECAPI_AVEncCommonRateControlMode

 

Specifies the rate control mode, Possible values are ( members of  eAVEncCommonRateControlMode enumeration):
eAVEncCommonRateControlMode_Quality: Use the CODECAPI_AVEncCommonQuality property value to regulate the image quality.

eAVEncCommonRateControlMode_PeakConstrainedVBR: Vary the quality over short durations. However, it will achieve an average rate matching the CODECAPI_AVEncCommonMeanBitRate property value.

eAVEncCommonRateControlMode_CBR: Adhere strictly to the rate specified in the CODECAPI_AVEncCommonMeanBitRate property.

 

CompressionMode

CODECAPI_AVEncCommonMeanBitRate

Specifies the average or constant bitrate used when the CODECAPI_AVEncCommonRateControlMode is set to eAVEncCommonRateControlMode_CBR or eAVEncCommonRateControlMode_PeakConstrainedVBR. The value is in bits per second.

BitRate

CODECAPI_AVEncCommonQuality

Specifies the quality factor for encoding. The quality factor is used in compressing the video stream. The lower the quality factor, the better the quality. Possible values range from 1 (best) to 31 (worst).

QFactor

CODECAPI_AVEncCommonMultipassMode

Specifies the number of encoding passes that the encoder supports. Possible values are 1(default) or 2.

EncodingPasses

CODECAPI_AVEncMPVQScaleType

The quantization method applied. Possible values are (members of the eAVEncMPVQScaleType enumeration):

eAVEncMPVQScaleType_Linear:        Use H.263 quantization.
eAVEncMPVScanPattern_AlternateScan:  Use MPEG quantization.

QuantType

   

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Transforms C API Help