3 unstable releases
| 0.2.1 | Sep 20, 2025 |
|---|---|
| 0.2.0 | Sep 18, 2025 |
| 0.1.0 | Sep 16, 2025 |
#236 in Video
160KB
2K
SLoC
This crate provides a Rusty interface to Google's libvpx library for handling VP8 and VP9 video streams. The low-level bindings to libvpx are provided by the env-libvpx-sys crate, which this crate then wraps in Rust types, hopefully making the experience a bit neater and less error-prone.
While an effort was made to hopefully cover most usecases of libvpx, this crate doesn't cover all of libvpx's API, as some of it is rather esoteric and difficult to make feel natural and safe to use in Rust. If you find a particular set of features of libvpx's API is missing, please contact the crate's author.
Usage Examples
Refer to the Encoder and Decoder structs for examples on
how to use the library to encode and decode video frames.
The library supports a variety of YUV image formats. Have a look at
ImageFormat for more information on the exact list, as well as
tips on how to convert between YUV and non-YUV formats.
vpx-rs
This crate provides a Rusty interface to Google's libvpx library for handling VP8 and VP9 video streams. The low-level bindings to libvpx are provided by the env-libvpx-sys crate, which this crate then wraps in Rust types, hopefully making the experience a bit neater and less error-prone.
While an effort was made to hopefully cover most usecases of libvpx, this crate doesn't cover all of libvpx's API, as some of it is rather esoteric and difficult to make feel natural and safe to use in Rust. If you find a particular set of features of libvpx's API is missing, please contact the crate's author.
LICENSE
BSD 2-clause. See LICENSE for details.
Dependencies
~0.7–3MB
~66K SLoC