TorchCodec 0.7 is out and it's compatible with torch 2.8!
Windows support
The main new feature is that TorchCodec now has BETA support for Windows! This is our most popular feature request to date. Windows users can try it out with pip install torchcodec
for CPU, and use conda-forge
for GPU support (thanks @traversaro !): conda install torchcodec -c conda-forge
This is currently in BETA support, so there may be rough edges. Let us know if you encounter any issue.
Enhancements
- #865 improves audio decoding coverage of the
AudioDecoder
on some wav files with FFmpeg 4
Bug fixes
This release also comes with a few bug fixes:
- #777 prevents silently wrong results for 10bit videos when decoding on the GPU. We'll be submitting more fixes for 10bit videos in the near future.
- #852 allows
AudioEncoder.to_file()
to accept apathlib.Path
instead of just a string - #868 Fixes a stream synchronization issue between NVDEC (the decoder) and NPP (the color conversion). If you weren't explicitly specifying custom CUDA stream for decoding, this doesn't affect you.