Comparison
decord2 vs torchcodec
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
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.
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
- torchcodec is the most used: 4.5M downloads a month, 8.2× more than decord2.
- 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 | decord2 | torchcodec |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 42 | 85 |