File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,14 @@ install_aom() {(
99 sudo cmake --install .
1010)}
1111
12+ install_dav1d () {(
13+ git clone --depth 1 https://code.videolan.org/videolan/dav1d.git
14+ mkdir -p dav1d/build && cd dav1d/build
15+ meson ..
16+ ninja
17+ sudo ninja install
18+ )}
19+
1220install_libvpx () {
1321 (
1422 git clone --depth 1 https://github.com/webmproject/libvpx.git
@@ -54,6 +62,7 @@ if [ "$(lsb_release -rs)" = 20.04 ]; then
5462 git am -3 " $GITHUB_WORKSPACE /.github/scripts/Linux/ffmpeg-patches/0001-removed-bits-incompatible-with-old-vaapi.patch-noauto"
5563fi
5664install_aom
65+ install_dav1d
5766( git clone --depth 1 http://git.videolan.org/git/x264.git && cd x264 && ./configure --disable-static --enable-shared && make -j " $( nproc) " && sudo make install || exit 1 )
5867install_libvpx
5968install_nv_codec_headers
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ cd /var/tmp/ffmpeg
55( cd x264 && sudo make install )
66( cd nv-codec-headers && sudo make install )
77( cd aom/build && sudo cmake --install . )
8+ ( cd dav1d/build && sudo ninja install )
89sudo cmake --install SVT-AV1/Build
910sudo cmake --install SVT-HEVC/Build/linux/Release
1011sudo cmake --install SVT-VP9/Build
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ sudo apt install $sdl2_mix_build_dep $sdl2_ttf_build_dep
3737# for FFmpeg - libzmq3-dev needs to be ignored (cannot be installed, see run #380)
3838ffmpeg_build_dep=$( get_build_deps_excl ffmpeg ' libzmq3-dev\|libsdl2-dev' )
3939# shellcheck disable=SC2086 # intentional
40- sudo apt install $ffmpeg_build_dep libdav1d-dev libde265-dev
40+ sudo apt install $ffmpeg_build_dep libde265-dev meson
4141sudo apt-get -y remove ' libavcodec*' ' libavutil*' ' libswscale*' libvpx-dev ' libx264*' nginx
4242# own x264 build
4343sudo apt --no-install-recommends install asciidoc xmlto
You can’t perform that action at this time.
0 commit comments