From 328dd7196bd83818e2cba8f1d04e591003cc6667 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 16 Oct 2025 09:07:48 -0400 Subject: [PATCH 1/3] update readme, error msg --- README.md | 4 ++-- src/torchcodec/_core/ops.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8050cf2a3..364e5803e 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ ffmpeg -f lavfi -i \ 2. Install FFmpeg, if it's not already installed. Linux distributions usually come with FFmpeg pre-installed. TorchCodec supports all major FFmpeg versions - in [4, 7]. + in [4, 8]. If FFmpeg is not already installed, or you need a more recent version, an easy way to install it is to use `conda`: @@ -147,7 +147,7 @@ format you want. Refer to Nvidia's GPU support matrix for more details [here](https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new). 1. Install FFmpeg with NVDEC support. - TorchCodec with CUDA should work with FFmpeg versions in [4, 7]. + TorchCodec with CUDA should work with FFmpeg versions in [4, 8]. If FFmpeg is not already installed, or you need a more recent version, an easy way to install it is to use `conda`: diff --git a/src/torchcodec/_core/ops.py b/src/torchcodec/_core/ops.py index 44dc89e2b..2a4cb95b4 100644 --- a/src/torchcodec/_core/ops.py +++ b/src/torchcodec/_core/ops.py @@ -69,7 +69,7 @@ def load_torchcodec_shared_libraries(): raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support - versions 4, 5, 6 and 7. + versions 4, 5, 6, 7, and 8. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: From 6c599096cdbf3e8336275c456eee61c541fa348b Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 16 Oct 2025 09:27:27 -0400 Subject: [PATCH 2/3] specify ffmpeg8 support --- README.md | 7 ++++--- src/torchcodec/_core/ops.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 364e5803e..a501204ac 100644 --- a/README.md +++ b/README.md @@ -107,8 +107,8 @@ ffmpeg -f lavfi -i \ `torch` and `torchcodec`. 2. Install FFmpeg, if it's not already installed. Linux distributions usually - come with FFmpeg pre-installed. TorchCodec supports all major FFmpeg versions - in [4, 8]. + come with FFmpeg pre-installed. TorchCodec supports major FFmpeg versions + in [4, 7] on all platforms, and FFmpeg version 8 is supported on Mac and Linux. If FFmpeg is not already installed, or you need a more recent version, an easy way to install it is to use `conda`: @@ -147,7 +147,8 @@ format you want. Refer to Nvidia's GPU support matrix for more details [here](https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new). 1. Install FFmpeg with NVDEC support. - TorchCodec with CUDA should work with FFmpeg versions in [4, 8]. + TorchCodec with CUDA should work with FFmpeg versions in [4, 7] on all platforms, + and FFmpeg version 8 is supported on Mac and Linux. If FFmpeg is not already installed, or you need a more recent version, an easy way to install it is to use `conda`: diff --git a/src/torchcodec/_core/ops.py b/src/torchcodec/_core/ops.py index 2a4cb95b4..b914bb5d7 100644 --- a/src/torchcodec/_core/ops.py +++ b/src/torchcodec/_core/ops.py @@ -69,7 +69,7 @@ def load_torchcodec_shared_libraries(): raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support - versions 4, 5, 6, 7, and 8. + versions 4, 5, 6, and 7 on all platforms, and 8 on Mac and Linux. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: From 6a308d0b8814a65419ec221c6ddbac7581648c26 Mon Sep 17 00:00:00 2001 From: Daniel Flores Date: Thu, 16 Oct 2025 10:09:31 -0400 Subject: [PATCH 3/3] remove mac mention in GPU section --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a501204ac..7a558075f 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ format you want. Refer to Nvidia's GPU support matrix for more details 1. Install FFmpeg with NVDEC support. TorchCodec with CUDA should work with FFmpeg versions in [4, 7] on all platforms, - and FFmpeg version 8 is supported on Mac and Linux. + and FFmpeg version 8 is supported on Linux. If FFmpeg is not already installed, or you need a more recent version, an easy way to install it is to use `conda`: