How to Install FFmpeg on code example
Example 1: install ffmpeg ubuntu
# On Ubuntu 18.04
$ sudo add-apt-repository ppa:jonathonf/ffmpeg-4
$ sudo apt install ffmpeg
# check version
$ ffmpeg --version
# You can download Windows builds from ffmpeg site.
Example 2: 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.