


In this part, we will look at some basic examples to use the ffmpeg utility. Now, FFmpeg is installed successfully and ready to be used. Sudo rm -rf /etc/apt//savoury1-ubuntu-ffmpeg4-focal.Ffmpeg version 4.4.1-3ubuntu5 Copyright (c) 2000-2021 the FFmpeg developersīuilt with gcc 11 (Ubuntu 11.2.0-18ubuntu1)Ĭonfiguration: -prefix=/usr -extra-version=3ubuntu5 -toolchain=hardened -libdir=/usr/lib/x86_64-linux-gnu -incdir=/usr/include/x86_64-linux-gnu -arch=amd64 -enable-gpl -disable-stripping -enable-gnutls -enable-ladspa -enable-libaom -enable-libass -enable-libbluray -enable-libbs2b -enable-libcaca -enable-libcdio -enable-libcodec2 -enable-libdav1d -enable-libflite -enable-libfontconfig -enable-libfreetype -enable-libfribidi -enable-libgme -enable-libgsm -enable-libjack -enable-libmp3lame -enable-libmysofa -enable-libopenjpeg -enable-libopenmpt -enable-libopus -enable-libpulse -enable-librabbitmq -enable-librubberband -enable-libshine -enable-libsnappy -enable-libsoxr -enable-libspeex -enable-libsrt -enable-libssh -enable-libtheora -enable-libtwolame -enable-libvidstab -enable-libvorbis -enable-libvpx -enable-libwebp -enable-libx265 -enable-libxml2 -enable-libxvid -enable-libzimg -enable-libzmq -enable-libzvbi -enable-lv2 -enable-omx -enable-openal -enable-opencl -enable-opengl -enable-sdl2 -enable-pocketsphinx -enable-librsvg -enable-libmfx -enable-libdc1394 -enable-libdrm -enable-libiec61883 -enable-chromaprint -enable-frei0r -enable-libx264 -enable-shared Remove GPG key and repository: sudo rm -rf /etc/apt//savoury1_ubuntu_ffmpeg4.gpg If you want to completely remove FFmpeg and related dependencies, execute the following command: sudo apt purge -autoremove -y ffmpeg When it finished, we can check FFmpeg version: ffmpeg -versionĪvailable encoders and decoders can be checked using the following commands: ffmpeg -encodersĭownload sample video file: wget -O test.mp4 Ĭonvert MP4 video file format to MKV using ffmpeg command: ffmpeg -i test.mp4 out.mkv Uninstall FFmpeg

Install FFmpeg 4.4: sudo apt install -y ffmpeg Install FFmpegĪdd the FFmpeg repository: sudo add-apt-repository -y ppa:savoury1/ffmpeg4 This tutorial demonstrates how to install FFmpeg 4.4 on Ubuntu 20.04.

These tools used for converting video and audio files from one format into another, resizing videos, streaming audio and video, and doing various other actions with media files. FFmpeg is an open-source collection of tools that allows to process video and audio files.
