Crate matroska

source ·
Expand description

A library for Matroska file metadata parsing functionality

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

Example

use std::fs::File;
use matroska::Matroska;
let f = File::open("filename.mkv").unwrap();
let matroska = Matroska::open(f).unwrap();
println!("title : {:?}", matroska.info.title);

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

Structs

  • An attached file (often used for cover art)
  • An audio track’s specifications
  • An individual chapter point
  • The display string for a chapter point entry
  • A complete set of chapters
  • An Info segment with information pertaining to the entire file
  • A Matroska file
  • General information about the target
  • An attached tag
  • Which elements the metadata’s tag applies to
  • A TrackEntry segment in the Tracks segment container
  • A video track’s specifications

Enums

Traits

  • An element which can be parsed from the Matroska stream

Functions

  • Returns a single item from the Matroska file such as Info