Skip to main content

Crate zvidlib_container

Crate zvidlib_container 

Source
Expand description

zvidlib’s containers: MP4 and WebM muxing and demuxing, container probing, codec string derivation from codec configuration records, and the decoder and encoder conformance harness built on them.

This is an internal crate of zvidlib, which re-exports its public items under the paths documented there. Depend on zvidlib rather than on this crate directly.

Re-exports§

pub use codec_config::DerivedCodecString;
pub use codec_config::derive_codec_string;
pub use conformance::ExpectedVideoFrame;
pub use conformance::FrameDigest;
pub use conformance::VideoDecoderConformanceReport;
pub use conformance::VideoDecoderConformanceVector;
pub use conformance::VideoEncoderConformanceReport;
pub use conformance::VideoEncoderConformanceVector;
pub use conformance::verify_video_decoder_conformance;
pub use conformance::verify_video_encoder_conformance;
pub use container::container_capabilities;
pub use container::probe_container;
pub use cover::COVER_THUMBNAIL_MAX_EDGE;
pub use cover::CoverSource;
pub use cover::DEFAULT_COVER_FRAME;
pub use mp4::CoverArt;
pub use mp4::CoverArtFormat;
pub use mp4_demux::AacTrackConfig;
pub use mp4_demux::EditMapping;
pub use mp4_demux::Mp4Demuxer;
pub use mp4_demux::Mp4DemuxerOptions;
pub use mp4_demux::Mp4Sample;
pub use mp4_demux::Mp4Track;
pub use mp4_demux::probe_mp4;
pub use webm::WebmMuxer;
pub use webm_demux::WebmAudioTrim;
pub use webm_demux::WebmCuePoint;
pub use webm_demux::WebmDemuxer;
pub use webm_demux::WebmDemuxerOptions;
pub use webm_demux::WebmSeekPoint;
pub use webm_demux::WebmSkippedTrack;
pub use webm_demux::probe_webm;

Modules§

codec_config
Portable derivation of WebCodecs codec strings and CodecProfile values from raw MP4 hvcC/av1C/vpcC codec configuration boxes and for VP8, which has none, and the VP9 codec configuration record (Vp9CodecConfig).
conformance
Backend-independent video codec conformance helpers.
container
Container detection and capability discovery across MP4 and WebM.
cover
Cover art generated from a recorded video frame (issue #510).
mp4
Deterministic seekable ISO BMFF/MP4 muxing.
mp4_demux
Bounded, read-only ISO BMFF/MP4 probing and sample indexing.
webm
Deterministic seekable WebM muxing.
webm_demux
Bounded, read-only WebM (Matroska/EBML) probing and sample indexing.