Skip to content
项目

关于

使用 Rust 编写的 ISO 基础媒体文件格式解析器,该格式也称为 video/mp4。

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

This is an mp4 track metadata parser.

Latest crate version 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.

Versioning

The master branch represents the last version released to crates.io plus any development since that release. Firefox will ship specific git revisions from the master branch (refer to the mp4parse_capi dependency listed in toolkit/library/rust/shared/Cargo.toml for the currently shipping revision). When sufficient changes to merit a new crates.io release have occurred, the version in Cargo.toml will be bumped and tagged, and the new version published to crates.io.

探索相关项目

加载中…