Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rust-av/nvidia-video-codec-rs
Bindings for the NVIDIA Video Codec SDK
https://github.com/rust-av/nvidia-video-codec-rs
cuda cuvid nvenc nvidia rust rust-av
Last synced: about 2 months ago
JSON representation
Bindings for the NVIDIA Video Codec SDK
- Host: GitHub
- URL: https://github.com/rust-av/nvidia-video-codec-rs
- Owner: rust-av
- License: mit
- Created: 2016-12-28T06:32:44.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-26T05:31:03.000Z (over 3 years ago)
- Last Synced: 2024-11-07T19:08:18.712Z (about 2 months ago)
- Topics: cuda, cuvid, nvenc, nvidia, rust, rust-av
- Language: Rust
- Size: 15.6 KB
- Stars: 33
- Watchers: 5
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NVIDIA Video Codec SDK bindings
[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
It is a simple [binding][1] and safe abstraction over the [nvidia video codec sdk][2].
## 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][3] of the cuvid and nvenc headers is available and known to work fine with the bindings.
## TODO
- [x] Simple bindings
- [x] cuda
- [x] cuvid
- [x] nvenc- [ ] Safe abstraction
- [ ] support cuda
- [ ] support cuvid
- [ ] support nvenc- [ ] Examples
- [ ] simple decode
- [ ] simple encode[1]: https://github.com/servo/rust-bindgen
[2]: https://developer.nvidia.com/nvidia-video-codec-sdk
[3]: https://github.com/lu-zero/nvidia-video-codec