@@ -1349,15 +1349,19 @@ build_svt-hevc() {
1349
1349
1350
1350
build_svt-av1 () {
1351
1351
do_git_checkout https://github.com/OpenVisualCloud/SVT-AV1.git
1352
- cd SVT-AV1_git/Build
1352
+ cd SVT-AV1_git
1353
+ git apply $patch_dir /SVT-AV1-Windows-lowercase.patch
1354
+ cd Build
1353
1355
do_cmake_from_build_dir .. " -DCMAKE_BUILD_TYPE=Release"
1354
1356
do_make_and_make_install
1355
1357
cd ../..
1356
1358
}
1357
1359
1358
1360
build_svt-vp9 () {
1359
1361
do_git_checkout https://github.com/OpenVisualCloud/SVT-VP9.git
1360
- cd SVT-VP9_git/Build
1362
+ cd SVT-VP9_git
1363
+ git apply $patch_dir /SVT-VP9-Windows-lowercase.patch
1364
+ cd Build
1361
1365
do_cmake_from_build_dir ..
1362
1366
do_make_and_make_install
1363
1367
cd ../..
@@ -1955,12 +1959,21 @@ build_ffmpeg() {
1955
1959
1956
1960
cd $output_dir
1957
1961
apply_patch file://$patch_dir /frei0r_load-shared-libraries-dynamically.diff
1962
+ # SVT-HEVC
1958
1963
wget https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/master/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch
1959
1964
git am 0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch
1965
+ # Add SVT-AV1 to SVT-HEVC
1960
1966
# wget https://raw.githubusercontent.com/OpenVisualCloud/SVT-AV1/master/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch
1961
1967
# git apply 0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch
1968
+ # Add SVT-VP9 to SVT-HEVC & SVT-AV1
1962
1969
# wget https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/master/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-svt-hevc-av1.patch
1963
1970
# git apply 0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-svt-hevc-av1.patch
1971
+ # SVT-AV1 only
1972
+ # wget https://raw.githubusercontent.com/OpenVisualCloud/SVT-AV1/master/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
1973
+ # git apply 0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch
1974
+ # SVT-VP9 only
1975
+ # wget https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/master/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch
1976
+ # git apply 0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch
1964
1977
1965
1978
if [ " $bits_target " = " 32" ]; then
1966
1979
local arch=x86
0 commit comments