GitHub CI: use NVENC SDK 8.1

Master branch of nv-codec-headers implies current CUDA runtime
(including drivers), thus use an old version to relax the requirement a
bit. (SDK 8.0 is not compatible with current FFmpeg master)
This commit is contained in:
Martin Pulec
2020-07-08 08:35:04 +02:00
parent c715cabe8d
commit 36aca770a4
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
git clone --depth 1 https://git.ffmpeg.org/ffmpeg.git /var/tmp/ffmpeg
cd /var/tmp/ffmpeg
( git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git && cd nv-codec-headers && make && sudo make install )
( git clone -b sdk/8.1 https://git.videolan.org/git/ffmpeg/nv-codec-headers.git && cd nv-codec-headers && make && sudo make install )
( git clone --depth 1 https://aomedia.googlesource.com/aom && mkdir -p aom/build && cd aom/build && cmake -DBUILD_SHARED_LIBS=1 .. && make && sudo make install )
./configure --disable-static --enable-shared --enable-gpl --enable-libx264 --enable-libopus --enable-nonfree --enable-nvenc --enable-libaom --enable-libvpx
make

View File

@@ -81,7 +81,7 @@ jobs:
uses: actions/cache@v1
with:
path: '/var/tmp/ffmpeg'
key: cache-ffmpeg-4
key: cache-ffmpeg-5
- name: Build FFmpeg
if: steps.cache-ffmpeg.outputs.cache-hit != 'true'
run: .github/scripts/Linux/download_build_ffmpeg.sh