Ffmpeg installation on linux

How to Install FFmpeg on Ubuntu 22.04?

FFmpeg is a collection of tools that process audio and video files. It is open-source and completely free. Tasks that FFmpeg can perform include encoding, decoding, transcoding, streaming, filtering, muxing, demuxing, etc. It is a cross-platform compatible framework that works on Windows, Linux, Mac OS X, BDS systems, and Solaris.

If you are looking for a guide that will help in installing FFmpeg on the latest release of Ubuntu which is Ubuntu 22.04 then you are at the right place. Here we have summed up the steps through which you can install FFmpeg.

How to Install FFmpeg on Ubuntu 22.04

If you wish to learn the procedure of installing FFmpeg on Ubuntu 22.04 then read the full article.

Step 1: System update

A good practice before installing anything on your operating system is to update the system as well as the existing packages.

The system has been updated.

Step 2: Install FFmpeg

Ubuntu repositories have FFmpeg packages by default and these packages can be installed using the apt package manager. The command line that is used to install FFmpeg on Ubuntu 22.04 is as follows.

Step 3: Verify installation

Now in order to evaluate the successful installation of FFmpeg, use the following command.

FFmpeg has been installed successfully.

Step 4: Encoders & Decoders

To know the available encoders and decoders of FFmpeg use the commands given below.

These are the available encoders.

Читайте также:  Using ftp with linux

And these are existing decoders.

In this way, following these simple steps, you can install FFmpeg on Ubuntu 22.04.

How to uninstall FFmpeg on Ubuntu 22.04

If you wish to uninstall FFmpeg from the system then follow the steps below.

Step 1: Remove FFmpeg

To remove the FFmpeg package use this command.

Step 2: Clear Repository

Now clean your system repository by using the commands provided below. These commands not only clear the repository but also remove the packages that were installed because some other packages required them and now these are no longer needed.

Repository has been cleared.

Conclusion

For the purpose of installing FFmpeg on your Ubuntu 22.04 use the command $ sudo apt install ffmpeg. After running this command in order to make sure that FFmpeg was installed with success use the command $ ffmpeg -version. Moreover, there are some encoders and decoders available in FFmpeg so to check them use these commands, $ ffmpeg -encoders, and $ ffmpeg -decoders.

About the author

Naima Aftab

I am a software engineering professional with a profound interest in writing. I am pursuing technical writing as my full-time career and sharing my knowledge through my words.

Источник

Download FFmpeg

FFmpeg only provides source code. Below are some links that provide it already compiled and ready to go.

Linux Packages

Linux Static Builds

Windows EXE Files

macOS

Get the Sources

You can retrieve the source code through Git by using the command:

git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg

FFmpeg has always been a very experimental and developer-driven project. It is a key component in many multimedia projects and has new features added constantly. Development branch snapshots work really well 99% of the time so people are not afraid to use them.

Git Repositories

Since FFmpeg is developed with Git, multiple repositories from developers and groups of developers are available.

Release Verification

All FFmpeg releases are cryptographically signed with our public PGP key and should be verified for authenticity.

pub rsa2048 2011-04-26 [SC] FCF986EA15E6E293A5644F10B4322F04D67658D8 uid [ full ] FFmpeg release signing key sub rsa2048 2011-04-26 [E]

    Import our public key into your local keyring:

$ curl https://ffmpeg.org/ffmpeg-devel.asc | gpg --import
$ gpg --verify ffmpeg-4.3.2.tar.xz.asc ffmpeg-4.3.2.tar.xz gpg: Signature made Sun 21 Feb 2021 06:35:15 AEST gpg: using RSA key FCF986EA15E6E293A5644F10B4322F04D67658D8 gpg: issuer "ffmpeg-devel@ffmpeg.org" gpg: Good signature from "FFmpeg release signing key " [full]

Releases

Approximately every 6 months the FFmpeg project makes a new major release. Between major releases point releases will appear that add important bug fixes but no new features. Note that these releases are intended for distributors and system integrators. Users that wish to compile from source themselves are strongly encouraged to consider using the development branch (see above), this is the only version on which FFmpeg developers actively work. The release branches only cherry pick selected changes from the development branch, which therefore receives much more and much faster bug fixes such as additional features and security patches.

Читайте также:  Astra linux руководство администратора безопасности

FFmpeg 6.0 «Von Neumann»

6.0 was released on 2023-02-27. It is the latest stable FFmpeg release from the 6.0 release branch, which was cut from master on 2023-02-19.

