Available as an Add-on to LEADTOOLS Multimedia toolkits. |
This is the interface for the LEAD AAC Encoder.
Interface Properties:
Type |
Name |
Description |
long |
OutputBitrate |
The output bitrate, in kbps, of the compressed audio data. Bitrate denotes the average number of bits that one second of audio data will take up in the compressed bitstream. The output quality is related to the selected bitrate; the higher the bitrate, the better the quality. Supported bitrates are: 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, 448, 512, 576, and 640 kbps. |
eOutputChannels |
OutputChannels |
The number of output channels. Possible values are (members of the eOutputChannels enumeration): LAAC_OC_UNCHANGED: [0x00]
Same as input. |
VARIANT_BOOL |
SimulateSurround |
Enables or disables surround feature simulation. Possible values are: VARIANT_TRUE: Enables
surround feature simulation. This property has effect only if the OutputChannels property was set to LAAC_OC_6CHANNELS. |
eMPEGVersion |
MPEGVersion |
The AAC audio MPEG version. Possible values are (members of the eMPEGVersion enumeration): LAAC_MPEGVersion_MPEG4: [0]
MPEG-4 AAC. |
eBlockType |
BlockType |
The allowed block type; data window length. Possible values are (members of the eBlockType enumeration): LAAC_BlockType_NORMAL: [0]
Both long and short blocks are allowed. |
eObjectType |
ObjectType |
The AAC profile used. Possible values are (members of the eObjectType enumeration): LAAC_ObjType_LC: [1]
Low complexity profile. Requires lower CPU and Memory resources. |
long |
QFactor |
The quality factor used in compressing the audio stream; the higher the quality factor, the better the quality. Possible values range from 10 (worst) to 500 (best). |
eRateControl |
RateControl |
The method used to control the output bitrate. Possible values are (members of the eRateControl enumeration): LAAC_RC_CONST_QUALITY: [0] Constant quality, or variable bitrate. The output bitrate depends on the used quality factor and the nature of the input signal. If the encoder is connected to the AVI multiplexer, this option is disabled and the encoder will revert to the constant bitrate (LAAC_RC_CONST_BITRATE).
LAAC_RC_CONST_BITRATE: [1] Average bitrate. The output bitrate is defined by the OutputBitrate property. |
long |
Cutoff |
The cutoff frequency, the frequency beyond which the audio signal is attenuated, in Hz. Possible values range from 3000 to 24000 Hz, and the value must be a multiple of 1000. |
VARIANT_BOOL |
UseCutoff |
Determines whether the cutoff frequency specified by the Cutoff property will be used. Possible values are: VARIANT_TRUE: The
cutoff frequency specified by the Cutoff property is used. |
eStreamFormat |
StreamFormat |
The format of the output stream. Possible values are (members of the eStreamFormat enumeration): LAAC_STREAMFORMAT_RAW: The encoder will output raw compressed data; raw data blocks. Only one header at the beginning of the stream is output. Using this value, the MPEGVersion property is restricted to LAAC_MPEGVersion_MPEG4.
LAAC_STREAMFORMAT_ADTS: The encoder output format is Audio Data Transport Stream, where each frame has its own header. |
long |
OutputSampleRate |
The output sample rate, in samples per second. Possible values range between 8000 and 96000 samples per second (Hz). Note: Changing the sample rate causes a change in the quality resulting from audio data resampling. |
VARIANT_BOOL |
IgnoreTimeDiscontinuity |
If set to VARIANT_TRUE, this property will cause the encoder to ignore discontinuities in the timestamps (time gaps) of the incoming audio samples. Sometimes this is needed to work around audio source timing problems. This property is not active (VARIANT_FALSE) by default. |
VARIANT_BOOL |
IgnoreTimeOverlapping |
If set to VARIANT_TRUE, this property will cause the encoder to ignore overlapping in the timestamps of the incoming audio samples. Sometimes this is needed to work around audio source timing problems. This property is not active (VARIANT_FALSE) by default. |