4 releases (2 breaking)

0.3.0 Nov 13, 2024
0.2.1 Nov 12, 2024
0.2.0 Nov 11, 2024
0.1.0 Oct 14, 2024

#81 in Video

Download history 944/week @ 2024-10-09 3226/week @ 2024-10-16 763/week @ 2024-10-23 1487/week @ 2024-10-30 1279/week @ 2024-11-06 4190/week @ 2024-11-13 3282/week @ 2024-11-20 4640/week @ 2024-11-27 6918/week @ 2024-12-04 5799/week @ 2024-12-11 4067/week @ 2024-12-18 1678/week @ 2024-12-25 3947/week @ 2025-01-01 6195/week @ 2025-01-08 5135/week @ 2025-01-15 4327/week @ 2025-01-22

19,800 downloads per month
Used in 45 crates (via re_video)

MIT license

240KB
6.5K SLoC

MP4 parser

re_mp4 is a Rust library for parsing the .mp4 video container.

(NOTE: re_mp4 does NOT decode the video).

Originally a fork of the mp4 crate. Some code was ported from mp4box.js.

The goal behind forking was to make this library suitable for use with the WebCodecs API to build Rust-based video players for the web.

License

MIT


lib.rs:

mp4 is a Rust library to read and write ISO-MP4 files.

This package contains MPEG-4 specifications defined in parts: * ISO/IEC 14496-12 - ISO Base Media File Format (QuickTime, MPEG-4, etc) * ISO/IEC 14496-14 - MP4 file format * ISO/IEC 14496-17 - Streaming text format

Dependencies

~1.4–2.5MB
~52K SLoC