Skip to content

AudioProperties

Source code in docs_src/capo_mediaconvert/types/audio_properties.py
class AudioProperties(TypedDict, closed=True):
    bit_depth: NotRequired["capo_mediaconvert.types.__integer.__integer"]
    """The bit depth of the audio track. This value is exact for PCM and FLAC audio. For lossy codecs, such as AAC, AC-3, and E-AC-3, it is a nominal value and should be treated as approximate."""
    bit_rate: NotRequired["capo_mediaconvert.types.__long.__long"]
    """The bit rate of the audio track, in bits per second."""
    channel_layout: NotRequired["capo_mediaconvert.types.__string.__string"]
    """The audio channel layout of the track, such as "mono", "stereo", "5.1", or "7.1". Object-based or immersive audio is reported as "5.1.4" or "7.1.4". The layout is exact for AC-3 and E-AC-3 audio. For other codecs, it is inferred from the channel count and should be treated as approximate."""
    channels: NotRequired["capo_mediaconvert.types.__integer.__integer"]
    """The number of audio channels in the audio track."""
    frame_rate: NotRequired["capo_mediaconvert.types.frame_rate.FrameRate"]
    """The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values."""
    language_code: NotRequired["capo_mediaconvert.types.__string.__string"]
    """The language code of the audio track, in three character ISO 639-3 format."""
    object_count: NotRequired["capo_mediaconvert.types.__integer.__integer"]
    """The number of audio objects in an object-based or immersive audio track. This field is present for codecs that support object-based audio, such as E-AC-3 with Joint Object Coding (JOC) or IAMF. This field is null when the audio track does not contain object-based audio metadata."""
    sample_rate: NotRequired["capo_mediaconvert.types.__integer.__integer"]
    """The sample rate of the audio track."""

bit_depth instance-attribute

bit_depth: NotRequired[__integer]

The bit depth of the audio track. This value is exact for PCM and FLAC audio. For lossy codecs, such as AAC, AC-3, and E-AC-3, it is a nominal value and should be treated as approximate.

bit_rate instance-attribute

bit_rate: NotRequired[__long]

The bit rate of the audio track, in bits per second.

channel_layout instance-attribute

channel_layout: NotRequired[__string]

The audio channel layout of the track, such as "mono", "stereo", "5.1", or "7.1". Object-based or immersive audio is reported as "5.1.4" or "7.1.4". The layout is exact for AC-3 and E-AC-3 audio. For other codecs, it is inferred from the channel count and should be treated as approximate.

channels instance-attribute

channels: NotRequired[__integer]

The number of audio channels in the audio track.

frame_rate instance-attribute

frame_rate: NotRequired[FrameRate]

The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.

language_code instance-attribute

language_code: NotRequired[__string]

The language code of the audio track, in three character ISO 639-3 format.

object_count instance-attribute

object_count: NotRequired[__integer]

The number of audio objects in an object-based or immersive audio track. This field is present for codecs that support object-based audio, such as E-AC-3 with Joint Object Coding (JOC) or IAMF. This field is null when the audio track does not contain object-based audio metadata.

sample_rate instance-attribute

sample_rate: NotRequired[__integer]

The sample rate of the audio track.