Skip to content

tonarino/nvidia-video-codec-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Bindings for the NVIDIA Video Codec SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 85.1%
  • C++ 14.9%