Install ffmpeg under CentOS using yum Description: In writing this article do not know how much information is not incomplete information is not installed at all, many of the online information is reproduced. When writing this article I personally did the test, the installation completely passed, if there is anything wrong with the place welcome to shoot Bricks
First, install the FFmpeg
Operating system: CentOS 5.6
(i) Install the compilation environment
#yum install-y automake autoconf libtool gcc gcc-c++
(ii) Install the required library RPM package to CentOS (because there is no ffmpeg package in the CentOS library, this is equivalent to an extension)
View Plaincopy to Clipboardprint?
#rpm-UHV http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
If the above code fails, you can download it on this site and install the RPM package.
(iii) installation of modules such as install ffmpeg yum-y install ffmpeg ffmpeg-devel sudo yum install-y automake autoconf libtool gcc Gcc-c++sudo RPM-UHV http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm1024 sudo yum-y Install ffmpeg ffmpeg-devel manual installation 1031 mkdir yasm
1032 CD yasm/
1033 Wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
1034 LL
1035 Tar xvf yasm-1.2.0.tar.gz
1036 LL
1037 CD yasm-1.2.0
1038./configure--PREFIX=/USR
1039 sudo make1040 sudo make install mkdir ffmpegcd ffmpeg1009 wget http://ffmpeg.org/releases/ffmpeg-2.8.3.tar.bz21012 Tar xvf ffmpeg-2.8.3.tar.bz21044 CD ffmpeg-2.8.3
1045./configure--PREFIX=/USR
1046 sudo make1047 sudo make install
Installing ffmpeg under CentOS using Yum