Expand description
Tracks: what a container says about each stream.
Codec identity (CodecId) is separate from the container: AV1 lives
in IVF, WebM, MP4 and AVIF alike, and each container crate keeps its own
mapping from fourccs and codec ids to CodecId. TrackInfo has
private fields and a validating builder so new fields can be added
without breaking anyone.
Structs§
- Audio
Track Info - What a container declares about an audio track.
- Channel
Layout - Audio channels: a count, and the layout when the container gives one.
- Codec
Tag - A codec identifier read from a file that no
CodecIdvariant names: a fourcc, a MatroskaCodecIDstring. Owned, so it can hold whatever the file says. - Track
Info - One track of a container: its codec, clock, configuration and what the
container declares about it. Built with
TrackInfo::video,TrackInfo::audioorTrackInfo::other. - Track
Info Builder - Builds a
TrackInfo;buildvalidates it. - Video
Track Info - What a container declares about a video track.
Enums§
- CodecId
- A codec, independent of the container that carries it.
- Track
Error - An invalid track description.
- Track
Kind - What a track carries.