Why I can't install ffmpeg on CentOS 7

Solution 1:

You do all right, as @Bert said, but this libraries should be installed from EPEL repository. You could install it by command yum install epel-release and after this dependency errors will gone away.

Here list of packets that installs from EPEL(filtered yum output):

 lame-libs                                                        x86_64                                                 3.99.5-8.el7                                                                        epel                                                       343 k
 libass                                                           x86_64                                                 0.13.4-1.el7                                                                        epel                                                        92 k
 libdc1394                                                        x86_64                                                 2.2.2-3.el7                                                                         epel                                                       121 k
 libva                                                            x86_64                                                 1.2.1-3.el7                                                                         epel                                                        68 k
 openal-soft                                                      x86_64                                                 1.16.0-3.el7                                                                        epel                                                       282 k
 schroedinger                                                     x86_64                                                 1.0.11-4.el7                                                                        epel                                                       291 k
 soxr                                                             x86_64                                                 0.1.2-1.el7                                                                         epel                                                        77 k

Solution 2:

try this:

Install the EPEL release repo

yum -y install epel-release

Import the GPG key for the Nux repo

rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

Install the NUX desktop release repo

rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

Run yum, enabling the EPEL and Nux desktop repo, and install ffmpeg

yum -y --enablerepo=epel,nux-dextop install ffmpeg

Solution 3:

Install the nux-dextop repository then run yum install ffmpeg

https://www.centos.org/forums/viewtopic.php?t=48930