Question: How can install FFmpeg on Fedora 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.
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
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 29
There are two steps to installing FFmpeg on Fedora 29.
Step 1: Configure RPMfusion Yum Repository
FFmpeg packages are available in RPMfusion repository. Add it to your Fedora 19 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 29
After the repository has been added, proceed to install FFmpeg on Fedora 29.
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 29
$ ffmpeg -version
ffmpeg version 4.0.3 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 8 (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 5: 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.
If you want to download Videos from YouTube, check:
You can also get all command line options from:
$ ffmpeg --help
Other example usage of FFmpeg is:
Thank you for using our guide to install FFmpeg on Fedora 29.