NVIDIA
NVIDIA
PyNvVideoCodec
Resource
NVIDIA
NVIDIA
PyNvVideoCodec

PyNVVideoCodec (Python NVIDIA Video Codec) is a set of python APIs for hardware accelerated video decoding and encoding.

PyNVVideoCodec provides Python bindings for NVIDIA Video Codec SDK which enabled C++ developers for over a decade with hardware accelerated video encode and decode for both Windows and Linux. Python developers can now easily access NVENC and NVDEC acceleration units on the GPU to encode and decode video data to/from GPU memory. Depending on your GPU, different number and generation of hardware units are available. Visit https://developer.nvidia.com/video-codec-sdk for more details including benchmarks data points.

PyNvVideoCodec is a part of Vision Cloud package, an initiative to power Python developers with reference libraries and tools including CV-CUDA, NVImageCodec and PyNVVideoCodec.

Current PyNVVideoCodec version includes support for:

  • Simple APIs for hardware accelerated video decode and encode
  • H.264 / HEVC / AV1 Codecs
  • NV12, P016, YUV 4:4:4 (8 and 10 bit) Decode Surface formats
  • NV12, P010, YUV 4:4:4 (8 and 10 bit), ARGB, ABGR Encode Surface formats
  • DLPack and CUDA Array Interface Data exchange formats
  • CV-CUDA and PyTorch frameworks
  • Python sample applications that demonstrate the usage of APIs
  • Pip install script

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.