Builds ffmpeg from source inside the DDEV web container with --enable-nonfree --enable-libfdk-aac.
Debian’s packaged ffmpeg excludes libfdk_aac because the Fraunhofer FDK AAC license is incompatible with the GPL. This add-on compiles ffmpeg from source, linking against Debian’s libfdk-aac-dev (from the non-free apt component), so you get a fully functional AAC encoder inside your DDEV project.
ddev add-on get ptmkenny/ddev-ffmpeg-nonfree
ddev restart
The first ddev restart after installation will be slow because ffmpeg is compiled from source inside the web container.
After installation, commit the .ddev directory to version control.
ffmpeg runs inside the web container:
ddev exec ffmpeg -version
ddev exec ffmpeg -i input.wav -c:a libfdk_aac -b:a 128k output.m4a
Contributed and maintained by @ptmkenny
Part of the code for this add-on was generated with Claude Code.