It includes the following library versions:

libavutil 58. 2.100 libavcodec 60. 3.100 libavformat 60. 3.100 libavdevice 60. 1.100 libavfilter 9. 3.100 libswscale 7. 1.100 libswresample 4. 10.100 libpostproc 57. 1.100

FFmpeg 5.1.3 «Riemann»

5.1.3 was released on 2023-03-26. It is the latest stable FFmpeg release from the 5.1 release branch, which was cut from master on 2022-07-13.

It includes the following library versions:

libavutil 57. 28.100 libavcodec 59. 37.100 libavformat 59. 27.100 libavdevice 59. 7.100 libavfilter 8. 44.100 libswscale 6. 7.100 libswresample 4. 7.100 libpostproc 56. 6.100

FFmpeg 5.0.3 «Lorentz»

5.0.3 was released on 2023-04-02. It is the latest stable FFmpeg release from the 5.0 release branch, which was cut from master on 2022-01-04.

It includes the following library versions:

libavutil 57. 17.100 libavcodec 59. 18.100 libavformat 59. 16.100 libavdevice 59. 4.100 libavfilter 8. 24.100 libswscale 6. 4.100 libswresample 4. 3.100 libpostproc 56. 3.100

FFmpeg 4.4.4 «Rao»

4.4.4 was released on 2023-04-12. It is the latest stable FFmpeg release from the 4.4 release branch, which was cut from master on 2021-04-08.

It includes the following library versions:

libavutil 56. 70.100 libavcodec 58.134.100 libavformat 58. 76.100 libavdevice 58. 13.100 libavfilter 7.110.100 libswscale 5. 9.100 libswresample 3. 9.100 libpostproc 55. 9.100

FFmpeg 4.3.6 «4:3»

4.3.6 was released on 2023-04-16. It is the latest stable FFmpeg release from the 4.3 release branch, which was cut from master on 2020-06-08.

Читайте также:  Линукс скрыть свой ip

It includes the following library versions:

libavutil 56. 51.100 libavcodec 58. 91.100 libavformat 58. 45.100 libavdevice 58. 10.100 libavfilter 7. 85.100 libswscale 5. 7.100 libswresample 3. 7.100 libpostproc 55. 7.100

FFmpeg 4.2.9 «Ada»

4.2.9 was released on 2023-04-21. It is the latest stable FFmpeg release from the 4.2 release branch, which was cut from master on 2019-07-21.

It includes the following library versions:

libavutil 56. 31.100 libavcodec 58. 54.100 libavformat 58. 29.100 libavdevice 58. 8.100 libavfilter 7. 57.100 libswscale 5. 5.100 libswresample 3. 5.100 libpostproc 55. 5.100

FFmpeg 4.1.11 «al-Khwarizmi»

4.1.11 was released on 2023-06-07. It is the latest stable FFmpeg release from the 4.1 release branch, which was cut from master on 2018-11-02.

It includes the following library versions:

libavutil 56. 22.100 libavcodec 58. 35.100 libavformat 58. 20.100 libavdevice 58. 5.100 libavfilter 7. 40.101 libswscale 5. 3.100 libswresample 3. 3.100 libpostproc 55. 3.100

FFmpeg 3.4.13 «Cantor»

3.4.13 was released on 2023-06-12. It is the latest stable FFmpeg release from the 3.4 release branch, which was cut from master on 2017-10-11.

It includes the following library versions:

libavutil 55. 78.100 libavcodec 57.107.100 libavformat 57. 83.100 libavdevice 57. 10.100 libavfilter 6.107.100 libavresample 3. 7. 0 libswscale 4. 8.100 libswresample 2. 9.100 libpostproc 54. 7.100

FFmpeg 2.8.21 «Feynman»

2.8.21 was released on 2022-10-30. It is the latest stable FFmpeg release from the 2.8 release branch, which was cut from master on 2015-09-05. Amongst lots of other changes, it includes all changes from ffmpeg-mt, libav master of 2015-08-28, libav 11 as of 2015-08-28.

It includes the following library versions:

libavutil 54. 31.100 libavcodec 56. 60.100 libavformat 56. 40.101 libavdevice 56. 4.100 libavfilter 5. 40.101 libavresample 2. 1. 0 libswscale 3. 1.101 libswresample 1. 2.101 libpostproc 53. 3.100

Источник

Оцените статью
Adblock
detector