End-to-end packaging pipeline for the sheathe packager.
[package] takes one or more input media files (MP4, MPEG-TS, WebM/Matroska,
raw elementary streams, WebVTT/TTML) and writes CMAF init + media segments plus
DASH and/or HLS manifests into an output directory — the library form of the
sheathe package CLI command.
Multiple inputs form an ABR ladder by default (each input's track(s) become
separate renditions sharing one period). With [PackageOptions::multi_period]
each input becomes a successive DASH Period instead.
Phase 4 (live & advanced manifests) is controlled via
[PresentationMode], live window size, trick-play, low-latency parts, and
SCTE-35 markers.
Phase 5 adds on-demand single-file DASH, packed-audio / MPEG-TS HLS, IO backends, JIT origin, and multi-track parallelism.