This tutorial will help you to install ffmpeg on Ubuntu 20.04 LTS Linux system.
Prerequisites
You must have shell access with sudo privileged account access on your Ubuntu 20.04 system. It is an good idea to keep your system packages update ot date. So, login to your system and update current packages on your system.
Install FFmpeg on Ubuntu 20.04
The Ubuntu 20.04 LTS contains ffmpeg debian packages under the default repositories. During the article update 4.2.4 is available for the installation. To install FFmpeg, open a terminal and execute the following commands.. Once the packages installed on your system. Check the version of ffmpeg on your system: Output:
Using FFmpeg Command Line
The ffmpeg command line interface provides a large number of options to work with it. Below is the list of basic command line options used with ffmpeg.
ffmpeg -version: show version ffmpeg -formats: show available formats ffmpeg -codecs: show available codecs ffmpeg -decoders: show available decoders ffmpeg -encoders: show available encoders ffmpeg -bsfs: show available bit stream filters ffmpeg -protocols: show available protocols ffmpeg -filters: show available filters ffmpeg -pix_fmts: show available pixel formats ffmpeg -layouts: show standard channel layouts ffmpeg -sample_fmts: show available audio sample formats
As as basic command line example, below command will reduce the size of a .mov file. Reduce .mov File Size: You can also convert a file format using ffmpeg command line. Below example command will change .mov file to .mp4 video format. Convert .mov To .mp4
Conclusion
This tutorial provides you instruction’s to how to install FFmpeg on Ubuntu 20.04 LTS Linux system. Also visit the official documentation page to learn more about uses of ffmpeg command line tool.