3 releases (breaking)

0.2.0 Mar 11, 2024
0.1.0 Jul 25, 2023
0.0.0 Jun 17, 2023

#242 in Graphics APIs

35 downloads per month

0BSD license

1MB
4.5K SLoC

Ferrovanadium: VA-API bindings for Rust

This library provides high-level wrappers around VA-API (libva), the Video Acceleration API used by Linux, Android, and BSD systems.

It loads libva at runtime, so there is no build-time dependency on it. This matches the behavior typically expected of applications: if no hardware acceleration is available, they should fall back to software decoding.

Features

  • Blatantly unsound API
  • Completely unmaintained (developed only for my own personal amusement)
  • Exposes almost none of the features VA-API has
  • Crashes your program with a segfault when you have an AMD GPU
  • Might even crash the entire graphics driver when you have an AMD GPU
  • Really, you should probably not even read this README if you're on AMD

lib.rs:

VA-API bindings.

See Display for the main entry point into the library.

Dependencies

~0.7–7.5MB
~26K SLoC