Update build.sh

Fixed SV1 build
This commit is contained in:
Daniel Stankewitz 2021-02-18 14:25:22 +01:00 committed by GitHub
parent 5576d4a4ca
commit f5ddc9632e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ function build_svt {
#add_comp libsvthevc #add_comp libsvthevc
# #
# AV1 (patch needed for FFmpeg 4.3) # AV1 (patch needed for FFmpeg 4.3)
git clone --depth 1 --branch v0.8.6 https://github.com/OpenVisualCloud/SVT-AV1.git $SRC/svt-av1 git clone --depth 1 https://github.com/AOMediaCodec/SVT-AV1 $SRC/svt-av1
cd $SRC/svt-av1/Build cd $SRC/svt-av1/Build
cmake .. -G"Visual Studio 15 2017" -A x64 -DCMAKE_INSTALL_PREFIX=$BUILD -DCMAKE_CONFIGURATION_TYPES=$MSBUILD_CONFIG 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 MSBuild.exe /maxcpucount:$NUMBER_OF_PROCESSORS /property:Configuration=$MSBUILD_CONFIG /property:ConfigurationType=StaticLibrary /property:TargetExt=.lib Source/Lib/Encoder/SvtAv1Enc.vcxproj
@ -97,7 +97,7 @@ function build_svt {
#git apply $SRC/svt-av1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch #git apply $SRC/svt-av1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch
#git apply $SRC/svt-vp9/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-hevc-av1.patch #git apply $SRC/svt-vp9/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-hevc-av1.patch
#git am $SRC/svt-hevc/ffmpeg_plugin/0001*.patch #git am $SRC/svt-hevc/ffmpeg_plugin/0001*.patch
git apply $SRC/svt-av1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch #git apply $SRC/svt-av1/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
} }
function build_ogg { function build_ogg {