sheathe 0.6.1

Pure-Rust HLS/DASH/CMAF media packager — facade crate re-exporting the sheathe library crates
Documentation

sheathe

Facade crate for the sheathe workspace. It re-exports the packaging pipeline and each format crate so you can depend on a single sheathe crate instead of a dozen sheathe-* crates.

The command-line tool lives in the separate sheathe-cli crate, which installs a sheathe binary:

cargo install sheathe-cli

See the project README for commands, recipes, and oracle status.

Install

[dependencies]
sheathe = "0.6"

Or via Cargo:

cargo add sheathe

Quick start

use sheathe::{package, PackageOptions};
use std::path::PathBuf;

let opts = PackageOptions {
    out_dir: PathBuf::from("out"),
    dash: true,
    hls: true,
    segment_duration: 6.0,
    ..Default::default()
};
let output = package(&[PathBuf::from("movie.mp4")], &opts).unwrap();

Lower-level crates are re-exported as modules (sheathe::mp4, sheathe::dash, sheathe::hls, …) — see the crate docs.

License

MIT OR Apache-2.0.