Crate nvidia_video_codec_sdk

Source
Expand description

Bindings for the NVIDIA Video Codec SDK.

The raw bindings can be found in sys. Parts of the API have been wrapped in safe.

Feel free to contribute!


§Encoding

See NVIDIA Video Codec SDK - Video Encoder API Programming Guide.

The main entrypoint for the encoder API is the Encoder type.

Usage follows this structure:

  1. Initialize an Encoder with an encode device (such as CUDA).
  2. Configure the encoder and start a Session.
  3. Create input Buffers (or RegisteredResource) and output Bitstreams.
  4. Encode frames with Session::encode_picture.

See the mentioned types for more info on how to use each.

§Decoding

There is no safe wrapper yet.

Re-exports§

pub use safe::*;

Modules§

safe
Safe wrapper around the raw bindings.
sys
Auto-generated bindings to NVIDIA Video Codec SDK.