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

#79 in Video

Download history 1092/week @ 2024-10-27 1360/week @ 2024-11-03 3069/week @ 2024-11-10 3632/week @ 2024-11-17 3862/week @ 2024-11-24 5688/week @ 2024-12-01 6371/week @ 2024-12-08 5807/week @ 2024-12-15 2150/week @ 2024-12-22 2603/week @ 2024-12-29 5380/week @ 2025-01-05 6160/week @ 2025-01-12 4877/week @ 2025-01-19 5550/week @ 2025-01-26 6408/week @ 2025-02-02 4057/week @ 2025-02-09

21,024 downloads per month
Used in 46 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
~51K SLoC