mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 10:40:09 +00:00
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:
@@ -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
|
||||
|
||||
2
.github/workflows/ccpp.yml
vendored
2
.github/workflows/ccpp.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user