Scripts for building va-api enabled ffmpeg (with intel)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

29 lines
469 B

#!/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"