7 unstable releases

0.6.2 Aug 31, 2022
0.6.1 Jul 10, 2022
0.6.0 Oct 11, 2021
0.5.0 Jun 7, 2021
0.3.0 Jun 9, 2019

#300 in Video

Download history 1/week @ 2024-02-12 10/week @ 2024-02-19 28/week @ 2024-02-26 14/week @ 2024-03-04 15/week @ 2024-03-11 23/week @ 2024-03-18 40/week @ 2024-04-01

81 downloads per month
Used in 2 crates

MIT license

12KB
260 lines

vpx-encode

Rust interface to libvpx encoder

This crate provides a Rust API to use libvpx for encoding images.

It it based entirely on code from srs. Compared to the original srs, this code has been simplified for use as a library and updated to add support for both the VP8 codec and (optionally) the VP9 codec.

Optional features

Compile with the cargo feature vp9 to enable support for the VP9 codec.

Example

An example of using vpx-encode can be found in the record-screen program. The source code of record screen is here.

Contributing

All contributions are appreciated.

License: MIT


lib.rs:

Rust interface to libvpx encoder

This crate provides a Rust API to use libvpx for encoding images.

It it based entirely on code from srs. Compared to the original srs, this code has been simplified for use as a library and updated to add support for both the VP8 codec and (optionally) the VP9 codec.

Optional features

Compile with the cargo feature vp9 to enable support for the VP9 codec.

Example

An example of using vpx-encode can be found in the record-screen program. The source code for record-screen is in the vpx-encode git repository.

Contributing

All contributions are appreciated.

Dependencies

~0.8–1.4MB
~33K SLoC