Skip to content

Commit e202226

Browse files
Dan-FloresDan-Flores
andauthored
Update docs to indicate support for FFmpeg 8 on all platforms (#1004)
Co-authored-by: Dan-Flores <[email protected]>
1 parent 5cf6945 commit e202226

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Start by installing the **nightly** build of PyTorch following the
3030
Then, the easiest way to install the rest of the dependencies is to run:
3131

3232
```bash
33-
conda install cmake pkg-config pybind11 "ffmpeg<8" -c conda-forge
33+
conda install cmake pkg-config pybind11 "ffmpeg" -c conda-forge
3434
```
3535

3636
### Clone and build

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,16 +107,16 @@ 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 major FFmpeg versions
111-
in [4, 7] on all platforms, and FFmpeg version 8 is supported on Mac and Linux.
110+
come with FFmpeg pre-installed. TorchCodec supports supports all major FFmpeg versions
111+
in [4, 8].
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`:
115115

116116
```bash
117-
conda install "ffmpeg<8"
117+
conda install "ffmpeg"
118118
# or
119-
conda install "ffmpeg<8" -c conda-forge
119+
conda install "ffmpeg" -c conda-forge
120120
```
121121

122122
3. Install TorchCodec:
@@ -148,16 +148,15 @@ format you want. Refer to Nvidia's GPU support matrix for more details
148148
[here](https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new).
149149

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

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

157156
```bash
158-
conda install "ffmpeg<8"
157+
conda install "ffmpeg"
159158
# or
160-
conda install "ffmpeg<8" -c conda-forge
159+
conda install "ffmpeg" -c conda-forge
161160
```
162161

163162
After installing FFmpeg make sure it has NVDEC support when you list the supported

src/torchcodec/_core/ops.py

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

0 commit comments

Comments
 (0)