fix cd, improve windows build script of ffmpeg vvc
This commit is contained in:
parent
e44fe0a907
commit
826f9ecd76
|
@ -2,7 +2,7 @@ echo Updating & upgrading MSYS2 packages... (if system core update requires rebo
|
|||
pacman -Syu
|
||||
pacman -Su
|
||||
echo Installing MSYS2 packages...
|
||||
pacman -S python nasm $MINGW_PACKAGE_PREFIX-{toolchain,cmake,autotools}
|
||||
pacman -S python nasm $MINGW_PACKAGE_PREFIX-{toolchain,cmake,autotools,meson,ninja}
|
||||
echo Starting process of FFmpeg build with libvvenc and libvvdec...
|
||||
mkdir buildffmpegwin && cd buildffmpegwin
|
||||
git clone --depth=1 https://github.com/MartinEesmaa/FFmpeg-FixVVC
|
||||
|
@ -12,22 +12,36 @@ git clone --depth=1 https://github.com/mstorsjo/fdk-aac
|
|||
git clone --depth=1 https://github.com/libsdl-org/SDL
|
||||
git clone --depth=1 https://github.com/gnome/libxml2
|
||||
git clone --depth=1 https://github.com/xiph/opus
|
||||
git clone --depth=1 https://code.videolan.org/videolan/dav1d
|
||||
git clone --depth=1 https://github.com/Netflix/vmaf
|
||||
|
||||
echo Starting to build fdk-aac:
|
||||
cd fdk-aac
|
||||
autoreconf -if && ./configure --enable-static --disable-shared --prefix=$MSYSTEM_PREFIX && make install -j $nproc
|
||||
cd ..
|
||||
|
||||
echo Starting to build libxml2:
|
||||
cd libxml2
|
||||
autoreconf -if && ./configure --enable-static --disable-shared --prefix=$MSYSTEM_PREFIX && make install -j $nproc
|
||||
cd ..
|
||||
|
||||
echo Starting to build sdl2:
|
||||
cd SDL
|
||||
./configure --enable-static --disable-shared --prefix=$MSYSTEM_PREFIX && make install -j $nproc
|
||||
cd ..
|
||||
|
||||
echo Starting to build libopus to improve decode quality on FFmpeg:
|
||||
cd opus
|
||||
CFLAGS="-O2 -D_FORTIFY_SOURCE=0" LDFLAGS="-flto -s" ./configure --enable-static --disable-shared --prefix=$MSYSTEM_PREFIX && make install -j $nproc
|
||||
cd ..
|
||||
|
||||
echo Starting to build dav1d:
|
||||
mkdir dav1d/build && cd dav1d/build && meson -Denable_docs=false -Ddefault_library=static -Dprefix=$MSYSTEM_PREFIX && ninja install
|
||||
cd ../../
|
||||
|
||||
echo Starting to build vmaf to apply calculate VVC video references from original video:
|
||||
mkdir vmaf/libvmaf/build && cd vmaf/libvmaf/build && -Denable_docs=false -Ddefault_library=static -Dprefix=$MSYSTEM_PREFIX && ninja install
|
||||
cd ../../../
|
||||
|
||||
echo Starting to build vvenc & vvdec...
|
||||
cd vvenc
|
||||
|
|
Loading…
Reference in New Issue