<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[运维进行时]]></title> 
<link>https://blog.liuts.com/index.php</link> 
<description><![CDATA[互联网运维与架构]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[运维进行时]]></copyright>
<item>
<link>https://blog.liuts.com/post//</link>
<title><![CDATA[CentOS4.4实战ffmpeg、mencoder安装]]></title> 
<author>root &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Linux]]></category>
<pubDate>Tue, 21 Aug 2007 15:14:38 +0000</pubDate> 
<guid>https://blog.liuts.com/post//</guid> 
<description>
<![CDATA[ 
	安装lame<br/>wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-398-2.tar.gz<br/>tar zxvf lame-398-2.tar.gz<br/>cd /usr/local/src/lame-398-2<br/>make distclean<br/>./configure<br/>make clean<br/>make<br/>make install<br/><br/>一、安装ffmpeg<br/>1、<br/>tar -zxvf lame-3.97.tar.gz<br/>lame-3.97<br/>./configure --prefix=/usr --enable-shared<br/>make && make install <br/><br/>2、<br/>ls /usr/lib/libvorbis.a，不存再yum -y install libvorbis.a<br/><br/>3、<br/>tar -zxvf xvidcore-1.1.0.tar.gz<br/>cd xvidcore-1.1.0/build/generic/<br/>./configure --prefix=/usr --enable-shared<br/>make && make install <br/>4、<br/>tar -jxvf x264-snapshot-20070914-2245.tar.bz2<br/>cd x264-snapshot-20070914-2245<br/>./configure --prefix=/usr --enable-shared<br/>make && make install<br/><br/>5、<br/>tar -zxvf libdts-0.0.2.tar.tar<br/>cd libdts-0.0.2<br/>./configure --prefix=/usr --enable-shared<br/>make && make install<br/><br/>6、<br/>tar zxvf faad2-2.5.tar.gz<br/>cd faad2<br/>echo > plugins/Makefile.am<br/>echo > plugins/xmms/src/Makefile.am<br/>sed -i '/E_B/d' configure.in<br/>autoreconf -vif<br/>./configure --prefix=/usr<br/>make && make install<br/><br/>7、<br/>tar zxvf faac-1.25.tar.gz<br/>cd faac<br/>sed -i '/[2de].M/d' configure.in<br/>echo "AC_OUTPUT(common/Makefile common/mp4v2/Makefile libfaac/Makefile frontend/Makefile include/Makefile Makefile)" >> configure.in<br/>autoreconf -vif<br/>./configure --prefix=/usr<br/>make && make install<br/><br/>8、(这一步可以先不走，后面有一步会完毕这一步)<br/>wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip<br/>解压以后把里面的文件都拷贝到ffmpeg-checkout-2007-09-14/libavcodec/amrwb_float(需手工建)/<br/>wget http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.zip<br/>解压以后把里面的文件都拷贝到ffmpeg-checkout-2007-09-14/libavcodec/amr_float(需手工建)/<br/><br/>9、<br/>-----------------<br/>ERROR: liba52 not found<br/>If you think configure made a mistake, make sure you are using the latest<br/>version from SVN.&nbsp;&nbsp;If the latest version fails, report the problem to the<br/>ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.<br/>Include the log file "config.err" produced by configure as this will help<br/>solving the problem.<br/>-----------------<br/>wget http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz<br/>tar zxvf a52dec-0.7.4.tar.gz<br/>cd a52dec-0.7.4<br/>./configure --prefix=/usr --enable-a52 --enable-gpl<br/>make && make install <br/><br/>10、<br/>----------------<br/>ERROR: libamrnb not found(会自动下载安装第八步的3gp支持)<br/>If you think configure made a mistake, make sure you are using the latest<br/>version from SVN.&nbsp;&nbsp;If the latest version fails, report the problem to the<br/>ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.<br/>Include the log file "config.err" produced by configure as this will help<br/>solving the problem.<br/>----------------<br/>wget http://ftp.penguin.cz/pub/users/utx/amr/amrnb-6.1.0.4.tar.bz2<br/>tar -jxvf amrnb-6.1.0.4.tar.bz2<br/>cd amrnb-6.1.0.4<br/>./configure --prefix=/usr --enable-shared<br/>make && make install<br/><br/>11、<br/>---------------<br/>ERROR: libamrwb not found(会自动下载安装第八步的3gp支持)<br/>If you think configure made a mistake, make sure you are using the latest<br/>version from SVN.&nbsp;&nbsp;If the latest version fails, report the problem to the<br/>ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.<br/>Include the log file "config.err" produced by configure as this will help<br/>solving the problem.<br/>---------------<br/>wget http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.1.tar.bz2<br/>./configure --prefix=/usr --enable-shared<br/>make && make install<br/><br/>12、<br/>./configure --prefix=/usr/local --enable-gpl --enable-shared --enable-libmp3lame --enable-libamr_nb --enable-libamr_wb --enable-libogg --enable-libvorbis --enable-libxvid --enable-liba52 --enable-liba52bin --enable-libfaadbin --enable-pp --enable-libfaad --enable-libfaac --enable-libx264 --enable-pthreads --disable-ffserver --disable-ffplay<br/>make && make install<br/><br/><br/>输出信息：<br/>[root@ffmpeg_mencoder]# cd ffmpeg-checkout-2007-09-14/<br/>[root@ffmpeg-checkout-2007-09-14]# ./configure --prefix=/usr/local --enable-gpl --enable-shared --enable-libmp3lame --enable-libamr_nb --enable-libamr_wb --enable-libogg --enable-libvorbis --enable-libxvid --enable-liba52 --enable-liba52bin --enable-libfaadbin --enable-pp --enable-libfaad --enable-libfaac --enable-libx264 --enable-pthreads --disable-ffserver --disable-ffplay<br/><br/>install prefix&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/usr/local<br/>source path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /root/ffmpeg_mencoder/ffmpeg-checkout-2007-09-14<br/>C compiler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gcc<br/>make&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;make<br/>.align is power-of-two&nbsp;&nbsp;&nbsp;&nbsp;no<br/>ARCH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;x86_32 (generic)<br/>big-endian&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br/>MMX enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>CMOV enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br/>CMOV is fast&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br/>EBX available&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>EBP available&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no<br/>gprof enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no<br/>debug symbols&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>strip symbols&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>optimize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>static&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>shared&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>postprocessing support&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>software scaler enabled&nbsp;&nbsp; no<br/>video hooking&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>Imlib2 support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br/>FreeType support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br/>network support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>IPv6 support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>threading support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pthreads<br/>SDL support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no<br/>Sun medialib support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br/>AVISynth enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br/>liba52 support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>liba52 dlopened&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>libamr-nb support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>libamr-wb support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>libdc1394 support&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no<br/>libfaac enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>libfaad enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>libfaad dlopened&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>libgsm enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br/>libmp3lame enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>libnut enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;no<br/>libogg enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>libtheora enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no<br/>libvorbis enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yes<br/>x264 enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>XviD enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>zlib enabled&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes<br/>License: GPL<br/>Creating config.mak and config.h...<br/><br/><br/>二、安装mencoder<br/><br/>wget http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc1.tar.bz2<br/>wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2<br/><br/>1、<br/>tar vxjf essential-20061022.tar.bz2<br/>sudo mkdir -p /usr/lib/codecs<br/>sudo cp -rf essential-20061022/* /usr/lib/codecs;<br/><br/>2、<br/>tar -jxvf MPlayer-1.0rc1.tar.bz2<br/>cd MPlayer-1.0rc1<br/>./configure --prefix=/usr/local --enable-largefiles&nbsp;&nbsp;--enable-png --enable-jpeg --language=zh_CN --with-codecsdir=/usr/lib/codecs/<br/>make && make install<br/><br/>//加上--enable-gif make的时候出错。<br/><br/>参考：<br/><a href="http://hi.baidu.com/weiqi228/blog/item/268dee13cc585c21dd54012f.html" target="_blank">http://hi.baidu.com/weiqi228/blog/item/268dee13cc585c21dd54012f.html</a><br/><a href="http://bbs.w3china.org/blog/more.asp?name=lhwork&id=22626" target="_blank">http://bbs.w3china.org/blog/more.asp?name=lhwork&id=22626</a><br/><br/>Tags - <a href="https://blog.liuts.com/tags/ffmpeg/" rel="tag">ffmpeg</a> , <a href="https://blog.liuts.com/tags/mencoder/" rel="tag">mencoder</a>
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post//#blogcomment</link>
<title><![CDATA[[评论] CentOS4.4实战ffmpeg、mencoder安装]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://blog.liuts.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>