mirror of
https://github.com/levogevo/ffmpeg-av1-builder.git
synced 2026-01-15 16:56:18 +00:00
fix build all
This commit is contained in:
@@ -14,7 +14,7 @@ usage() {
|
|||||||
# build with psy as default
|
# build with psy as default
|
||||||
export BUILD_PSY="true"
|
export BUILD_PSY="true"
|
||||||
GREP_FILTER="av1"
|
GREP_FILTER="av1"
|
||||||
OPTS='hporO:'
|
OPTS='hAsvorO:'
|
||||||
NUM_OPTS=$(echo -n $OPTS | wc -m)
|
NUM_OPTS=$(echo -n $OPTS | wc -m)
|
||||||
MIN_OPT=0
|
MIN_OPT=0
|
||||||
# using all
|
# using all
|
||||||
@@ -148,7 +148,7 @@ git clone --depth "$GIT_DEPTH" https://github.com/FFmpeg/FFmpeg "$FFMPEG_DIR"
|
|||||||
# IS_ROCKCHIP=$(uname -r | grep "rockchip" > /dev/null && echo "yes" || echo "no")
|
# IS_ROCKCHIP=$(uname -r | grep "rockchip" > /dev/null && echo "yes" || echo "no")
|
||||||
if [[ "$BUILD_ROCKCHIP" == "true" ]]
|
if [[ "$BUILD_ROCKCHIP" == "true" ]]
|
||||||
then
|
then
|
||||||
FFMPEG_CONFIGURE_OPT+="--enable-version3 --enable-libdrm --enable-rkmpp --enable-rkrga"
|
FFMPEG_CONFIGURE_OPT+="--enable-version3 --enable-libdrm --enable-rkmpp --enable-rkrga "
|
||||||
FFMPEG_DIR="$BASE_DIR/ffmpeg-rkmpp"
|
FFMPEG_DIR="$BASE_DIR/ffmpeg-rkmpp"
|
||||||
|
|
||||||
# clone rockchip specific repos
|
# clone rockchip specific repos
|
||||||
@@ -264,7 +264,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$BUILD_ALL_AV1" == "true" ]]; then
|
if [[ "$BUILD_ALL_AV1" == "true" ]]; then
|
||||||
FFMPEG_CONFIGURE_OPT+="--enable-libaom --enable-librav1e"
|
FFMPEG_CONFIGURE_OPT+="--enable-libaom --enable-librav1e "
|
||||||
|
|
||||||
# build rav1e
|
# build rav1e
|
||||||
cd "$RAV1E_DIR/" || exit
|
cd "$RAV1E_DIR/" || exit
|
||||||
@@ -297,7 +297,7 @@ if [[ "$BUILD_ALL_AV1" == "true" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$BUILD_VMAF" == "true" ]]; then
|
if [[ "$BUILD_VMAF" == "true" ]]; then
|
||||||
FFMPEG_CONFIGURE_OPT+="--enable-libvmaf"
|
FFMPEG_CONFIGURE_OPT+="--enable-libvmaf "
|
||||||
|
|
||||||
# build libvmaf
|
# build libvmaf
|
||||||
cd "$VMAF_DIR/libvmaf" || exit
|
cd "$VMAF_DIR/libvmaf" || exit
|
||||||
@@ -343,7 +343,7 @@ if [[ "$BUILD_OTHERS" == "true" ]]; then
|
|||||||
git clone --depth "$GIT_DEPTH" https://github.com/google/googletest "$GTEST_DIR"
|
git clone --depth "$GIT_DEPTH" https://github.com/google/googletest "$GTEST_DIR"
|
||||||
git clone --depth "$GIT_DEPTH" https://chromium.googlesource.com/webm/libvpx.git "$VPX_DIR"
|
git clone --depth "$GIT_DEPTH" https://chromium.googlesource.com/webm/libvpx.git "$VPX_DIR"
|
||||||
|
|
||||||
FFMPEG_CONFIGURE_OPT+="--enable-libx264 --enable-libx265 --enable-libvpx"
|
FFMPEG_CONFIGURE_OPT+="--enable-libx264 --enable-libx265 --enable-libvpx "
|
||||||
|
|
||||||
# build x264
|
# build x264
|
||||||
cd "$X264_DIR" || exit
|
cd "$X264_DIR" || exit
|
||||||
|
|||||||
Reference in New Issue
Block a user