Select the Gcore Platform

Gcore Edge Solutions
Go to Gcore Platform →
  • Edge Delivery (CDN)
  • DNS with failover
  • Virtual Machines
  • Bare Metal
  • Cloud Load Balancers
  • Managed Kubernetes
  • AI Infrastructure
  • Edge Security (DDOS+WAF)
  • FaaS
  • Streaming
  • Object Storage
  • ImageStack (Optimize and Resize)
  • Edge Compute (Coming soon)
Gcore Hosting
Go to Gcore Hosting →
  • VPS Hosting
  • Dedicated Servers
  • SSL Certificates


How to Install FFmpeg on Ubuntu 22.04

Explore our detailed, step-by-step guide on how to install FFmpeg on Ubuntu 22.04 and harness the power of this incredibly versatile multimedia software. Whether for commercial or open-source applications, FFmpeg’s suite of tools provides a wealth of features, from converting media file formats to capturing and recording multimedia content.

What Is FFmpeg?

FFmpeg is a comprehensive, open-source software solution proficient in managing a vast array of video, audio, and other multimedia files and streams. Known for its versatility, FFmpeg equips you with the tools to convert media files across numerous formats, stream multimedia content over networks, and even capture and record media. A cornerstone in the field of media processing, FFmpeg supports an abundance of codecs and formats, enabling you to handle media processing tasks with accuracy and efficiency.

Experience FFmpeg’s cross-platform functionality across Linux, Windows, macOS, and more, underscoring its widespread acceptance in both commercial and open-source software circles.

Installing FFmpeg on Ubuntu 22.04

1. Establish a connection to your server where Ubuntu is installed.

2. Refresh your system’s package list with the command:

sudo apt update

3. Install FFmpeg by executing the following command:

sudo apt install ffmpeg

During the installation process, you might be prompted for confirmation; press ‘Y’ to continue. You may also encounter alerts such as “Daemons using outdated libraries”. If needed, select the libraries and click ‘Ok’, or you can ignore them by clicking ‘Cancel’.

Package configuration Ubuntu

After the installation is complete, verify the version of FFmpeg installed by executing the command: 

ffmpeg -version

A successful installation will display the version of the command tool.

Version of FFmpeg installed on Ubuntu

Discover the extensive list of supported formats by entering the command:

$ ffmpeg -formats

The long list of supported formats showcases the remarkable adaptability of FFmpeg.

Media formats that are supported by FFmpeg

Subscribe to a useful newsletter

Favorable offers and important news once a month. No spam.