Skip to content

/AWS1/CL_MDCMP2SETTINGS

Required when you set Codec to the value MP2.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_audiodescriptionmix TYPE /AWS1/MDCMP2AUDIODESCMIX /AWS1/MDCMP2AUDIODESCMIX

Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for 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. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NONE when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.

iv_bitrate TYPE /AWS1/MDC__INTEGERMIN32000MA00 /AWS1/MDC__INTEGERMIN32000MA00

Specify the average bitrate in bits per second.

iv_channels TYPE /AWS1/MDC__INTEGERMIN1MAX2 /AWS1/MDC__INTEGERMIN1MAX2

Set Channels to specify the number of channels in this output audio track. Choosing Mono in will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.

iv_samplerate TYPE /AWS1/MDC__INTEGERMIN32000MA01 /AWS1/MDC__INTEGERMIN32000MA01

Sample rate in Hz.


Queryable Attributes

AudioDescriptionMix

Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for 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. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NONE when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.

Accessible with the following methods

Method Description
GET_AUDIODESCRIPTIONMIX() Getter for AUDIODESCRIPTIONMIX, with configurable default
ASK_AUDIODESCRIPTIONMIX() Getter for AUDIODESCRIPTIONMIX w/ exceptions if field has no
HAS_AUDIODESCRIPTIONMIX() Determine if AUDIODESCRIPTIONMIX has a value

Bitrate

Specify the average bitrate in bits per second.

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
HAS_BITRATE() Determine if BITRATE has a value

Channels

Set Channels to specify the number of channels in this output audio track. Choosing Mono in will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.

Accessible with the following methods

Method Description
GET_CHANNELS() Getter for CHANNELS, with configurable default
ASK_CHANNELS() Getter for CHANNELS w/ exceptions if field has no value
HAS_CHANNELS() Determine if CHANNELS has a value

SampleRate

Sample rate in Hz.

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
HAS_SAMPLERATE() Determine if SAMPLERATE has a value