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:
- Initialize an
Encoderwith an encode device (such as CUDA). - Configure the encoder and start a
Session. - Create input
Buffers (orRegisteredResource) and outputBitstreams. - 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::*;