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
File details
Details for the file PyNvVideoCodec-1.0.2.tar.gz
.
File metadata
- Download URL: PyNvVideoCodec-1.0.2.tar.gz
- Upload date:
- Size: 79.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02093d826eeece53928102e99e413f6c6d84e1b3c186062f2b5676d21945ac62 |
|
MD5 | de7fbb49e9cd12a59b3325d6c881f5a5 |
|
BLAKE2b-256 | 233bdf68633705b2d777edb4d9f3391f106cfd8cd629a760973074493b065340 |
File details
Details for the file PyNvVideoCodec-1.0.2-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: PyNvVideoCodec-1.0.2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 4.5 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a91440f438ff0c1421f20fbe0b72fd04c37685bc9229e95cebfb4664a1bde3b8 |
|
MD5 | cfcdb59d40c71ecbd5306eae9557e80a |
|
BLAKE2b-256 | 9d2ae657e84adbfebd99caf6b9f7ee30c896c33690b004ce859a0bbf6121a666 |
File details
Details for the file PyNvVideoCodec-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: PyNvVideoCodec-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 56.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da8ec7c2aaee5c634fb0c2451042c32cc58728c1b46b81e07c0e78ca235a4ef0 |
|
MD5 | 613c165ba7701a15c31bf10f3109d417 |
|
BLAKE2b-256 | 4af7fea9d1edabf8eb29959742d5d80158ffa36c8de1c8ba4a2bce4b7881faad |