mirror of
https://github.com/alfg/mp4-rust.git
synced 2024-12-22 12:06:33 +00:00
🎥 MP4 reader and writer library in Rust! 🦀
958304a9b2
* Make the example tolerant of videos missing parts Some videos are missing certain parts that the example was assuming would be present. This change makes all such access conditional on the parts being present. Also added the display of the box version and the creation time in a human-readable format. This serves to demonstrate the logic for converting the MP4 epoch (1904-01-01) to Unix epoch (1970-01-01). * Show creation time as Unix time only |
||
---|---|---|
examples | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
mp4rs
MP4 Reader in Rust
ISO/IEC 14496-12 - ISO Base Media File Format (QuickTime, MPEG-4, etc)
Development
Requirements
Build
cargo build
Run Examples
mp4info
cargo run --example mp4info <movie.mp4>
Resources
Thanks to the following resources used when learning Rust:
- https://github.com/mozilla/mp4parse-rust
- https://github.com/pcwalton/rust-media
- https://github.com/alfg/mp4
License
MIT