NVIDIA Launches PyNvVideoCodec 2.0 for Enhanced Python Video Processing



Caroline Bishop
Sep 16, 2025 19:41

NVIDIA’s PyNvVideoCodec 2.0 introduces significant enhancements for GPU-accelerated video processing in Python, offering new features for AI, multimedia, and streaming applications.



NVIDIA Launches PyNvVideoCodec 2.0 for Enhanced Python Video Processing

NVIDIA has unveiled PyNvVideoCodec 2.0, a major update aimed at improving GPU-accelerated video processing within the Python ecosystem. This latest version is designed to offer developers, researchers, and engineers new tools to build high-performance video pipelines, leveraging the familiar and flexible Python language, as reported by NVIDIA.

Key Features and Enhancements

The PyNvVideoCodec 2.0 release introduces various enhancements across decode, encode, and transcode functionalities, optimizing workflows for applications in AI, broadcast, and real-time streaming.

Decode Enhancements

New decode features include flexible frame sampling and seeking, decoder caching for short clips, and threaded decoding for zero latency. Additionally, the update supports buffer-based decoding from memory buffers, crucial for streaming, and introduces low-latency decoding for sequences without B-frames.

Developers can now extract SEI messages, retrieve stream metadata, and benefit from optimized Global Interpreter Lock (GIL) handling for improved multithreaded performance. The update also allows for multi-GPU decoding and extends codec support to formats like H.264, HEVC, AV1, and others.

Encode Enhancements

Enhancements to encoding in PyNvVideoCodec 2.0 include live encoder reconfiguration, SEI insertion, and multi-GPU encoding capabilities. The update supports 4:2:2 encoding for broadcast-quality streams and extends input format support to various formats including NV12, YV12, and ARGB.

Transcode Enhancements

Transcoding improvements feature segment-based transcoding, optimized for deep learning-based video training workflows, allowing for more efficient processing.

Installation and Customization

PyNvVideoCodec remains easy to install via pip, with full source code access available through NVIDIA NGC for those requiring customization. Users can also adjust internals or build from source using provided instructions.

Getting Started

NVIDIA provides sample Python applications and comprehensive documentation bundled with both PyPI and NGC packages to help users quickly integrate PyNvVideoCodec 2.0 into their workflows. These resources support a range of applications, from simple decode and re-encode scripts to segment-based transcoding.

The launch of PyNvVideoCodec 2.0 marks a significant step forward in enabling Python developers to harness the power of NVIDIA’s Video Codec SDK, offering enhanced performance and flexibility for cutting-edge video processing solutions.

For further details, visit the NVIDIA blog.

Image source: Shutterstock


Source: https://blockchain.news/news/nvidia-launches-pynvvideocodec-2-0-enhanced-python-video-processing