Skip to content

Ac4Settings

Source code in docs_src/capo_mediaconvert/types/ac4_settings.py
class Ac4Settings(TypedDict, closed=True):
    bitrate: NotRequired[
        "capo_mediaconvert.types.__integer_min48000_max768000.__integerMin48000Max768000"
    ]
    """Specify the average bitrate in bits per second. Leave blank to use the default bitrate for the coding mode you select according to ETSI TS 103 190. Valid bitrates for coding mode 2.0 (stereo): 48000, 64000, 96000, 128000, 144000, 192000, 256000, 288000, 320000, 384000, 448000, 512000, or 768000. Valid bitrates for coding mode 5.1 (3/2 with LFE): 96000, 128000, 144000, 192000, 256000, 288000, 320000, 384000, 448000, 512000, or 768000. Valid bitrates for coding mode 5.1.4 (immersive): 192000, 256000, 288000, 320000, 384000, 448000, 512000, or 768000."""
    bitstream_mode: NotRequired[
        "capo_mediaconvert.types.ac4_bitstream_mode.Ac4BitstreamMode"
    ]
    """Specify the bitstream mode for the AC-4 stream that the encoder emits. For more information about the AC-4 bitstream mode, see ETSI TS 103 190. Maps to dlb_paec_ac4_bed_classifier in the encoder implementation. - COMPLETE_MAIN: Complete Main (standard mix) - EMERGENCY: Stereo Emergency content"""
    coding_mode: NotRequired["capo_mediaconvert.types.ac4_coding_mode.Ac4CodingMode"]
    """Dolby AC-4 coding mode. Determines number of channels. Maps to dlb_paec_ac4_bed_channel_config in the encoder implementation. - CODING_MODE_2_0: 2.0 (stereo) - maps to DLB_PAEC_AC4_BED_CHANNEL_CONFIG_20 - CODING_MODE_3_2_LFE: 5.1 surround - maps to DLB_PAEC_AC4_BED_CHANNEL_CONFIG_51 - CODING_MODE_5_1_4: 5.1.4 immersive - maps to DLB_PAEC_AC4_BED_CHANNEL_CONFIG_514"""
    dynamic_range_compression_flat_panel_tv: NotRequired[
        "capo_mediaconvert.types.ac4_dynamic_range_compression_drc_profile.Ac4DynamicRangeCompressionDrcProfile"
    ]
    """Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification."""
    dynamic_range_compression_home_theater: NotRequired[
        "capo_mediaconvert.types.ac4_dynamic_range_compression_drc_profile.Ac4DynamicRangeCompressionDrcProfile"
    ]
    """Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification."""
    dynamic_range_compression_portable_headphones: NotRequired[
        "capo_mediaconvert.types.ac4_dynamic_range_compression_drc_profile.Ac4DynamicRangeCompressionDrcProfile"
    ]
    """Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification."""
    dynamic_range_compression_portable_speakers: NotRequired[
        "capo_mediaconvert.types.ac4_dynamic_range_compression_drc_profile.Ac4DynamicRangeCompressionDrcProfile"
    ]
    """Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification."""
    lo_ro_center_mix_level: NotRequired[
        "capo_mediaconvert.types.__double_min_negative1000_max3.__doubleMinNegative1000Max3"
    ]
    """Specify a value for the following Dolby AC-4 setting: Left only/Right only center mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left only/Right only center."""
    lo_ro_surround_mix_level: NotRequired[
        "capo_mediaconvert.types.__double_min_negative1000_max_negative1.__doubleMinNegative1000MaxNegative1"
    ]
    """Specify a value for the following Dolby AC-4 setting: Left only/Right only surround mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left only/Right only surround."""
    lt_rt_center_mix_level: NotRequired[
        "capo_mediaconvert.types.__double_min_negative1000_max3.__doubleMinNegative1000Max3"
    ]
    """Specify a value for the following Dolby AC-4 setting: Left total/Right total center mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left total/Right total center."""
    lt_rt_surround_mix_level: NotRequired[
        "capo_mediaconvert.types.__double_min_negative1000_max_negative1.__doubleMinNegative1000MaxNegative1"
    ]
    """Specify a value for the following Dolby AC-4 setting: Left total/Right total surround mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left total/Right total surround."""
    sample_rate: NotRequired[
        "capo_mediaconvert.types.__integer_min48000_max48000.__integerMin48000Max48000"
    ]
    """This value is always 48000. It represents the sample rate in Hz."""
    stereo_downmix: NotRequired[
        "capo_mediaconvert.types.ac4_stereo_downmix.Ac4StereoDownmix"
    ]
    """Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback."""

