How to install FFmpeg on Ubuntu Linux. FFmpeg is a command line tool to convert multimedia files on Linux Ubuntu Systems.
FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations.
It contains libavcodec, libavutil, libavformat, libavfilter, libavdevice, libswscale and libswresample which can be used by applications. As well as FFmpeg, ffplay and ffprobe which can be used by end users for transcoding and playing.
FFmpeg 4.1 “al-Khwarizmi”
FFmpeg 4.1 “al-Khwarizmi”, a new major release, is now available! Some of the highlights:
- deblock filter
- tmix filter
- amplify filter
- fftdnoiz filter
- aderivative and aintegral audio filters
- pal75bars and pal100bars video filter sources
- mbedTLS based TLS support
- adeclick and adeclip filters
- libtensorflow backend for DNN based filters like srcnn
- VC1 decoder is now bit-exact
- ATRAC9 decoder
- lensfun wrapper filter
- colorconstancy filter
- AVS2 video decoder via libdavs2
- IMM4 video decoder
- Brooktree ProSumer video decoder
- MatchWare Screen Capture Codec decoder
- WinCam Motion Video decoder
- 1D LUT filter (lut1d)
- RemotelyAnywhere Screen Capture decoder
- cue and acue filters
- Support for AV1 in MP4 and Matroska/WebM
- transpose_npp filter
- AVS2 video encoder via libxavs2
- amultiply filter
- Block-Matching 3d (bm3d) denoising filter
- acrossover filter
- ilbc decoder
- audio denoiser as afftdn filter
- AV1 parser
- sinc audio filter source
- chromahold filter
- setparams filter
- vibrance filter
- S12M timecode decoding in h264
- xstack filter
- (a)graphmonitor filter
- yadif_cuda filter
Install FFmpeg 4.1 in Ubuntu
Run the following commnads to install FFmpeg 4.1 in Ubuntu Linux and other Ubuntu Derivatives via PPA:
sudo apt-get update
sudo add-apt-repository ppa:jonathonf/ffmpeg-4
sudo apt-get update
sudo apt-get install ffmpeg
Once installed, restart the system to apply the changes.
Note that ffmpeg is a very fast video and audio converter that can also grab from a live audio/video source. It can also convert between arbitrary sample rates and resize video on the fly with a high quality polyphase filter.