#encoding #decoding #bindings #nvidia #cuda


Bindings for NVIDIA Video Codec SDK

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

#169 in Video

30 downloads per month

MIT license

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.


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


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.


~27K SLoC