Skip to content

/AWS1/CL_MDLAACSETTINGS

Aac Settings

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_bitrate TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

Average bitrate in bits/second. Valid values depend on rate control mode and profile.

iv_codingmode TYPE /AWS1/MDLAACCODINGMODE /AWS1/MDLAACCODINGMODE

Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. The adReceiverMix setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.

iv_inputtype TYPE /AWS1/MDLAACINPUTTYPE /AWS1/MDLAACINPUTTYPE

Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair. The Audio Type field (audioType) will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd.

Leave set to "normal" when input does not contain pre-mixed audio + AD.

iv_profile TYPE /AWS1/MDLAACPROFILE /AWS1/MDLAACPROFILE

AAC Profile.

iv_ratecontrolmode TYPE /AWS1/MDLAACRATECONTROLMODE /AWS1/MDLAACRATECONTROLMODE

Rate Control Mode.

iv_rawformat TYPE /AWS1/MDLAACRAWFORMAT /AWS1/MDLAACRAWFORMAT

Sets LATM / LOAS AAC output for raw containers.

iv_samplerate TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

Sample rate in Hz. Valid values depend on rate control mode and profile.

iv_spec TYPE /AWS1/MDLAACSPEC /AWS1/MDLAACSPEC

Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.

iv_vbrquality TYPE /AWS1/MDLAACVBRQUALITY /AWS1/MDLAACVBRQUALITY

VBR Quality Level - Only used if rateControlMode is VBR.


Queryable Attributes

Bitrate

Average bitrate in bits/second. Valid values depend on rate control mode and profile.

Accessible with the following methods

Method Description
GET_BITRATE() Getter for BITRATE, with configurable default
ASK_BITRATE() Getter for BITRATE w/ exceptions if field has no value
STR_BITRATE() String format for BITRATE, with configurable default
HAS_BITRATE() Determine if BITRATE has a value

CodingMode

Mono, Stereo, or 5.1 channel layout. Valid values depend on rate control mode and profile. The adReceiverMix setting receives a stereo description plus control track and emits a mono AAC encode of the description track, with control data emitted in the PES header as per ETSI TS 101 154 Annex E.

Accessible with the following methods

Method Description
GET_CODINGMODE() Getter for CODINGMODE, with configurable default
ASK_CODINGMODE() Getter for CODINGMODE w/ exceptions if field has no value
HAS_CODINGMODE() Determine if CODINGMODE has a value

InputType

Set to "broadcasterMixedAd" when input contains pre-mixed main audio + AD (narration) as a stereo pair. The Audio Type field (audioType) will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. The values in audioTypeControl and audioType (in AudioDescription) are ignored when set to broadcasterMixedAd.

Leave set to "normal" when input does not contain pre-mixed audio + AD.

Accessible with the following methods

Method Description
GET_INPUTTYPE() Getter for INPUTTYPE, with configurable default
ASK_INPUTTYPE() Getter for INPUTTYPE w/ exceptions if field has no value
HAS_INPUTTYPE() Determine if INPUTTYPE has a value

Profile

AAC Profile.

Accessible with the following methods

Method Description
GET_PROFILE() Getter for PROFILE, with configurable default
ASK_PROFILE() Getter for PROFILE w/ exceptions if field has no value
HAS_PROFILE() Determine if PROFILE has a value

RateControlMode

Rate Control Mode.

Accessible with the following methods

Method Description
GET_RATECONTROLMODE() Getter for RATECONTROLMODE, with configurable default
ASK_RATECONTROLMODE() Getter for RATECONTROLMODE w/ exceptions if field has no val
HAS_RATECONTROLMODE() Determine if RATECONTROLMODE has a value

RawFormat

Sets LATM / LOAS AAC output for raw containers.

Accessible with the following methods

Method Description
GET_RAWFORMAT() Getter for RAWFORMAT, with configurable default
ASK_RAWFORMAT() Getter for RAWFORMAT w/ exceptions if field has no value
HAS_RAWFORMAT() Determine if RAWFORMAT has a value

SampleRate

Sample rate in Hz. Valid values depend on rate control mode and profile.

Accessible with the following methods

Method Description
GET_SAMPLERATE() Getter for SAMPLERATE, with configurable default
ASK_SAMPLERATE() Getter for SAMPLERATE w/ exceptions if field has no value
STR_SAMPLERATE() String format for SAMPLERATE, with configurable default
HAS_SAMPLERATE() Determine if SAMPLERATE has a value

Spec

Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers.

Accessible with the following methods

Method Description
GET_SPEC() Getter for SPEC, with configurable default
ASK_SPEC() Getter for SPEC w/ exceptions if field has no value
HAS_SPEC() Determine if SPEC has a value

VbrQuality

VBR Quality Level - Only used if rateControlMode is VBR.

Accessible with the following methods

Method Description
GET_VBRQUALITY() Getter for VBRQUALITY, with configurable default
ASK_VBRQUALITY() Getter for VBRQUALITY w/ exceptions if field has no value
HAS_VBRQUALITY() Determine if VBRQUALITY has a value