Releases: facebookresearch/spdl
v0.0.10
Summary
- You can now install SPDL with
pip install spdl
, and use CUDA and NVDEC.- The extension module has been split into core and CUDA. Now it's possible to use CUDA package in environments without CUDA.
- The PyPI distributions for Linux x86_64 includes CUDA extension.
- NVEDC support has been added to CUDA extension. See the doc for the detail.
New Features
- Added
spdl.io.apply_bsf
to apply bit-stream filtering to packets (#522, #503) - Added function to fetch FFmpeg versions (#507)
- Added NV12 to RGB color conversion functions (#528, #525, #526)
- Added a new
NvDecDecoder
, which supports streaming decoding. (#517, #520, #531) - Added support to fetch codec from
Packets
andDemuxer
. (#521)
BC-Breaking changes
- Removed alpha channel from NVDEC decoding (#527)
- The HOLD_GIL build option has been removed (#509, #511)
- Renamed the build config query functions
is_available
tobuilt_with
(#514, #505)
Bugfix
- Fixed the allocator function signature by @mthrok in #504
- Fixed segfault when not built with CUDA by @mthrok in #513
Split code/binding/packages
Refactoring CUDA-related code
- Use spdl::cuda namespace for CUDA-related features by @mthrok in #495
- Reduce FFmpeg redundancy from CUDA extension by @mthrok in #498
- Do not pass AVCodecID directly by @mthrok in #499
- Do not link ffmpeg when building CUDA ext by @mthrok in #502
- Use iterator by @mthrok in #506
- Fix CUDA availability by @mthrok in #512
- Define CUDAStoragePtr by @mthrok in #519
- Move CUDA utils to detail by @mthrok in #530
- Add missing glog header inclusion to logging by @mthrok in #524
- Add constant accessor to CUDABuffer by @mthrok in #523
- Remove stray defs by @mthrok in #515
- Remove AVCodec from CUDA extension by @mthrok in #501
- Define CUDA_API_PER_THREAD_DEFAULT_STREAM by @mthrok in #518
- Clean up CUDA initialization logic by @mthrok in #529
CI Improvement
Full Changelog: v2025.03.17.00...v0.0.10
v0.0.9
What's Changed
The FFmpeg7 integration has been fixed.
- Add version attribute by @mthrok in #412
- Append queue name with index by @mthrok in #418
- Prefix the queue/stage order by @mthrok in #421
- Fix FFmpeg7 Integration by @mthrok in #189
Full Changelog: v0.0.8...v0.0.9
Please checkout the Assets bellow to download CUDA binaries.
Release Assets
release-assets Initial Commit
v0.0.8 - The first (yet experimental) release
SPDL is now available on PyPI for the following platform and Python versions.
You can install it with pip install spdl
.
- Linux/macOS
- Python 3.10, 3.11, 3.12 and 3.13
There is no binary distribution for 3.13t yet.
The IO module with CUDA support is not available on PyPI.
Instead you can download wheels compiled with CUDA 12.6 from the following Assets
section.
You need to install nvidia-cuda-runtime-cu12
package.
(It's available in https://pypi.org/project/nvidia-cuda-runtime-cu12/ or
if you are installing PyTorch following from the official channel, it will be automatically installed.)
The spdl
distribution is an empty meta package.
The actual functionalities are split into spdl_io
and spdl_core
packages.
They are independent each other and can be installed separately.
For the detail of package usage, please refer to the documentation.
https://facebookresearch.github.io/spdl/0.0.8/index.html