Customize FFmpeg build and external libraries
masterYou can tune the FFmpeg build process through several methods:
- Vanilla Build: The
masterbranch builds a 'vanilla' version containing all default components and shared libraries. - Customized Build (Example): The
media-filebranch provides an example of a tuned build that only compiles necessary functionality, resulting in much smaller output binaries. - External Libraries: You can add arbitrary external libraries that FFmpeg supports. This requires specifying how the source code is downloaded and how the build operation is performed.
- FFmpeg Version: You can override the default FFmpeg version (currently 7.1.1) by passing arguments to the script.
- Script Arguments: Various arguments are available to tune specific features, such as selecting desired ABIs or the Android platform version (default is API 19, though NDK r23 allows API 16, and some libraries like
libvpxrequire API 21).