ffmpeg-build-script is a shell-based automation tool that simplifies compiling FFmpeg from source with a wide range of codecs and libraries. It automates downloading dependencies, configuring build options, and generating static FFmpeg binaries for Linux and macOS systems. The script supports enabling GPL and non-free codecs, allowing access to advanced encoding features such as x264, x265, and AV1. It also includes options for hardware acceleration and customization of build parameters. Designed for reproducibility, it ensures consistent builds across environments without manual dependency management. The script is particularly useful for developers and system administrators who need optimized FFmpeg builds tailored to specific workflows. Overall, it streamlines a complex build process into a single command-driven workflow.
Features
- Automated compilation of FFmpeg from source
- Support for GPL and non-free codecs
- Customizable build configurations and flags
- Hardware acceleration support for encoding
- Cross-platform compatibility for Linux and macOS
- Reproducible builds with dependency management