-
Notifications
You must be signed in to change notification settings - Fork 178
External libraries integration
It is possible to extend the script with a functionality that downloads and builds an additional library that will be integrated into FFmpeg's result binaries.
An actual list of libraries that are supported can be found in the FFmpeg's configure script near the 'External library support' section.
To add a new library to the compilation process several steps should be done:
In scripts/parse-arguments.sh file you need to add a block similar to this:
--enable-libdav1d)
EXTERNAL_LIBRARIES+=( "libdav1d" )
shift
;;
The actual value of the --enable-xxx has to be picked from the FFmpeg's configure script arguments list.
The libdav1d in this case is a name of a library and it is used in several other places. Stay tuned.
They both have to be placed in a directory with the name of an external library, like script/libdav1d, for example.