FFmpeg is a popular multimedia framework, that enables the users to easily ncode, transcode, mux, demux, stream, filter and play audio and video content.
Also worth mentioning, FFmpeg provides the ffmpeg tool for converting multimedia files, the ffserver streaming tool, the ffplay media player based on SDL and ffmpeg libraries and the ffprobe multimedia stream analyzer.
The latest version available is FFmpeg 3.2.4 “Hypatia”, which brings updates.
Up to date packages are available via some third party PPA, so installing the software on Ubuntu 16.10 Yakkety Yak, Ubuntu 16.04 Xenial Xerus, Ubuntu 14.04 Trusty Tahr, Linux Mint 18.x, Linux Mint 17.x, Elementary OS 0.3 Freya and other Ubuntu derivative systems.
All you have to do is add the PPA to your system, update the local repository index and install the ffmpeg package:
$ sudo add-apt-repository ppa:djcj/hybrid
$ sudo apt-get update
$ sudo apt-get install ffmpeg
Optional, to remove ffmpeg, do:
$ sudo apt-get remove ffmpeg