Container enum

Container / file-format identifiers for muxing & demuxing.

Inheritance
Available extensions

Values

mp4 → const Container

ISO/IEC 14496-14 — .mp4. Most universal.

fmp4 → const Container

Fragmented MP4 — for streaming / DASH / HLS-fMP4.

mkv → const Container

Matroska — .mkv.

webm → const Container

WebM — Matroska subset for VP8/9/AV1 + Opus/Vorbis.

mpegts → const Container

MPEG-TS — .ts. Used by HLS.

raw → const Container

Raw codec bitstream — no container, just packets concatenated. Useful for intermediate piping or Annex-B H.264 streams.

ogg → const Container

Ogg — .ogg / .opus.

wav → const Container

WAV — uncompressed audio container.

m4a → const Container

MPEG-4 Audio — .m4a. AAC (or ALAC) in an MPEG-4 container without a video track. Ideal for audio-only AAC recordings.

mp3 → const Container

MPEG Audio Layer III — .mp3. Audio-only MP3 container.

adts → const Container

ADTS (Audio Data Transport Stream) — .aac, per ISO/IEC 13818-7. A raw AAC bitstream where every frame carries a self-describing 7/9-byte header (profile, sample-rate index, channel config, frame length). Used for live AAC and HLS audio segments.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<Container>
A constant List of the values in this enum, in order of their declaration.