-
-
Notifications
You must be signed in to change notification settings - Fork 55
Compile SVT AV1
Anime4000 edited this page Jul 2, 2024
·
3 revisions
Using MSYS2
Download and Install with default
Open any MSYS Terminal
pacman -Syu
Open MINGW64 Terminal
pacman -Su
pacman -S --needed base-devel git subversion mercurial nasm yasm cmake mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-qt5 mingw-w64-cross-binutils mingw-w64-x86_64-ninja
ln -s /mingw64/bin/windres /mingw64/bin/x86_64-w64-mingw32-windres
git clone https://gitlab.com/AOMediaCodec/SVT-AV1
cd SVT-AV1/Build
mkdir msys2
cd msys2
cmake ../.. -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_C_FLAGS_RELEASE="-O3 -DNDEBUG -static" -DCMAKE_CXX_FLAGS_RELEASE="-O3 -DNDEBUG -static" -DBUILD_SHARED_LIBS=OFF
make