HostOnNet Blog

Install ffmpeg on Fedora 24

Looking for Linux Server Admin or WordPress Expert? We can help.

FFmpeg is an open source software used to convert video/audio into different format.

To Install ffmpeg on Fedora 24, install rpmfusion repository.

https://rpmfusion.org/Configuration

rpm -ivh https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-24.noarch.rpm
rpm -ivh https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-24.noarch.rpm

Update your package cache

dnf update

Now install ffmpeg with

dnf install ffmpeg

After installation, you will see

[root@ns378707 ~]# ffmpeg -version
ffmpeg version 3.1.7 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.1 (GCC) 20161221 (Red Hat 6.3.1-1)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --extra-cflags=-I/usr/include/nvenc --enable-openal --enable-opencl --enable-libopencv --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
libavutil      55. 28.100 / 55. 28.100
libavcodec     57. 48.101 / 57. 48.101
libavformat    57. 41.100 / 57. 41.100
libavdevice    57.  0.101 / 57.  0.101
libavfilter     6. 47.100 /  6. 47.100
libavresample   3.  0.  0 /  3.  0.  0
libswscale      4.  1.100 /  4.  1.100
libswresample   2.  1.100 /  2.  1.100
libpostproc    54.  0.100 / 54.  0.100
[root@ns378707 ~]# 

To find Package details

[root@ns378707 ~]# rpm -qa | grep ffmpeg
ffmpeg-libs-3.1.7-1.fc24.x86_64
ffmpeg-3.1.7-1.fc24.x86_64
[root@ns378707 ~]# dnf info ffmpeg-3.1.7-1.fc24.x86_64
Last metadata expiration check: 0:06:24 ago on Thu Mar  2 16:42:29 2017.
Installed Packages
Name        : ffmpeg
Arch        : x86_64
Epoch       : 0
Version     : 3.1.7
Release     : 1.fc24
Size        : 2.0 M
Repo        : @System
From repo   : rpmfusion-free-updates
Summary     : Digital VCR and streaming server
URL         : http://ffmpeg.org/
License     : GPLv2+
Description : FFmpeg is a complete and free Internet live audio and video
            : broadcasting solution for Linux/Unix. It also includes a digital
            : VCR. It can encode in real time in many formats including MPEG1 audio
            : and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

[root@ns378707 ~]# 

Posted in Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.