Skip to content

Commit d082a71

Browse files
authored
Add an upper bound to the ffmpeg version installed in documentation (#861)
1 parent d14f642 commit d082a71

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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 -c conda-forge
33+
conda install cmake pkg-config pybind11 "ffmpeg<8" -c conda-forge
3434
```
3535

3636
### Clone and build

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ ffmpeg -f lavfi -i \
114114
easy way to install it is to use `conda`:
115115

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

122122
3. Install TorchCodec:
@@ -157,9 +157,9 @@ format you want. Refer to Nvidia's GPU support matrix for more details
157157
easy way to install it is to use `conda`:
158158

159159
```bash
160-
conda install ffmpeg
160+
conda install "ffmpeg<8"
161161
# or
162-
conda install ffmpeg -c conda-forge
162+
conda install "ffmpeg<8" -c conda-forge
163163
```
164164

165165
If you are building FFmpeg from source you can follow Nvidia's guide to

0 commit comments

Comments
 (0)