30 releases

0.11.4 Apr 28, 2020
0.11.2 Dec 10, 2018
0.10.1 Mar 23, 2018
0.9.1 Nov 27, 2017
0.0.9 Jul 1, 2015

#4 in Video

Download history 122/week @ 2020-01-25 62/week @ 2020-02-01 83/week @ 2020-02-08 22/week @ 2020-02-15 199/week @ 2020-02-22 29/week @ 2020-02-29 197/week @ 2020-03-07 139/week @ 2020-03-14 195/week @ 2020-03-21 99/week @ 2020-03-28 159/week @ 2020-04-04 230/week @ 2020-04-11 43/week @ 2020-04-18 234/week @ 2020-04-25 577/week @ 2020-05-02 203/week @ 2020-05-09

533 downloads per month
Used in less than 6 crates

MPL-2.0 license

190KB
4.5K SLoC

This is an mp4 track metadata parser.

Latest crate version Travis build status

Our primary interest is writing a pure-rust replacement for the track metadata parser needed by Firefox.

API documentation

Project structure

mp4parse is a parser for ISO base media file format (mp4) written in rust.

mp4parse-capi is a C API that exposes the functionality of mp4parse. The C API is intended to wrap the rust parser. As such, features should primarily be implemented in the rust parser and exposed via the C API, rather than the C API implementing features on its own.

Tests

Test coverage comes from several sources:

  • Conventional tests exist in mp4parse/src/lib.rs and mp4parse_capi/src/lib.rs as well as under mp4parse/tests and mp4parse_capi/tests. These tests can be run via cargo test.
  • Examples are included under mp4parse_capi/examples. These programs should continue to build and run after changes are made. Note, these programs are not typically run by cargo test, so manual verification is required.

Dependencies

~775KB
~13K SLoC