3 releases

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

#885 in Audio

Download history 237/week @ 2024-07-24 229/week @ 2024-07-31 315/week @ 2024-08-07 334/week @ 2024-08-14 394/week @ 2024-08-21 461/week @ 2024-08-28 327/week @ 2024-09-04 339/week @ 2024-09-11 458/week @ 2024-09-18 538/week @ 2024-09-25 394/week @ 2024-10-02 244/week @ 2024-10-09 245/week @ 2024-10-16 218/week @ 2024-10-23 275/week @ 2024-10-30 206/week @ 2024-11-06

963 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