Browse Source

Added dav1d support

master
use 1 year ago
parent
commit
9f6fc10e51
2 changed files with 30 additions and 0 deletions
  1. +1
    -0
      build.sh
  2. +29
    -0
      deps/24_libdav1d/build.sh

+ 1
- 0
build.sh View File

@ -36,6 +36,7 @@ make distclean
--enable-libdrm \ --enable-libdrm \
--enable-libzimg \ --enable-libzimg \
--enable-libsvtav1 \ --enable-libsvtav1 \
--enable-libdav1d \
--enable-gpl \ --enable-gpl \
--enable-runtime-cpudetect \ --enable-runtime-cpudetect \
--enable-libfdk_aac \ --enable-libfdk_aac \

+ 29
- 0
deps/24_libdav1d/build.sh View File

@ -0,0 +1,29 @@
#!/bin/bash
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
curDir="$PWD"
pkg=dav1d
if ! [[ -d "$pkg" ]]
then
git clone https://code.videolan.org/videolan/dav1d.git
fi
mkdir -p build
cd "$pkg"
meson ../build/
meson configure ../build/ -Dprefix=/app/ffmpeg/install/
cd ../
if ninja -C build/ install
then
make install
cd "$curDir"
rm -rf "$pkg" "build"
else
cd "$curDir"
echo "BUILD FAILED"
fi
echo "Done"

Loading…
Cancel
Save