Skip to content

Commit d2e5619

Browse files
authored
update readme (#211)
1 parent b63f61a commit d2e5619

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Install the system packages for building the shared library, for Debian/Ubuntu u
5858

5959
```bash
6060
# official PPA comes with ffmpeg 2.8, which lacks tons of features, we use ffmpeg 4.0 here
61-
sudo add-apt-repository ppa:jonathonf/ffmpeg-4
61+
sudo add-apt-repository ppa:jonathonf/ffmpeg-4 # for ubuntu20.04 official PPA is already version 4.2, you may skip this step
6262
sudo apt-get update
6363
sudo apt-get install -y build-essential python3-dev python3-setuptools make cmake
6464
sudo apt-get install -y ffmpeg libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev
@@ -80,7 +80,7 @@ cmake .. -DUSE_CUDA=0 -DCMAKE_BUILD_TYPE=Release
8080
make
8181
```
8282

83-
you can specify `-DUSE_CUDA=ON` or `-DUSE_CUDA=/path/to/cuda` to enable NVDEC hardware accelerated decoding:
83+
you can specify `-DUSE_CUDA=ON` or `-DUSE_CUDA=/path/to/cuda` or `-DUSE_CUDA=ON` `-DCMAKE_CUDA_COMPILER=/path/to/cuda/nvcc` to enable NVDEC hardware accelerated decoding:
8484

8585
```bash
8686
cmake .. -DUSE_CUDA=ON -DCMAKE_BUILD_TYPE=Release

0 commit comments

Comments
 (0)