[BREAKGLASS] A Rust MP4 format sanitizer
This dumps every sample in the first track to a file, assuming
(without checking) that that track is an H.264 video track with one
NAL unit per sample. This can be compared against the output from
ffmpeg -i input.mp4 -vcodec copy output.h264
It *will* have differences because it doesn't include the
configuration info ("SPS" and "PPS"), but it should be clear that
those are the only differences.
|
||
|---|---|---|
| .github/workflows | ||
| cli | ||
| common | ||
| common-test | ||
| mp4san | ||
| mp4san-derive | ||
| mp4san-dump | ||
| mp4san-test | ||
| mp4san-test-gen | ||
| test-data@b9f4d3f327 | ||
| webpsan | ||
| webpsan-test | ||
| .gitignore | ||
| .gitmodules | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rustfmt.toml | ||
mediasan 
A collection of Rust media file format "sanitizers".
The sanitizers can be used to verify the validity of media files before presenting them, so that passing malformed files to an unsafe parser can be avoided.
Supported Formats
| Format | Crate | |
|---|---|---|
| MP4 | mp4san |
|
| WebP | webpsan |
Contributing Bug Reports
GitHub is the project's bug tracker. Please search for similar existing issues before submitting a new one.
OSS-Fuzz
Continuous fuzz testing is also provided by OSS-Fuzz.
Build Status
Code Coverage
Bugs Found
License
Licensed under MIT.