Browse Source

Enable libsvtav1

master
use 1 year ago
parent
commit
f7679067f9
2 changed files with 35 additions and 2 deletions
  1. +3
    -2
      build.sh
  2. +32
    -0
      deps/23_libsvtav1/build.sh

+ 3
- 2
build.sh View File

@ -35,10 +35,10 @@ make distclean
--enable-libvpx \
--enable-libdrm \
--enable-libzimg \
--enable-libsvtav1 \
--enable-gpl \
--enable-runtime-cpudetect \
--cpu=native \
--enable-libfdk-aac \
--enable-libfdk_aac \
--enable-libx264 \
--enable-libx265 \
--enable-openssl \
@ -47,6 +47,7 @@ make distclean
--enable-libass \
--enable-libfreetype \
--enable-libsrt \
--cpu=native \
--enable-nonfree
# --disable-debug \

+ 32
- 0
deps/23_libsvtav1/build.sh View File

@ -0,0 +1,32 @@
#!/bin/bash
export PKG_CONFIG_PATH=/app/ffmpeg/install/lib/pkgconfig:/app/ffmpeg/install/lib64/pkgconfig/
curDir="$PWD"
pkg="SVT-AV1"
if ! [[ -d "$pkg" ]]
then
git clone https://gitlab.com/AOMediaCodec/SVT-AV1.git
fi
cd "$pkg/Build"
make clean
make distclean
cmake \
-DCMAKE_BUILD_TYPE=Realease \
-DCMAKE_INSTALL_PREFIX="/app/ffmpeg/install/" \
.. -G"Unix Makefiles"
make -j8
if make
then
make install
cd "$curDir"
rm -rf "$pkg"
else
cd "$curDir"
echo "BUILD FAILED"
fi
echo "Done"

Loading…
Cancel
Save