mirror of
https://github.com/MartinEesmaa/VVCEasy.git
synced 2025-06-05 21:59:20 +02:00
change ffmpeg mingw build script
This commit is contained in:
@ -1,23 +1,22 @@
|
|||||||
echo Starting process of FFmpeg build with libvvenc and libvvdec...
|
echo Starting process of FFmpeg build with libvvenc and libvvdec...
|
||||||
mkdir buildffmpegwin && cd buildffmpegwin
|
mkdir buildffmpegwin && cd buildffmpegwin
|
||||||
git clone --depth=10 https://github.com/tbiat/FFmpeg
|
git clone --depth=1 https://github.com/MartinEesmaa/FFmpeg-FixVVC
|
||||||
git clone --depth=1 https://github.com/fraunhoferhhi/vvenc
|
git clone --depth=1 https://github.com/fraunhoferhhi/vvenc
|
||||||
git clone --depth=1 https://github.com/fraunhoferhhi/vvdec
|
git clone --depth=1 https://github.com/fraunhoferhhi/vvdec
|
||||||
echo Starting to build vvenc...
|
echo Starting to build vvenc...
|
||||||
cd vvenc
|
cd vvenc
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. -G "MinGW Makefiles"
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$MSYSTEM_PREFIX -DVVENC_ENABLE_LINK_TIME_OPT=OFF .. -G "MinGW Makefiles"
|
||||||
cmake --build . --config Release --target install -j $nproc
|
cmake --build . --target install -j $nproc
|
||||||
cd ../../
|
cd ../../
|
||||||
cd vvdec
|
cd vvdec
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. -G "MinGW Makefiles"
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$MSYSTEM_PREFIX -DVVENC_ENABLE_LINK_TIME_OPT=OFF .. -G "MinGW Makefiles"
|
||||||
cmake --build . --config Release --target install -j $nproc
|
cmake --build . --target install -j $nproc
|
||||||
cd ../../
|
cd ../../
|
||||||
cd FFmpeg
|
cd FFmpeg-FixVVC
|
||||||
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
|
||||||
./configure --enable-libfdk-aac --enable-static --enable-libvvenc --enable-libvvdec --enable-pic \
|
./configure --enable-libfdk-aac --enable-static --enable-libvvenc --enable-libvvdec --enable-pic \
|
||||||
--enable-zlib --enable-libxml2 --extra-libs='-lpthread -lm -lz' --extra-ldexeflags=-static \
|
--enable-zlib --enable-libxml2 --extra-ldexeflags=-static \
|
||||||
--pkg-config-flags=-static --disable-w32threads && \
|
--pkg-config-flags=-static --disable-w32threads && \
|
||||||
make -j
|
make -j
|
||||||
echo FFmpeg VVC version tools are now compiled, please see buildffmpegwin/FFmpeg folder.
|
echo FFmpeg VVC version tools are now compiled, please see buildffmpegwin/FFmpeg folder.
|
||||||
|
Reference in New Issue
Block a user