3 releases

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

#994 in Audio

Download history 266/week @ 2024-10-18 201/week @ 2024-10-25 325/week @ 2024-11-01 192/week @ 2024-11-08 317/week @ 2024-11-15 274/week @ 2024-11-22 375/week @ 2024-11-29 351/week @ 2024-12-06 304/week @ 2024-12-13 152/week @ 2024-12-20 233/week @ 2024-12-27 295/week @ 2025-01-03 268/week @ 2025-01-10 347/week @ 2025-01-17 407/week @ 2025-01-24 400/week @ 2025-01-31

1,461 downloads per month
Used in 14 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