vpx is odd

This commit is contained in:
2024-05-29 12:12:33 -05:00
committed by GitHub
parent dbf327cdc0
commit 6c1a974c47

View File

@@ -93,7 +93,8 @@ DOVI_DIR="$BASE_DIR/dovi"
SVT_PSY_DIR="$BASE_DIR/svt-psy"
X264_DIR="$BASE_DIR/x264"
X265_DIR="$BASE_DIR/x265"
VPX_DIR="$BASE_DIR/vpx"
GTEST_DIR="$BASE_DIR/googletest"
VPX_DIR="$BASE_DIR/libvpx"
# save options use
echo "$@" > "$BASE_DIR/.last_opts"
@@ -286,6 +287,7 @@ if [[ "$BUILD_OTHERS" == "true" ]]; then
# clone other encoder specific repos
git clone --depth 1 https://code.videolan.org/videolan/x264.git "$X264_DIR"
git clone --depth 1 https://bitbucket.org/multicoreware/x265_git.git "$X265_DIR"
git clone --depth 1 https://github.com/google/googletest "$GTEST_DIR"
git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git "$VPX_DIR"
FFMPEG_OTHERS="--enable-gpl --enable-libx264 --enable-libx265 --enable-libvpx"
@@ -323,6 +325,16 @@ if [[ "$BUILD_OTHERS" == "true" ]]; then
# revert git
mv .no_git .git
# build gtest
cd "$GTEST_DIR" || exit
update_git
rm -rf build
mkdir build
cd build || exit
cmake ../
make -j"$(nproc)"
sudo make install
# build vpx
cd "$VPX_DIR" || exit
update_git