6 releases

0.3.1 Sep 3, 2023
0.3.0 Sep 3, 2023
0.2.0 Sep 1, 2023
0.1.2 Jun 29, 2023

#226 in Video

MIT license

1.5MB
44K SLoC

NVIDIA Video Codec SDK

crates.io docs.rs

Rust bindings for NVIDIA Video Codec SDK.

The documentation is also hosted on GitHub Pages here.

Versions:

  • NVIDIA Video Codec SDK 12.1.14
  • CUDA 12.2 (older CUDA versions should also work)

Installation

The build script will try to automatically locate your NVIDIA Video Codec SDK installation. You can help it by setting the environment variable NVIDIA_VIDEO_CODEC_SDK_PATH to the directory containing the library files.

  • nvEncodeAPI.lib and nvcuvid.lib on Windows,
  • libnvidia-encode.so and libnvcuvid.so on Linux.

Dependencies

~19MB
~554K SLoC