bitrate instance-attribute

bitrate: NotRequired[__integerMin48000Max768000]

Specify the average bitrate in bits per second. Leave blank to use the default bitrate for the coding mode you select according to ETSI TS 103 190. Valid bitrates for coding mode 2.0 (stereo): 48000, 64000, 96000, 128000, 144000, 192000, 256000, 288000, 320000, 384000, 448000, 512000, or 768000. Valid bitrates for coding mode 5.1 (3/2 with LFE): 96000, 128000, 144000, 192000, 256000, 288000, 320000, 384000, 448000, 512000, or 768000. Valid bitrates for coding mode 5.1.4 (immersive): 192000, 256000, 288000, 320000, 384000, 448000, 512000, or 768000.

bitstream_mode instance-attribute

bitstream_mode: NotRequired[Ac4BitstreamMode]

Specify the bitstream mode for the AC-4 stream that the encoder emits. For more information about the AC-4 bitstream mode, see ETSI TS 103 190. Maps to dlb_paec_ac4_bed_classifier in the encoder implementation. - COMPLETE_MAIN: Complete Main (standard mix) - EMERGENCY: Stereo Emergency content

coding_mode instance-attribute

coding_mode: NotRequired[Ac4CodingMode]

Dolby AC-4 coding mode. Determines number of channels. Maps to dlb_paec_ac4_bed_channel_config in the encoder implementation. - CODING_MODE_2_0: 2.0 (stereo) - maps to DLB_PAEC_AC4_BED_CHANNEL_CONFIG_20 - CODING_MODE_3_2_LFE: 5.1 surround - maps to DLB_PAEC_AC4_BED_CHANNEL_CONFIG_51 - CODING_MODE_5_1_4: 5.1.4 immersive - maps to DLB_PAEC_AC4_BED_CHANNEL_CONFIG_514

dynamic_range_compression_flat_panel_tv instance-attribute

dynamic_range_compression_flat_panel_tv: NotRequired[
    Ac4DynamicRangeCompressionDrcProfile
]

Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification.

dynamic_range_compression_home_theater instance-attribute

dynamic_range_compression_home_theater: NotRequired[
    Ac4DynamicRangeCompressionDrcProfile
]

Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification.

dynamic_range_compression_portable_headphones instance-attribute

dynamic_range_compression_portable_headphones: NotRequired[
    Ac4DynamicRangeCompressionDrcProfile
]

Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification.

dynamic_range_compression_portable_speakers instance-attribute

dynamic_range_compression_portable_speakers: NotRequired[
    Ac4DynamicRangeCompressionDrcProfile
]

Choose the Dolby AC-4 dynamic range control (DRC) profile that MediaConvert uses when encoding the metadata in the Dolby AC-4 stream for the specified decoder mode. For information about the Dolby AC-4 DRC profiles, see the Dolby AC-4 specification.

lo_ro_center_mix_level instance-attribute

lo_ro_center_mix_level: NotRequired[__doubleMinNegative1000Max3]

Specify a value for the following Dolby AC-4 setting: Left only/Right only center mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left only/Right only center.

lo_ro_surround_mix_level instance-attribute

lo_ro_surround_mix_level: NotRequired[__doubleMinNegative1000MaxNegative1]

Specify a value for the following Dolby AC-4 setting: Left only/Right only surround mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left only/Right only surround.

lt_rt_center_mix_level instance-attribute

lt_rt_center_mix_level: NotRequired[__doubleMinNegative1000Max3]

Specify a value for the following Dolby AC-4 setting: Left total/Right total center mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left total/Right total center.

lt_rt_surround_mix_level instance-attribute

lt_rt_surround_mix_level: NotRequired[__doubleMinNegative1000MaxNegative1]

Specify a value for the following Dolby AC-4 setting: Left total/Right total surround mix. MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix. Valid values: -1.5, -3.0, -4.5, -6.0, and -infinity. The value -infinity mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs for the setting Coding mode. If you choose a different value for Coding mode, the service ignores Left total/Right total surround.

sample_rate instance-attribute

sample_rate: NotRequired[__integerMin48000Max48000]

This value is always 48000. It represents the sample rate in Hz.

stereo_downmix instance-attribute

stereo_downmix: NotRequired[Ac4StereoDownmix]

Choose the preferred stereo downmix method. This setting tells the decoder how to downmix multi-channel audio to stereo during playback.