6 releases (breaking)

0.5.0 May 4, 2026
0.4.0 Sep 16, 2025
0.3.0 Nov 13, 2024
0.2.1 Nov 12, 2024
0.1.0 Oct 14, 2024

#50 in Video

Download history 32196/week @ 2026-01-23 31454/week @ 2026-01-30 30957/week @ 2026-02-06 22866/week @ 2026-02-13 25332/week @ 2026-02-20 29253/week @ 2026-02-27 33908/week @ 2026-03-06 30643/week @ 2026-03-13 28583/week @ 2026-03-20 40972/week @ 2026-03-27 27627/week @ 2026-04-03 31009/week @ 2026-04-10 26254/week @ 2026-04-17 29673/week @ 2026-04-24 25095/week @ 2026-05-01 23014/week @ 2026-05-08

110,461 downloads per month
Used in 101 crates (3 directly)

MIT license

245KB
6.5K SLoC

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

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

Dependencies

~1.1–2.2MB
~45K SLoC