Skip to main content

Crate oxideav_mp4

Crate oxideav_mp4 

Source
Expand description

Pure-Rust MP4 / ISO Base Media File Format container.

Scope: demuxer for probe + remux of audio and video tracks, plus a moov-at-end muxer with optional faststart (moov-at-front) rewrite. Three brand presets are registered: mp4, mov, and ismv — all share one implementation and only differ in their ftyp preset.

Re-exports§

pub use options::BrandPreset;
pub use options::FragmentCadence;
pub use options::FragmentedOptions;
pub use options::Mp4MuxerOptions;

Modules§

boxes
ISO Base Media File Format box header reader (ISO/IEC 14496-12).
cenc
Common Encryption (CENC) metadata parsers — ISO/IEC 23001-7:2016.
cenc_cipher
CENC AES-128 CTR / CBC cipher driver — ISO/IEC 23001-7:2016 §9.
codec_id
Map between MP4 sample-entry FourCCs and oxideav codec IDs.
demux
MP4 / ISOBMFF demuxer.
frag
Fragmented-MP4 muxer (DASH / HLS / Smooth-Streaming / CMAF output).
muxer
MP4 / ISOBMFF muxer — moov-at-end (“shape A”) with optional faststart.
options
Muxer configuration for the MP4 / ISOBMFF writer.
sample_groups
Sample group muxing — write side of sbgp (SampleToGroupBox, ISO/IEC 14496-12 §8.9.2) and sgpd (SampleGroupDescriptionBox, §8.9.3).
styp
DASH/CMAF Segment Type Box (styp) — write side.

Functions§

register
Install the MP4 / MOV / ISMV / DASH / CMAF containers into a oxideav_core::RuntimeContext.
register_containers