Skip to content

📹 Custom FFmpeg Build Script (primarily for FreeNAS but should work on other platforms with some tweaks)

License

Notifications You must be signed in to change notification settings

hjdhjd/build-ffmpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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

  • The script will prompt you for dependencies that aren't installed that are needed for this build script to succeed.
  • clean will delete the staging, build, and target install locations.
  • build will download and build x264, x265, and ffmpeg from their respective repositories.
  • install will install the build to a final location, defined in the script.

About

📹 Custom FFmpeg Build Script (primarily for FreeNAS but should work on other platforms with some tweaks)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages