一開始在 configure 的時候出現了好多 package 找不到的訊息
還一個個跑去下載...傻斃了!!!!!!!!!
後來才知道 MAC 有 homebrew 管理 package 的好用工具
這樣方便多了!
安裝 homebrew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
安裝需要的 package
brew install automake celt faac fdk-aac lame libass libtool libvorbis libvpx libvo-aacenc opencore-amr openjpeg opus sdl schroedinger shtool speex texi2html theora wget x264 xvid yasm
安裝 libaacplus
wget http://217.20.164.161/~tipok/aacplus/libaacplus-2.0.2.tar.gz
tar xzf libaacplus-2.0.2.tar.gz
cd libaacplus-2.0.2
sed -i '.bck' -e 's/libtool/glibtool/' autogen.sh
./autogen.sh
make && make install
cd ..


開始編譯 ffmpeg
然後遇到不少問題..........
其中一個 libopenjpeg not found
export CFLAGS="-I/usr/local/Cellar/openjpeg/1.5.1/include/openjpeg-1.5"

Permission denied
chmod 777 乎依去啦!!

Undefined symbols for architecture x86_64

./configure 加入 --cc=clang

詳細的就看參考資料吧~

參考資料1
參考資料2
arrow
arrow
    全站熱搜

    JohnDX 發表在 痞客邦 留言(0) 人氣()