Skip to main content

PyNvVideoCodec is NVIDIA’s Python based video codec library for hardware accelerated video encode and decode on NVIDIA GPUs.

Project description

PyNvVideoCodec

PyNvVideoCodec is NVIDIA’s Python based video codec library for hardware accelerated video encode and decode on NVIDIA GPUs. PyNvVideoCodec is the successor of VPF (Video Processing Framework).

The library is distributed under MIT license and is officially supported by NVIDIA. PyNvVideoCodec library internally uses Video Codec SDK’s core C/C++ video encode and decode APIs and provides easy to use Python APIs on it. The library offers encode and decode performance close to Video Codec SDK.

Features

Current PyNvVideoCodec version supports following features:

  • Codecs: H.264, HEVC, AV1.
  • Surface formats: NV12 (8 bit), YUV 4:2:0 (10 bit), YUV 4:4:4 (8 and 10 bit)
  • Video container formats: MP4, AVI and MKV
  • DLPack support to facilitate data exchange with popular DL frameworks like PyTorch and TensorRT.
  • CUDA Array Interface support to facilitate data exchange with NVIDIA's CV-CUDA library.
  • CUDA stream support for optimizing throughput.
  • Contains Python sample applications demonstrating API usage.

Distribution

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.

This package on PyPI contains Python WHLs of PyNvVideoCodec library. To install this library please open the shell prompt, and run the following command.

$ pip install PyNvVideoCodec

Sample Applications and Documents

  • A package containing sample application that demonstrate PyNvVideoCodec API and documents can be downloaded from NVIDIA NGC
  • For your convenience, the documents are also accessible online at PyNvVideoCodec Online Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyNvVideoCodec-1.0.2.tar.gz (79.0 MB view hashes)

Uploaded Source

Built Distributions

PyNvVideoCodec-1.0.2-cp310-cp310-win_amd64.whl (4.5 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

PyNvVideoCodec-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (56.8 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page