Home

Awesome

build-ffmpeg

A bash script to create custom builds of FFmpeg primarily intended for TrueNAS / FreeBSD, but can work on other platforms with a little tweaking.

Like many developers, I adore automation and I'm lazy. These tend often tend to be the necessary ingredients that lead one to writing a script to automate a task like creating custom FFmpeg builds. In my case, I'm working on other projects that need specific support compiled into FFmpeg that the standard FreeBSD / TrueNAS packages don't provide.

This script resides on top of the work of others. It effectively is a cleaned up and fully automated version of the terrific FFmpeg HOWTO on the TrueNAS community forum. It will generate a static FFmpeg executable, along with it's usual siblings.

Usage

./build-ffmpeg.sh clean      # Cleanup old builds.
./build-ffmpeg.sh build      # Build or update a previous build with the latest from repos.
./build-ffmpeg.sh install    # Install to your final system location.

Notes