Installing ffmpeg on FreeBSD (or other Unix or Linux distributions)
Installing ffmpeg on FreeBSD couldn’t be simpler. Just type the following command:
pkg_add -r ffpmpeg
And that should install ffmpeg along with audio and video codecs and other dependencies.
Most likely, other Linux or Unix-based systems provide similar ways to install ffmpeg but unfortunately this is not well documented.