alfg / mp4-rust

MP4 reader + writer library in Rust! 🎥🦀
https://crates.io/crates/mp4
MIT License
278 stars 75 forks source link

Add boxes needed for common encryption #120

Open jensenn opened 12 months ago

jensenn commented 12 months ago

This supports boxes needed for reading and writing mp4 files with common encryption.

My only concern is that some boxes are getting a lot of children boxes, for example, the stsd box. Especially where many are optional. This PR doesn't do anything to tackle that problem, but should be considered for the future.