3 releases

0.1.2 Aug 6, 2020
0.1.1 Aug 5, 2020
0.1.0 Aug 5, 2020

#575 in Audio

Download history 231/week @ 2023-11-29 276/week @ 2023-12-06 298/week @ 2023-12-13 286/week @ 2023-12-20 249/week @ 2023-12-27 171/week @ 2024-01-03 231/week @ 2024-01-10 226/week @ 2024-01-17 162/week @ 2024-01-24 247/week @ 2024-01-31 212/week @ 2024-02-07 175/week @ 2024-02-14 163/week @ 2024-02-21 320/week @ 2024-02-28 171/week @ 2024-03-06 232/week @ 2024-03-13

911 downloads per month
Used in 7 crates (2 directly)

MIT/Apache

17KB
361 lines

Opus Header Parsing Library

Parsing of Opus Headers according to the specification.

Usage

use std::path::Path;
use opus_headers::parse_from_path; // or parse_from_read or parse_from_file

fn main() {
    let path = Path::new("/mnt/RamDisk/silence.opus");
    let headers = parse_from_path(path).unwrap();

    let comments = headers.comments.user_comments;
    for (tag, value) in &comments {
        println!("{}: {}", tag, value);
    }
}

License

As most Rust source, this is library is dual licensed under the Apache 2.0 and MIT license.

No runtime deps