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

#262 in Video

22 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.7–1.3MB
~32K SLoC