• Docs >
  • Installation Instructions
Shortcuts

Installation Instructions

Note

TorchCodec is only available on Linux for now. We plan to support other platforms in the future.

Installing torchcodec should be as simple as:

pip install torchcodec

You will need a working PyTorch installation, which you can install following the official instructions.

You will also need FFmpeg installed on your system, and TorchCodec decoding capabilities are determined by your underlying FFmpeg installation. There are different options to install FFmpeg e.g.:

conda install ffmpeg
# or
conda install ffmpeg -c conda-forge

Your Linux distribution probably comes with FFmpeg pre-installed as well. TorchCodec supports all major FFmpeg version in [4, 7].

Note that installation instructions may slightly change over time. The most up-to-date instructions should be available from the README.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources