

Then, use the command below to install FFmpeg: sudo apt-get install ffmpeg Step 2 : How to Check FFmpeg Version on Ubuntu Next Article: How to Install OpenCV on Ubuntu 20.Recommended Article: Tutorial Install FFmpeg on Ubuntu 20.04įirst, you have to need to update the ubuntu with the command below: sudo apt-get update In this tutorial we have learned how to install and use FFmpeg on Ubuntu 20.04. Successfully we have installed FFmpeg on Ubuntu 20.04. ffmpeg -i demo.mp4 demo.webmĬonvert an audio file from mp3 to ogg format. Use FFmpeg on Ubuntu 20.04:Ĭonvert a video file from WebM to mp4. Now we have installed the latest version of ffmpeg from source.

Now verify the FFmpeg installation by running the command below. PATH="$HOME/bin:$PATH" sudo make & sudo make install

extra-ldflags="-L$HOME/ffmpeg_build/lib" \ extra-cflags="-I$HOME/ffmpeg_build/include" \ PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" \ To complete the FFmpeg installation on Ubuntu 20.04 run the below command and click enter this will install the FFmpeg latest version on Ubuntu 20.04 from official source. tar -xvf 2 cd ~/ffmpegdemoĪfter extract the FFmpeg source file now complete the installation on Ubuntu 20.04.

mkdir ~/ffmpegdemo cd ~/ffmpegdemo wget -O 2 Īfter the successful download extract the file and navigate to the FFmpeg folder. To download the FFmpeg latest version source file from official source run the commands below. Now download the FFmpeg latest source file. sudo apt update sudo apt install libvpx-dev libx264-dev yasm libass-dev libtheora-dev mercurial cmake build-essential libopus-dev libmp3lame-dev libfdk-aac-dev libvorbis-dev libx265-dev Let start the FFmpeg installation.īefore installing FFmpeg from source we need to install some packages on Ubuntu 20.04. Installing FFmpeg from official sources enables more features. To install the FFmpeg latest version on ubuntu 20.04 then install it from official source. To check the available encoders and decoders run the commands below. That’s all we have successfully installed FFmpeg on Ubuntu 20.04 from Ubuntu repository. sudo apt updateĪfter successfully installation now verify the installation. To update the packages and install FFmpeg on Ubuntu 20.04 run the commands below. Let’s start the FFmpeg installation.īefore installing the FFmpeg on Ubuntu 20.04, update the Ubuntu packages and install FFmpeg. This is the simplest method to install FFmpeg on ubuntu 20.04. Ubuntu repository having FFmpeg packages we can install FFmpeg with apt package tool. In this tutorial we will show you how to install and use FFmpeg on ubuntu 20.04.
