brew install ffmpeg with options code example
Example: install ffmpeg mac
There are three options, sorted by complexity:
Homebrew (or other package managers)
Static builds
Compile yourself
To follow this you need to have a bit of knowledge using a terminal/shell under macOS.