

When converting audio and video files with ffmpeg, you do not have to specify the input and output formats. In this section, we will look at some basic examples on how to use the ffmpeg utility. That’s it! FFmpeg has been installed on your system and ready to be used.įFmpeg 4 is also available from the Rob Savoury’s PPA

The output should look something like this: ffmpeg version n4.1.4 Copyright (c) 2000-2019 the FFmpeg developersīuilt with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1) Once done, verify the FFmpeg installation by running the ffmpeg -version command: ffmpeg -version The download may take some time depending on the speed of your connection. Open your terminal by pressing Ctrl+Alt+T and install the FFmpeg snap package, by typing: sudo snap install ffmpeg The easiest way is to install FFmpeg 4.x on Ubuntu 18.04 is by using the snappy The FFmpeg version 4.x adds a number of new filters, encoders, and decoders.

FFmpeg 3 is now installed on your system, and you can start using it. To print all available FFmpeg’s encoders and decoders type: ffmpeg -encoders ffmpeg -decoders The output should look something like this: ffmpeg version 3.4.4-0ubuntu0.18.04.1 Copyright (c) 2000-2018 the FFmpeg developersīuilt with gcc 7 (Ubuntu 7.3.0-16ubuntu3) To validate that the package is installed properly use the ffmpeg -version command which prints the FFmpeg version: ffmpeg -version Next, install FFmpeg by typing the following command: sudo apt install ffmpeg Start by updating the packages list: sudo apt update Perform the steps below to install FFmpeg 3.x on Ubuntu 18.04: However, the version included in the repositories may lag behind the latest version of FFmpeg.Īt the time of writing this article, the current version of FFmpeg available in the Ubuntu 18.04 repositories is 3.4.4. This is the easiest way to install FFmpeg on Ubuntu. The official Ubuntu repositories contain FFmpeg packages that can be installed with the apt package manager. You need to be logged in as root or user with sudo privileges The same instructions apply for Ubuntu 16.04 and any Ubuntu-based distribution, including Linux Mint and Elementary OS. We will show you how to install the distro stable version and the latest version of FFmpeg. This tutorial covers the steps required to install FFmpeg on Ubuntu 18.04. With FFmpeg, you can convert between various video and audio formats, set sample rates, and resize videos. It contains a set of shared audio and video libraries such as libavcodec, libavformat, and libavutil. FFmpeg is a free and open-source command-line tool for transcoding multimedia files.
