Comparison
av vs decord vs decord2 vs torchcodec
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Pythonic bindings for FFmpeg's libraries.
Actively maintained. Last release 12 days ago, commits in 25 of the last 26 weeks. A safe choice.
pip install avDecord 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 1 day ago, commits in 25 of the last 26 weeks. A safe choice.
pip install torchcodecIn short
- decord looks abandoned: avoid it for new projects.
- av is the most used: 58.6M downloads a month, 13× more than torchcodec.
- Maintenance is comparable: torchcodec 86, av 84, decord2 42 on Pythie’s Index.
- av is growing fastest: downloads +25% over the last month.
- decord2 is the newcomer: first released Jun 2025.
- Safe default for a new project: av.
Side by side
| Metric | av | decord | decord2 | torchcodec |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | Pythie’s Index: 10 | Pythie’s Index: 42 | Pythie’s Index: 86 |
| Verdict | Actively maintained | Likely abandoned | Maintained | Actively maintained |
| Downloads / month | 58.6M | 1.2M | 509.6K | 4.6M |
| Downloads, month over month | +25% | -6% | -17% | +9% |
| GitHub stars | 3.4K | 2.5K | 69 | 1.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 601 | 106 | 6 | 97 |
| Last release | Nov 21, 2026 | Jun 14, 2021 | May 30, 2026 | Dec 2, 2026 |
| Releases, 12 months | 7 | 0 | 4 | 12 |
| Weeks with commits | 25 / 26 | 0 / 26 | 0 / 26 | 25 / 26 |
| Recent contributors | 5 | 8 | 7 | 7 |
| First release | Nov 2013 | Sep 2019 | Jun 2025 | May 2024 |
| Python versions | 3.12 – 3.15 | – | – | – |
| License | BSD-3-Clause | non-standard | Apache-2.0 | BSD-3-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.