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
Built Distributions
Hashes for PyNvVideoCodec-1.0.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a91440f438ff0c1421f20fbe0b72fd04c37685bc9229e95cebfb4664a1bde3b8 |
|
MD5 | cfcdb59d40c71ecbd5306eae9557e80a |
|
BLAKE2b-256 | 9d2ae657e84adbfebd99caf6b9f7ee30c896c33690b004ce859a0bbf6121a666 |
Hashes for PyNvVideoCodec-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da8ec7c2aaee5c634fb0c2451042c32cc58728c1b46b81e07c0e78ca235a4ef0 |
|
MD5 | 613c165ba7701a15c31bf10f3109d417 |
|
BLAKE2b-256 | 4af7fea9d1edabf8eb29959742d5d80158ffa36c8de1c8ba4a2bce4b7881faad |