Update build.sh

This commit is contained in:
Daniel Stankewitz 2020-08-29 10:54:09 +02:00 committed by GitHub
parent 68c24265bc
commit 2be5db0052
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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