Installation¶
pip¶
conda / pixi (conda-forge)¶
GPU-accelerated video I/O¶
Faster video decoding uses torchcodec, which ships with the conda-forge
package on Windows, Linux, and macOS — so conda/pixi installs include it
automatically:
torchcodec has no Windows pip wheels, so it is not declared as a pip dependency. pip users on Linux/macOS can add it manually:
Without torchcodec, pyevm automatically falls back to the OpenCV decoder.
Hardware¶
pyevm automatically selects the best available compute device:
- CUDA — NVIDIA GPU
- MPS — Apple Silicon GPU
- CPU — fallback
Override with --device cuda, --device mps, or --device cpu.
Requirements¶
- Python 3.12 or later
- PyTorch 2.2 or later