How to build fdk-aac on Windows

According to hydrogenaud.io, Fraunhofer FDK AAC codec is the 3rd most recommended AAC encoder. Here’s how to compile fdk-aac.exe binary which then can be used to convert audio files with such audio players as foobar2000 or MusicBee:

  1. Install MSYS2 from MSYS2 homepage
  2. Open the installed msys64 folder and execute mingw64.exe
  3. Update the package database and core system packages with: pacman -Syu
  4. If needed, close MSYS2, run it again from Start menu. Update the rest with: pacman -Su
  5. Install git: pacman -S git
  6. Install development tools with: pacman -S mingw-w64-x86_64-gcc autoconf automake-wrapper make
  7. Clone GitHub repository of “libfdk-aac for Windows binary builder” : git clone https://github.com/kekyo/fdk-aac-win32-builder.git
  8. Change directory in your MSYS2 MinGW-64bit terminal: cd ./fdk-aac-win32-builder
  9. Execute two scripts inside the directory:
    • ./download.sh
    • ./build.sh
  10. After the compilation process is over you’ll find your fdkaac.exe binary and linked libfdk-aac-2.dll file in the artifacts\x86_64-w64-mingw32 folder, just copy those two files into your preferred player’s folder for encoders.

Comment

Your email address will not be published. Required fields are marked *