Skip to content

Build ffmpeg with libfdk-aac from source for DDEV web containers

License

Notifications You must be signed in to change notification settings

ptmkenny/ddev-ffmpeg-nonfree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add-on registry tests last commit release

DDEV ffmpeg-nonfree

Builds ffmpeg from source inside the DDEV web container with --enable-nonfree --enable-libfdk-aac.

Why?

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.

Installation

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.

Usage

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

Credits

Contributed and maintained by @ptmkenny

Part of the code for this add-on was generated with Claude Code.

About

Build ffmpeg with libfdk-aac from source for DDEV web containers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages