File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,8 +11,10 @@ cache_dir=/var/tmp/ffmpeg
1111deps () {
1212 ffmpeg_build_dep=$( get_build_deps_excl ffmpeg ' libsdl' )
1313 # shellcheck disable=SC2086 # intentional
14- sudo apt install $ffmpeg_build_dep libdav1d-dev libde265-dev \
15- libopenh264-dev
14+ sudo apt install $ffmpeg_build_dep libde265-dev \
15+ libopenh264-dev \
16+ meson \
17+
1618 sudo apt-get -y remove ' libavcodec*' ' libavutil*' ' libswscale*' \
1719 libvpx-dev nginx
1820}
@@ -26,6 +28,14 @@ install_aom() {(
2628 sudo cmake --install .
2729)}
2830
31+ install_dav1d () {(
32+ git clone --depth 1 https://code.videolan.org/videolan/dav1d.git
33+ mkdir -p dav1d/build && cd dav1d/build
34+ meson ..
35+ ninja
36+ sudo ninja install
37+ )}
38+
2939install_libvpx () {(
3040 git clone --depth 1 https://github.com/webmproject/libvpx.git
3141 cd libvpx
@@ -77,6 +87,7 @@ build_install() {
7787 $cache_dir
7888 cd $cache_dir
7989 install_aom
90+ install_dav1d
8091 install_libvpx
8192 install_nv_codec_headers
8293 install_onevpl
@@ -115,6 +126,7 @@ install_cached() {
115126 ( cd libvpx && sudo make install )
116127 ( cd nv-codec-headers && sudo make install )
117128 ( cd aom/build && sudo cmake --install . )
129+ ( cd dav1d/build && sudo ninja install )
118130 sudo cmake --install SVT-AV1/Build
119131 sudo cmake --install SVT-HEVC/Build/linux/Release
120132 sudo cmake --install SVT-VP9/Build
You can’t perform that action at this time.
0 commit comments