From 2be5db0052eeec799de803e5ca8f0afdb3399cce Mon Sep 17 00:00:00 2001 From: Daniel Stankewitz Date: Sat, 29 Aug 2020 10:54:09 +0200 Subject: [PATCH] Update build.sh --- build.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index cabb4f7..05d88e3 100644 --- a/build.sh +++ b/build.sh @@ -76,8 +76,8 @@ function build_svt { #cp -r ../Source/API $BUILD/include/svt-hevc ; cp ../Bin/$MSBUILD_CONFIG/SvtHevcEnc.lib $BUILD/lib/ ; cp SvtHevcEnc.pc $BUILD/lib/pkgconfig/ #add_comp libsvthevc # - # AV1 - git clone https://github.com/OpenVisualCloud/SVT-AV1.git $SRC/svt-av1 + # AV1 (patch needed for FFmpeg 4.3) + git clone --depth 1 --branch v0.8.4 https://github.com/OpenVisualCloud/SVT-AV1.git $SRC/svt-av1 cd $SRC/svt-av1/Build cmake .. -G"Visual Studio 15 2017" -A x64 -DCMAKE_INSTALL_PREFIX=$BUILD -DCMAKE_CONFIGURATION_TYPES=$MSBUILD_CONFIG MSBuild.exe /maxcpucount:$NUMBER_OF_PROCESSORS /property:Configuration=$MSBUILD_CONFIG /property:ConfigurationType=StaticLibrary /property:TargetExt=.lib Source/Lib/Encoder/SvtAv1Enc.vcxproj @@ -240,10 +240,7 @@ mkdir src build build/include build/lib build/lib/pkgconfig BUILD=`realpath build` SRC=`realpath src` -git clone git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg -cd $SRC/ffmpeg -git checkout release/4.3 -cd ../.. +git clone -b release/4.3 git://source.ffmpeg.org/ffmpeg.git $SRC/ffmpeg build_nvenc build_amf