REF://http://heartthrobkai.pixnet.net/blog/post/4545506-install-ffmpeg
Step1:lame3.98.2
#./configure --enable-shared --prefix=/usr
#make
#make install
Step2:Xvid 1.2.2
#cd xvidcore-1.2.2/build/generic/
#./configure --prefix=/usr
#make
#make install
Step3:yasm 0.8.0
#./configure --prefix=/usr/local/yasm
#make
#make install
#export PATH="$PATH:/usr/local/yasm/bin"
#vi /etc/profile
--[在最後,插入]--
export PATH="$PATH:/usr/local/yasm/bin"
--[存檔並關閉]--
Step4(optional):
x264可以用此指令取得新版本
git clone git://git.videolan.org/x264.git
#./configure --prefix=/usr --enable-shared
#make
#make install
Step5:a52dec-0.7.4
# ./configure --enable-shared --prefix=/usr
# make
# make install
Step6:faad2-2.7
#autoreconf -vif
#./configure --prefix=/usr --with-mp4v2 --enable-shared
#make
#make install
Step7:faac-1.28
(compile faac時, 先到套件管理員安裝libmp4v2)
#./bootstrap
#./configure --prefix=/usr --with-mp4v2 --enable-shared
#make
#make install
Step8:amrnb-7.0.0.2
#./configure --prefix=/usr --enable-shared
#make
#make install
Step9:amrwb-7.0.0.3
#./configure --prefix=/usr --enable-shared
#make
#make install
(make時若連到時若連到www.3gpp.com太慢,到makefile裡面把位置改成195.238.226.15)
Step10:ffmpeg-0.5
底下為需要利用ffmpeg截圖版本,因此必須把--enable-shared取消掉避免到時候的一些error
#./configure --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libamr-nb --enable-libamr-wb --enable-libxvid --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-pthreads --disable-ffserver --disable-ffplay --enable-nonfree
#make clean && make
#make install
- Oct 28 Fri 2011 09:54
安裝 FFmpeg
close
全站熱搜
留言列表