Install FFmpeg on CentOS using yum
Install epel repository using
1 |
yum install epel-release -y |
Method 1
Install rpmfusion for your distro
https://rpmfusion.org/Configuration
For CentOS 8
1 |
rpm -ivh https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm |
For CentOS 7
1 |
rpm -ivh https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm |
Install ffmpeg with
1 |
yum install ffmpeg |
2023-02-20 On CentOS 7, repo provided ffmpeg version 3.4.12. scrpms repo had a newer version.
Method 2
Install scrpms repo
On CentOS 7
1 2 |
wget http://scrpms.net/pub/RPMS/el7/x86_64/scrpms-repo-22-3.el7.x86_64.rpm rpm -ivh scrpms-repo-22-3.el7.x86_64.rpm |
On CentOS 6
1 2 |
wget http://scrpms.net/pub/RPMS/el6/x86_64/scrpms-repo-22-3.el6.x86_64.rpm rpm -ivh scrpms-repo-22-3.el6.x86_64.rpm |
Install ffmpeg with
1 |
yum install ffmpeg ffmpeg-devel |
NOTE:
2019-12-11 i tested it on CentOS 7. ffmpeg worked. Version is 4.2.1. mplayer/mencoder install failed with dependency error.
2023-02-20 CentOS 7 ffmpeg version 5.1.2
Method 3
On CentOS 7
1 |
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm |
Install ffmpeg with
1 |
yum install ffmpeg ffmpeg-devel |
NOTE: On 2019-12-11 i tested it on CentOS 7. ffmpeg and mencoder install worked. But version is very old. ffmpeg version 2.8.15. MPlayer SVN-r37391-4.8.3
See ffmpeg