Go to file
Andrey Tkachenko 82c1ef48b8 Change api from callback to dequeue 2023-11-29 11:45:33 +04:00
examples Change api from callback to dequeue 2023-11-29 11:45:33 +04:00
nvidia-video-codec-sys Bump bindgen 2023-09-11 20:25:51 +04:00
src Change api from callback to dequeue 2023-11-29 11:45:33 +04:00
.gitignore build: Split in two separate crates 2017-01-02 03:28:52 +00:00
Cargo.toml Change api from callback to dequeue 2023-11-29 11:45:33 +04:00
LICENSE license: Fix attribution 2017-01-02 03:00:55 +00:00
README.md build: Update the headers path 2017-03-15 14:08:27 +00:00

README.md

NVIDIA Video Codec SDK bindings

LICENSE

It is a simple binding and safe abstraction over the nvidia video codec sdk.

Building

The bindings are generated using the headers and libraries that ought to be present in the system.

By default the headers are looked up on /opt/cuda/include and /opt/nvidia-video-codec/include and the libraries are assumed to be present in the default path (and provided by the driver).

It is possible to override the search paths for the headers by setting the environment variables CUDA_INCLUDE_PATH and NVIDIA_VIDEO_CODEC_INCLUDE_PATH.

A convenience repackaging of the cuvid and nvenc headers is available and known to work fine with the bindings.

TODO

  • Simple bindings

    • cuda
    • cuvid
    • nvenc
  • Safe abstraction

    • support cuda
    • support cuvid
    • support nvenc
  • Examples

    • simple decode
    • simple encode