5

How To Install FFmpeg on Fedora 34/33/32/31/30/29

 3 years ago
source link: https://computingforgeeks.com/how-to-install-ffmpeg-on-fedora/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
How To Install FFmpeg on Fedora 34/33/32/31/30/29

Question: How can install FFmpeg on Fedora 34/33/32/31/30/29?. FFmpeg is a free and open source multimedia framework that can encode, decode, stream, transcode, mux, demux, play and filter almost any multimedia file created by humans and machines.

install ffmpeg fedora 29

FFmpeg is a cross-platform application which runs on Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc, under wide variety of build environments, configurations and machine architectures

FFmpeg Tools

There are three main components of FFmpeg.

  • ffmpeg – A command line tool to convert multimedia files between formats
  • ffplay – A simple media player based on SDL and the FFmpeg libraries
  • ffprobe – A simple multimedia stream analyzer

FFmpeg also contain Libraries for developers – libavutil, libavcodec, libavformat, libavdevice, libavfilter, libswscale and libswresample.

The transcoding process in ffmpeg for each output can be described by the following diagram:

Install FFmpeg on Fedora 34/33/32/31/30/29

There are two steps to installing FFmpeg on Fedora.

Step 1: Configure RPMfusion Yum Repository

FFmpeg packages are available in RPMfusion repository. Add it to your Fedora using the commands below.

sudo dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf -y install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Step 2: Install FFmpeg on Fedora 34/33/32/31/30

After the repository has been added, proceed to install FFmpeg on Fedora.

sudo dnf -y install ffmpeg

Install development libraries by running the command\:

sudo dnf -y install ffmpeg-devel

Step 3: Check FFmpeg Version

Check the version of FFmpeg installed on your Fedora system using the command.

$ ffmpeg -version
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (GCC)
....

libavutil      56. 14.100 / 56. 14.100
libavcodec     58. 18.100 / 58. 18.100
libavformat    58. 12.100 / 58. 12.100
libavdevice    58.  3.100 / 58.  3.100
libavfilter     7. 16.100 /  7. 16.100
libavresample   4.  0.  0 /  4.  0.  0
libswscale      5.  1.100 /  5.  1.100
libswresample   3.  1.100 /  3.  1.100
libpostproc    55.  1.100 / 55.  1.100

Step 4: Using FFmpeg

The usage of ffmpeg depends on individual projects and desired output. Refer to the official FFmpeg documentation for an in-depth description of its features and examples.

Other example is Converting mp4/mkv/WebM to mp3 on Linux with FFmpeg

If you want to download Videos from YouTube, check:

Annie – Fastest YouTube Video Downloader for Linux

You can also get all command line options from:

$ ffmpeg --help

Thank you for using our guide to install FFmpeg on Fedora.

For CentOS 8 / RHEL 8, use: How To Install FFmpeg on CentOS 8 / RHEL 8

Other Fedora articles:

How to Install TeamViewer on Fedora

How to Install PHP on Fedora

Install and Configure phpMyAdmin on Fedora


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK