From f0e9e4327c040787880ca00387625f8f3a279177 Mon Sep 17 00:00:00 2001 From: Gianni Rosato <35711760+gianni-rosato@users.noreply.github.com> Date: Thu, 28 Dec 2023 00:02:57 -0500 Subject: [PATCH] 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) --- FFMPEGVVC.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/FFMPEGVVC.md b/FFMPEGVVC.md index 70f11ce..512a4c7 100644 --- a/FFMPEGVVC.md +++ b/FFMPEGVVC.md @@ -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 \ No newline at end of file +- Martin Eesmaa