Comparison
decord vs decord2 vs torchcodec
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Decord Video Loader
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install decordDecord2 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.
Maintained. Last release 6 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install decord2A video decoder for PyTorch
Actively maintained. Last release 2 months ago, commits in 26 of the last 26 weeks. A safe choice.
pip install torchcodecIn short
- decord looks abandoned: avoid it for new projects.
- torchcodec is the most used: 4.5M downloads a month, 3.5× more than decord.
- torchcodec also has the best Pythie’s Index (85).
- decord2 is the newcomer: first released Jun 2025.
- Safe default for a new project: torchcodec.
Side by side
| Metric | decord | decord2 | torchcodec |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 10 | 42 |