{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/5"}],"enrichment":{"capability":"Decord2 decodes video and audio files with hardware acceleration, providing efficient random frame access and batch loading for deep learning workflows.","skillfed_tags":["video-decoding","deep-learning-data","gpu-acceleration"],"use_cases":["Load random frames from videos during deep learning training without expensive seeks or redundant decoding.","Batch-load frames from multiple video files with configurable shuffling strategies for efficient data pipeline.","Extract synchronized audio and video samples from media files for multimodal model training.","Decode audio from video files at custom sample rates and channel layouts for audio processing tasks.","Stream video frames in-memory from file-like objects for cloud or streaming scenarios."],"what_it_does":"Decord2 is a video and audio decoding library optimized for deep learning pipelines. It wraps hardware-accelerated decoders (FFMPEG, NVIDIA NVDEC, Intel codecs) to provide efficient random frame access and batch loading\u2014operations that are typically slow in standard video libraries. The library handles the awkward seeking patterns common during neural network training by using smart shuffling and caching strategies to minimize redundant decoding.\n\nThe package provides three main interfaces: VideoReader for direct frame access from files, VideoLoader for training-scale batch loading across many video files, and AudioReader for audio extraction. It also offers AVReader to decode video and audio simultaneously with frame-level synchronization. Runtime dependency is numpy; GPU acceleration requires building from source with CUDA.","worth_installing":"Yes, with conditions. Install if you need efficient random video frame access for deep learning and can tolerate medium setup friction. Prebuilt wheels work out-of-the-box for CPU use on recent Python versions, but GPU acceleration requires source compilation. Active maintenance, no known vulnerabilities, and permissive licensing make it safe to adopt. Skip if your workload is sequential video playback or if building from source is not feasible."},"id":"decord2","links":{"html":"https://skillfed.io/packages/decord2","md":"https://skillfed.io/packages/decord2.md","pypi":"https://pypi.org/project/decord2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-30","license_spdx":null,"license_treatment":"permissive","name":"decord2","python_support":"supports_current","summary":"Decord2 is a high-performance, efficient video decoding and loading library for deep learning research, featuring smart shuffling, random frame access, GPU acceleration, and seamless integration with popular frameworks."},"popularity":{"monthly_downloads":613076,"position":5753,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.4.0"}
