Centos7 安装ffmpeg 出现Requires: libass.so.5()(64bit)错误

 

参考:

http://jingyan.baidu.com/article/22a299b5cf7ea79e19376ad1.html

 

yum install -y epel-release 

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

yum repolist 

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

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

yum repolist 

 

yum install -y ffmpeg

出现错误:

Requires: libass.so.5()(64bit)

 

参考:

http://www.rpmfind.net/linux/rpm2html/search.php?query=libass.so.5()(64bit)

 

下载 lib64ass5-0.13.4-1.mga5.x86_64.rpm

wget ftp://195.220.108.108/linux/mageia/distrib/5/x86_64/media/core/updates/lib64ass5-0.13.4-1.mga5.x86_64.rpm

 

rpm -ivh lib64ass5-0.13.4-1.mga5.x86_64.rpm

 

再次安装

yum install -y ffmpeg

查看版本

ffmpeg -version

 

ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)