#ogg #decoder #encoder #xiph

ogg

Ogg container decoder and encoder written in pure Rust

11 unstable releases

0.6.0 Aug 16, 2018
0.5.1 Sep 3, 2017
0.5.0 May 30, 2017
0.4.1 Jan 6, 2017
0.3.0 Jul 30, 2016

#1 in Multimedia

Download history 1025/week @ 2018-05-26 1591/week @ 2018-06-02 2024/week @ 2018-06-09 1484/week @ 2018-06-16 1006/week @ 2018-06-23 1205/week @ 2018-06-30 1284/week @ 2018-07-07 1408/week @ 2018-07-14 1164/week @ 2018-07-21 946/week @ 2018-07-28 1328/week @ 2018-08-04 1409/week @ 2018-08-11 1309/week @ 2018-08-18

5,727 downloads per month
Used in 13 crates (3 directly)

BSD-3-Clause

70KB
1.5K SLoC

Ogg

An Ogg decoder and encoder. Implements the xiph.org Ogg spec in pure Rust.

Documentation.

If the async feature is disabled, Version 1.12.0 of Rust is the minimum supported one.

Note: .ogg files are vorbis encoded audio files embedded into an Ogg transport stream. There is no extra support for vorbis codec decoding or encoding in this crate, so you need additional functionality in order to decode them. For example, you can use the lewton crate.

Also note that the encoder part of the Crate isn't as well tested as the decoder part, in fact it was only written in order to write compact testing code for the decoder.

License

Licensed under the three clause BSD license. For details, see the LICENSE file.


lib.rs:

Ogg container decoder and encoder

The most interesting structures for in this mod are PacketReader and PacketWriter.

Dependencies

~413KB