Open sourceBy

TorchCodec 1.0 makes PyTorch’s media APIs officially stable

The PyTorch team released TorchCodec 1.0, marking its media APIs as stable. The library converts video, audio, and images into PyTorch tensors for training and inference and can encode tensors back into media. Version 1.0 includes low-level APIs that separate reading compressed packets, decoding them, and converting the output. Developers can run those stages in parallel or work directly with raw video frames for custom color conversion. TorchCodec is available through pip on Linux, macOS, and Windows. The Linux wheels include CUDA support, and the library works with system installations of FFmpeg versions 4 through 9.

Why it matters

Teams building multimodal systems can use the same library to prepare model inputs and encode generated outputs. The low-level controls let them tune decoding for their own workloads.

Sources

  • PrimaryPyTorchSource date ·

Written by AIToolMaps from the source above and checked against it sentence by sentence.

Comments

No comments yet