Skip to content

OpusSettings

Source code in docs_src/capo_mediaconvert/types/opus_settings.py
class OpusSettings(TypedDict, closed=True):
    bitrate: NotRequired[
        "capo_mediaconvert.types.__integer_min32000_max192000.__integerMin32000Max192000"
    ]
    """Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth."""
    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."""
    sample_rate: NotRequired[
        "capo_mediaconvert.types.__integer_min16000_max48000.__integerMin16000Max48000"
    ]
    """Optional. Sample rate in Hz. Valid values are 16000, 24000, and 48000. The default value is 48000."""

bitrate instance-attribute

bitrate: NotRequired[__integerMin32000Max192000]

Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth.

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.

sample_rate instance-attribute

sample_rate: NotRequired[__integerMin16000Max48000]

Optional. Sample rate in Hz. Valid values are 16000, 24000, and 48000. The default value is 48000.