update mac os build codes

This commit is contained in:
Martin Eesmaa 2022-08-27 13:36:34 +10:00 committed by GitHub
parent df79882384
commit c4ea940691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions

View File

@ -122,7 +122,7 @@ Requirements:
Xcode Xcode
Cmake CMake
NASM NASM
@ -131,21 +131,21 @@ Homebrew
Code to build FFmpeg VVC version: Code to build FFmpeg VVC version:
``` ```
brew install x264 x265 libvpx libxml2 libopusenc brew install libxml2 ffmpeg fdk-aac
git clone https://github.com/fraunhoferhhi/vvenc git clone https://github.com/fraunhoferhhi/vvenc
git clone https://github.com/fraunhoferhhi/vvdec git clone https://github.com/fraunhoferhhi/vvdec
cd vvenc && mkdir build && cd build cd vvenc && mkdir build && cd build
cmake -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=/usr/local .. cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
cmake --build . --config Release --target install cmake --build . --target install -j $nproc
cd ../../ cd ../../
cd vvdec && mkdir build && cd build cd vvdec && mkdir build && cd build
cmake -DBUILD_SHARED_LIBS=1 -DCMAKE_INSTALL_PREFIX=/usr/local .. cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
cmake --build . --config Release --target install cmake --build . --target install -j $nproc
cd ../../ cd ../../
git clone --depth=1 https://github.com/tbiat/FFmpeg git clone --depth=1 https://github.com/MartinEesmaa/FFmpeg-FixVVC
cd FFmpeg cd FFmpeg-FixVVC
./configure --enable-gpl --enable-version3 --enable-libvvenc --enable-libvvdec --enable-pic --enable-libxml2 --enable-libx264 --enable-libx265 --enable-libvpx --enable-libopus --enable-sdl2 ./configure --enable-libfdk-aac --enable-libvvenc --enable-libvvdec --enable-static --enable-pic --enable-libxml2 --pkg-config-flags="--static" --enable-sdl2
make make -j
``` ```
# Linux downloaders (Important note) # Linux downloaders (Important note)
@ -172,7 +172,7 @@ cd libxml2 && autoreconf -if && ./configure --prefix=/usr/local --enable-static
cd .. && \ cd .. && \
cd SDL && ./configure --prefix=/usr/local --enable-static --disable-shared && sudo make install -j $nproc && \ cd SDL && ./configure --prefix=/usr/local --enable-static --disable-shared && sudo make install -j $nproc && \
cd .. && cd FFmpeg-FixVVC && \ cd .. && cd FFmpeg-FixVVC && \
./configure --enable-static --pkg-config-flags="--static" --extra-libs="-lpthread -lm -lz" --extra-ldexeflags="-static" \ ./configure --enable-static --pkg-config-flags="--static" --extra-ldexeflags="-static" \
--enable-libfdk-aac --enable-libvvenc --enable-libvvdec --enable-pic \ --enable-libfdk-aac --enable-libvvenc --enable-libvvdec --enable-pic \
--enable-libxml2 --enable-sdl2 && \ --enable-libxml2 --enable-sdl2 && \
make -j make -j