docs: build FDK-AAC from source & point to correct pkgconfig dir

Your previous script didn't work for me, so here is one that should work on macOS. The errors were that libvvdec couldn't be found (fixed with export line) & that libfdk_aac couldn't be found (fixed with export line + building from source)
This commit is contained in:
Gianni Rosato 2023-12-28 00:02:57 -05:00 committed by GitHub
parent a95ffd377a
commit f0e9e4327c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -168,9 +168,10 @@ Homebrew
Code to build FFmpeg VVC version:
```
brew install libxml2 ffmpeg fdk-aac nasm
brew install libxml2 ffmpeg nasm
git clone https://github.com/fraunhoferhhi/vvenc
git clone https://github.com/fraunhoferhhi/vvdec
git clone https://github.com/mstorsjo/fdk-aac
cd vvenc && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
sudo cmake --build . --target install -j $nproc
@ -179,8 +180,13 @@ cd vvdec && mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
sudo cmake --build . --target install -j $nproc
cd ../../
cd fdk-aac && ./autogen.sh && ./configure
make -j
sudo make install
cd ../
git clone --depth=1 https://github.com/MartinEesmaa/FFmpeg-FixVVC
cd FFmpeg-FixVVC
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./configure --enable-libfdk-aac --enable-libvvenc --enable-libvvdec --enable-static --enable-pic --enable-libxml2 --pkg-config-flags="--static" --enable-sdl2
make -j
```
@ -220,4 +226,4 @@ AC4 decoder programmer to FFmpeg: [@richardpl](https://github.com/richardpl) (Pa
AC4 support in mp4 container: [@AUGxhub](https://github.com/AUGxhub) Repository: https://github.com/AUGxhub/FFmpeg/tree/patch-1
- Martin Eesmaa
- Martin Eesmaa