Skip to main content

Crate oxideav_container

Crate oxideav_container 

Source
Expand description

Container traits (demuxer + muxer) and a registry.

This crate is deliberately dependency-light: it defines the abstract Demuxer / Muxer traits that every container implementation (oxideav-mp4, oxideav-mkv, oxideav-flac, oxideav-ogg, …) fulfils, plus a registry::ContainerRegistry that the consumers of the framework use to pick a demuxer by probe bytes or filename hint.

Re-exports§

pub use registry::ContainerRegistry;

Modules§

registry
Container registry.

Structs§

ProbeData
Information passed to a content-based ProbeFn.

Constants§

MAX_PROBE_SCORE
Maximum probe score (alias for 100).
PROBE_SCORE_EXTENSION
Default score returned when only the file extension matches.

Traits§

Demuxer
Reads a container and emits packets per stream.
Muxer
Writes packets into a container.
ReadSeek
Convenience trait bundle for seekable readers.
WriteSeek
Convenience trait bundle for seekable writers.

Type Aliases§

OpenDemuxerFn
Factory that tries to open a stream as a particular container format.
OpenMuxerFn
Factory that creates a muxer for a set of streams.
ProbeFn
Content-based format detection function.
ProbeScore
Confidence score returned by a ProbeFn. 0 means no match. Higher means more certain. Conventional values: