Rust 中的 MP4 读取器 + 编写器库!
MP4 Reader and Writer in Rust
mp4 is a Rust library to read and write ISO-MP4 files. This package contains MPEG-4 specifications defined in parts:
…See examples/ for more examples.
cargo add mp4or add to your Cargo.toml:
mp4 = "0.14.0"cargo buildcargo clippy --fix
cargo fmt --allmp4infocargo run --example mp4info mp4dumpcargo run --example mp4dump cargo testWith print statement output.
cargo test -- --nocaptureRun fmt to catch formatting errors.
rustup component add rustfmt
cargo fmt --all -- --checkRun Clippy tests to catch common lints and mistakes.
rustup component add clippy
cargo clippy --no-deps -- -D warningscargo benchView HTML report at target/criterion/report/index.html
cargo docsView at target/doc/mp4/index.html
See the mp4-inspector project as a reference for using this library in Javascript via Web Assembly.
MIT
暂无开放 Issues,或尚未同步最近议题。