Skip to main content

Crate containr

Crate containr 

Source
Expand description

Media containers: boxes, EBML elements, sample tables, packets with timestamps, track metadata and raw edit lists.

Each container is a Cargo feature. mp4 reads and writes MP4 and QuickTime MOV. mkv reads and writes Matroska and WebM.

Re-exports§

pub use colour::ContainerColour;
pub use edit::EditEntry;
pub use edit::EditList;
pub use error::Container;
pub use error::Error;
pub use error::Result;
pub use metadata::Chapter;
pub use metadata::ChapterSource;
pub use metadata::MetadataData;
pub use metadata::MetadataItem;
pub use metadata::MetadataKey;
pub use metadata::MetadataScope;
pub use metadata::TagScope;
pub use metadata::TagTarget;
pub use packet::Lace;
pub use packet::Packet;
pub use track::AudioInfo;
pub use track::CodecConfig;
pub use track::FourCc;
pub use track::Language;
pub use track::PixelAspect;
pub use track::SampleEntry;
pub use track::Timebase;
pub use track::Track;
pub use track::TrackKind;
pub use track::TrackReference;
pub use track::VideoInfo;

Modules§

colour
Colour tags a container carries next to the bitstream.
edit
Raw edit lists.
error
Crate error type.
matroska
Matroska track facts with no MP4 counterpart.
metadata
Container metadata and chapters.
packet
Packets: one coded frame with its timestamps and position.
track
Track facts: kind, codec, timing, geometry and audio layout.