Skip to content

Mp3Settings

Source code in docs_src/capo_mediaconvert/types/mp3_settings.py
class Mp3Settings(TypedDict, closed=True):
    bitrate: NotRequired[
        "capo_mediaconvert.types.__integer_min16000_max320000.__integerMin16000Max320000"
    ]
    """Specify the average bitrate in bits per second."""
    channels: NotRequired[
        "capo_mediaconvert.types.__integer_min0_max2.__integerMin0Max2"
    ]
    """Specify the number of channels in this output audio track. Choosing Follow input will use the number of channels found in the audio source; choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 0, 1, and 2."""
    rate_control_mode: NotRequired[
        "capo_mediaconvert.types.mp3_rate_control_mode.Mp3RateControlMode"
    ]
    """Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR)."""
    sample_rate: NotRequired[
        "capo_mediaconvert.types.__integer_min22050_max48000.__integerMin22050Max48000"
    ]
    """Sample rate in Hz."""
    vbr_quality: NotRequired[
        "capo_mediaconvert.types.__integer_min0_max9.__integerMin0Max9"
    ]
    """Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality)."""

bitrate instance-attribute

bitrate: NotRequired[__integerMin16000Max320000]

Specify the average bitrate in bits per second.

channels instance-attribute

channels: NotRequired[__integerMin0Max2]

Specify the number of channels in this output audio track. Choosing Follow input will use the number of channels found in the audio source; choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 0, 1, and 2.

rate_control_mode instance-attribute

rate_control_mode: NotRequired[Mp3RateControlMode]

Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).

sample_rate instance-attribute

sample_rate: NotRequired[__integerMin22050Max48000]

Sample rate in Hz.

vbr_quality instance-attribute

vbr_quality: NotRequired[__integerMin0Max9]

Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).