日期:2014-05-16  浏览次数:20694 次

linux安装ffmpeg/mencoder/mplayer

前提:必须已经安装过yum

1.yum install ffmpeg ffmpeg-devel

如果找不到包,请把下面的内容加入到/etc/yum.repos.d/rhel-debuginfo.repo 文件中

?

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1

?then

yum install ffmpeg ffmpeg-devel

2.rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

?

3. yum install mplayer mencoder

?

?

?

?

参考:http://www.mysql-apache-php.com/ffmpeg-install.htm