Skip to content

AacSettings

Source code in docs_src/capo_medialive/types/aac_settings.py
class AacSettings(TypedDict, closed=True):
    bitrate: NotRequired["capo_medialive.types.__double.__double"]
    """Average bitrate in bits/second. Valid values depend on rate control mode and profile."""
    coding_mode: NotRequired["capo_medialive.types.aac_coding_mode.AacCodingMode"]
    """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."""
    input_type: NotRequired["capo_medialive.types.aac_input_type.AacInputType"]
    """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."""
    profile: NotRequired["capo_medialive.types.aac_profile.AacProfile"]
    """AAC Profile."""
    rate_control_mode: NotRequired[
        "capo_medialive.types.aac_rate_control_mode.AacRateControlMode"
    ]
    """Rate Control Mode."""
    raw_format: NotRequired["capo_medialive.types.aac_raw_format.AacRawFormat"]
    """Sets LATM / LOAS AAC output for raw containers."""
    sample_rate: NotRequired["capo_medialive.types.__double.__double"]
    """Sample rate in Hz. Valid values depend on rate control mode and profile."""
    spec: NotRequired["capo_medialive.types.aac_spec.AacSpec"]
    """Use MPEG-2 AAC audio instead of MPEG-4 AAC audio for raw or MPEG-2 Transport Stream containers."""
    vbr_quality: NotRequired["capo_medialive.types.aac_vbr_quality.AacVbrQuality"]
    """VBR Quality Level - Only used if rateControlMode is VBR."""

bitrate instance-attribute

bitrate: NotRequired[__double]

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

coding_mode instance-attribute

coding_mode: NotRequired[AacCodingMode]

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.

input_type instance-attribute

input_type: NotRequired[AacInputType]

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.

profile instance-attribute

profile: NotRequired[AacProfile]

AAC Profile.

rate_control_mode instance-attribute

rate_control_mode: NotRequired[AacRateControlMode]

Rate Control Mode.

raw_format instance-attribute

raw_format: NotRequired[AacRawFormat]

Sets LATM / LOAS AAC output for raw containers.

sample_rate instance-attribute

sample_rate: NotRequired[__double]

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

spec instance-attribute

spec: NotRequired[AacSpec]

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

vbr_quality instance-attribute

vbr_quality: NotRequired[AacVbrQuality]

VBR Quality Level - Only used if rateControlMode is VBR.