26 breaking releases

0.29.0 Apr 4, 2025
0.28.0 Oct 10, 2024
0.27.0 Jun 14, 2024
0.26.1 Jan 11, 2024
0.3.0 Jul 20, 2017

#75 in Video

Download history 292/week @ 2024-12-22 123/week @ 2024-12-29 361/week @ 2025-01-05 368/week @ 2025-01-12 468/week @ 2025-01-19 317/week @ 2025-01-26 524/week @ 2025-02-02 277/week @ 2025-02-09 261/week @ 2025-02-16 323/week @ 2025-02-23 311/week @ 2025-03-02 169/week @ 2025-03-09 323/week @ 2025-03-16 284/week @ 2025-03-23 224/week @ 2025-03-30 104/week @ 2025-04-06

951 downloads per month
Used in 6 crates (4 directly)

MIT/Apache

80KB
2K SLoC

A library for Matroska file metadata parsing functionality

Implemented as a set of nested structs with public values which one can use directly.

Example 1

let matroska = matroska::open("file.mkv").unwrap();
println!("title : {:?}", matroska.info.title);

Example 2

use matroska::Info;
if let Ok(Some(Info { duration, ..})) = matroska::get_from::<_, Info>("file.mkv") {
    println!("duration : {:?}", duration);
}

For additional information about the Matroska format, see the official specification


matroska

A Rust library for reading metadata from Matroska files (.mkv, .webm, etc.).

This library supports much of the same metadata reported by mkvinfo such as the file's title, duration, track information, attachments, and so on.

Dependencies

~1–3MB
~54K SLoC