building all

This commit is contained in:
2024-05-17 07:57:13 -05:00
parent 8bfbe56cef
commit 94a54724c6
3 changed files with 16 additions and 8 deletions

2
.gitignore vendored
View File

@@ -13,4 +13,4 @@ rkrga
x264 x264
x265* x265*
vpx vpx
.last_opts

View File

@@ -64,19 +64,17 @@ X264_DIR="$BASE_DIR/x264"
X265_DIR="$BASE_DIR/x265" X265_DIR="$BASE_DIR/x265"
VPX_DIR="$BASE_DIR/vpx" VPX_DIR="$BASE_DIR/vpx"
# save options use
echo "$@" > "$BASE_DIR/.last_opts"
# clone # clone
git clone --depth 1 https://gitlab.com/AOMediaCodec/SVT-AV1.git "$SVT_DIR" git clone --depth 1 https://gitlab.com/AOMediaCodec/SVT-AV1.git "$SVT_DIR"
git clone --depth 1 https://github.com/quietvoid/dovi_tool "$DOVI_DIR"
git clone --depth 1 https://github.com/gianni-rosato/svt-av1-psy "$SVT_PSY_DIR"
git clone --depth 1 https://github.com/xiph/rav1e "$RAV1E_DIR" git clone --depth 1 https://github.com/xiph/rav1e "$RAV1E_DIR"
git clone --depth 1 https://aomedia.googlesource.com/aom "$AOM_DIR" git clone --depth 1 https://aomedia.googlesource.com/aom "$AOM_DIR"
git clone --depth 1 https://github.com/Netflix/vmaf "$VMAF_DIR" git clone --depth 1 https://github.com/Netflix/vmaf "$VMAF_DIR"
git clone --depth 1 https://code.videolan.org/videolan/dav1d.git "$DAV1D_DIR" git clone --depth 1 https://code.videolan.org/videolan/dav1d.git "$DAV1D_DIR"
git clone --depth 1 https://github.com/xiph/opus.git "$OPUS_DIR" git clone --depth 1 https://github.com/xiph/opus.git "$OPUS_DIR"
git clone --depth 1 https://git.ffmpeg.org/ffmpeg.git "$FFMPEG_DIR" git clone --depth 1 https://git.ffmpeg.org/ffmpeg.git "$FFMPEG_DIR"
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://chromium.googlesource.com/webm/libvpx.git "$VPX_DIR"
export ARCH=$(uname -m) export ARCH=$(uname -m)
export COMP_FLAGS="" export COMP_FLAGS=""
@@ -138,6 +136,10 @@ fi
if [[ "$BUILD_PSY" == "true" ]]; if [[ "$BUILD_PSY" == "true" ]];
then then
# clone svt specific repos
git clone --depth 1 https://github.com/quietvoid/dovi_tool "$DOVI_DIR"
git clone --depth 1 https://github.com/gianni-rosato/svt-av1-psy "$SVT_PSY_DIR"
# build dovi_tool # build dovi_tool
cd "$DOVI_DIR/" || exit cd "$DOVI_DIR/" || exit
update_git update_git
@@ -252,6 +254,12 @@ sudo make install || exit
unset CFLAGS unset CFLAGS
if [[ "$BUILD_OTHERS" == "true" ]]; then 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://chromium.googlesource.com/webm/libvpx.git "$VPX_DIR"
FFMPEG_OTHERS="--enable-gpl --enable-libx264 --enable-libx265 --enable-libvpx" FFMPEG_OTHERS="--enable-gpl --enable-libx264 --enable-libx265 --enable-libvpx"
# build x264 # build x264

View File

@@ -2,4 +2,4 @@
git pull git pull
bash ./scripts/install_deps.sh || exit 1 bash ./scripts/install_deps.sh || exit 1
bash ./scripts/build.sh || exit 1 bash ./scripts/build.sh $(cat .last_opts) || exit 1