PyNvVideoCodec is NVIDIA's Python-based library that provides simple yet powerful Python APIs for hardware-accelerated video encoding and decoding on NVIDIA GPUs.
PyNvVideoCodec is built on top of the Video Codec SDK and offers encode, decode, and transcode performance on par with it.
The library is distributed under MIT license and is officially supported by NVIDIA.
This release introduces several new features and enhancements designed to optimize video processing workflows in AI and multimedia applications.
Current PyNvVideoCodec version supports following features:
PyNvVideoCodec library is distributed in two formats: binary distribution via PyPI and source code distribution via NVIDIA NGC. In both cases, the library and its dependencies can be installed using a single pip install command.
The ready-to-use Python Wheel (WHL) files for PyNvVideoCodec, including sample applications that demonstrate the use of its API, are available on PyPI. To install PyNvVidecoCodec from PyPI, please open the shell prompt, and run the following command. This is the recommended way.
$ pip install PyNvVideoCodec
This package on NVIDIA NGC contains PyNvVideoCodec source code, its dependencies, Python sample applications and documents. To install the PyNvVideoCodec library from NVIDIA NGC please follow the steps below:
$ pip install PyNvVideoCodec.zip
Use this method if you need any customization on PyNvVideoCodec Python module e.g. enabling NVTX markers for profiling.
In case you need to modify PyNvVideoCodec and build a customized version, please follow the steps below
$ pip install .