Skip to content

Commit 6c59909

Browse files
author
Daniel Flores
committed
specify ffmpeg8 support
1 parent 328dd71 commit 6c59909

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ ffmpeg -f lavfi -i \
107107
`torch` and `torchcodec`.
108108

109109
2. Install FFmpeg, if it's not already installed. Linux distributions usually
110-
come with FFmpeg pre-installed. TorchCodec supports all major FFmpeg versions
111-
in [4, 8].
110+
come with FFmpeg pre-installed. TorchCodec supports major FFmpeg versions
111+
in [4, 7] on all platforms, and FFmpeg version 8 is supported on Mac and Linux.
112112

113113
If FFmpeg is not already installed, or you need a more recent version, an
114114
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
147147
[here](https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new).
148148

149149
1. Install FFmpeg with NVDEC support.
150-
TorchCodec with CUDA should work with FFmpeg versions in [4, 8].
150+
TorchCodec with CUDA should work with FFmpeg versions in [4, 7] on all platforms,
151+
and FFmpeg version 8 is supported on Mac and Linux.
151152

152153
If FFmpeg is not already installed, or you need a more recent version, an
153154
easy way to install it is to use `conda`:

src/torchcodec/_core/ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def load_torchcodec_shared_libraries():
6969
raise RuntimeError(
7070
f"""Could not load libtorchcodec. Likely causes:
7171
1. FFmpeg is not properly installed in your environment. We support
72-
versions 4, 5, 6, 7, and 8.
72+
versions 4, 5, 6, and 7 on all platforms, and 8 on Mac and Linux.
7373
2. The PyTorch version ({torch.__version__}) is not compatible with
7474
this version of TorchCodec. Refer to the version compatibility
7575
table:

0 commit comments

Comments
 (0)