Skip to content

Container

Source code in docs_src/capo_mediaconvert/types/container.py
class Container(TypedDict, closed=True):
    bit_rate: NotRequired["capo_mediaconvert.types.__long.__long"]
    """The overall bit rate of your media file, in bits per second. This is derived from the file size and duration as (file size in bytes * 8) / duration in seconds."""
    duration: NotRequired["capo_mediaconvert.types.__double.__double"]
    """The total duration of your media file, in seconds."""
    format: NotRequired["capo_mediaconvert.types.format.Format"]
    """The format of your media file. For example: MP4, QuickTime (MOV), Matroska (MKV), WebM, MXF, Wave, AVI, MPEG-TS, MPEG-PS, MP3, FLAC, ASF (Windows Media / WMA), OGG, 3GP, 3G2, AAC (raw ADTS), AC-3, or Enhanced AC-3 (E-AC-3). Note that this will be blank if your media file has a format that the MediaConvert Probe operation does not recognize."""
    start_timecode: NotRequired["capo_mediaconvert.types.__string.__string"]
    """The start timecode of the media file, in HH:MM:SS:FF format (or HH:MM:SS;FF for drop frame timecode). Note that this field is null when the container does not include an embedded start timecode."""
    tracks: NotRequired["capo_mediaconvert.types.__list_of_track.__listOfTrack"]
    """Details about each track (video, audio, or data) in the media file."""

bit_rate instance-attribute

bit_rate: NotRequired[__long]

The overall bit rate of your media file, in bits per second. This is derived from the file size and duration as (file size in bytes * 8) / duration in seconds.

duration instance-attribute

duration: NotRequired[__double]

The total duration of your media file, in seconds.

format instance-attribute

format: NotRequired[Format]

The format of your media file. For example: MP4, QuickTime (MOV), Matroska (MKV), WebM, MXF, Wave, AVI, MPEG-TS, MPEG-PS, MP3, FLAC, ASF (Windows Media / WMA), OGG, 3GP, 3G2, AAC (raw ADTS), AC-3, or Enhanced AC-3 (E-AC-3). Note that this will be blank if your media file has a format that the MediaConvert Probe operation does not recognize.

start_timecode instance-attribute

start_timecode: NotRequired[__string]

The start timecode of the media file, in HH:MM:SS:FF format (or HH:MM:SS;FF for drop frame timecode). Note that this field is null when the container does not include an embedded start timecode.

tracks instance-attribute

tracks: NotRequired[__listOfTrack]

Details about each track (video, audio, or data) in the media file.