From 5e63912a372f4c6cee30a1ac95035dca8ec5402e Mon Sep 17 00:00:00 2001 From: MartinEesmaa Date: Wed, 16 Apr 2025 17:43:30 +1000 Subject: [PATCH] BuildFFmpeg.sh: No need to upgrade necessary Also, you can copy the legacy FFmpeg VVCEasy Linux build at any time. --- BuildFFmpeg.sh | 10 +++++----- FFMPEGVVC.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/BuildFFmpeg.sh b/BuildFFmpeg.sh index ee5d897..cd4410d 100755 --- a/BuildFFmpeg.sh +++ b/BuildFFmpeg.sh @@ -10,12 +10,12 @@ case "$(uname -s)" in OS="Linux" DISTRO=$(cat /etc/*release | grep ^ID= | cut -d= -f2 | tr -d '"') echo "Building FFmpeg VVCEasy $OS version..." - echo "Updating and upgrading system packages..." + echo "Downloading system required packages..." case $DISTRO in debian|ubuntu) echo "Detected Debian/Ubuntu" - sudo apt update && sudo apt upgrade -y + sudo apt update echo "Installing dependencies for Debian/Ubuntu..." sudo apt install build-essential cmake nasm autoconf pkg-config \ python3-setuptools ninja-build python3-pip libtool git wget xxd -y @@ -23,7 +23,7 @@ case "$(uname -s)" in ;; arch) echo "Detected Arch Linux" - sudo pacman -Syu --noconfirm + sudo pacman -Sy echo "Installing dependencies for Arch..." sudo pacman -S --noconfirm base-devel cmake nasm autoconf pkg-config \ python-setuptools ninja python-pip libtool git wget xxd @@ -57,7 +57,7 @@ case "$(uname -s)" in extra="--disable-w32threads --enable-libcodec2" echo "Building FFmpeg VVCEasy Windows version..." echo "Updating and upgrading MSYS2 packages..." - pacman -Syu + pacman -Sy echo "Installing MSYS2 packages..." pacman -S python git nasm vim wget xxd $MINGW_PACKAGE_PREFIX-{toolchain,cmake,autotools,meson,ninja} ;; @@ -139,7 +139,7 @@ cd libjxl && cmake $cmakeoptions -DBUILD_TESTING=OFF -DJPEGXL_ENABLE_{BENCHMARK, cd vmaf/libvmaf/build && CFLAGS="-msse2 -mfpmath=sse -mstackrealign" meson -Denable_tests=false -Denable_float=true $mesonoptions .. && ninja install && cd ../../.. cd SDL && cmake $cmakeoptions && make install -C build -j $(nproc) && cd .. cd zimg && $autogen && cd .. -cd soxr && cmake -D{WITH_LSR_BINDINGS,BUILD_TESTS,WITH_OPENMP}=off $cmakeoptions && cmake --build build -j $(nproc) --target install && cd .. +cd soxr && cmake -D{WITH_{LSR_BINDINGS,OPENMP},BUILD_TESTS}=off $cmakeoptions && cmake --build build -j $(nproc) --target install && cd .. cd dav1d/build && meson $mesonoptions .. && ninja install && cd ../.. sed -i 's/-lm/-lm -lstdc++/g' $PREFIX/lib/pkgconfig/libvmaf.pc diff --git a/FFMPEGVVC.md b/FFMPEGVVC.md index 27b5a0e..a6baafa 100644 --- a/FFMPEGVVC.md +++ b/FFMPEGVVC.md @@ -284,7 +284,7 @@ If compiling is success and finished, you can install FFmpeg VVC for using the c mv ffmpeg ffmpeg_vvceasy mv ffplay ffplay_vvceasy mv ffprobe ffprobe_vvceasy -sudo cp ffmpeg_vvceasy ffplay_vvceasy ffprobe_vvceasy /usr/local/bin +sudo cp ff*_vvceasy /usr/local/bin ``` On Windows is also available to compile FFmpeg-VVC using MSYS2, but build of FFmpeg-VVC shell script is deprecated.