Cygwinでニコ動用mp4を出力するためのffmpegを野良ビルドする手順

俺得なメモ

gccとかmakeとか必要なものは一通り入ってる前提。
Cygwinは1.7系で確認
gitとsvnのクライアントが必要。あとwgetもね
Ubuntuでやった手順をCygwinに持ってきただけなので、機能的には割と最小限に削ってある。ffmpeg全般としてはアレかも

・yasmをインストール

http://www.tortall.net/projects/yasm/wiki/Download
./configure; make; make install

・lameをインストール
http://sourceforge.net/projects/lame/files/lame/
./configure; make; make install

・faac/faadをインストール
http://sourceforge.net/projects/faac/files/
それぞれ
./configure; make; make install

・x264をインストール

git clone git://git.videolan.org/x264.git
cd x264
./configure; make; make install

・theora(これは無くてもいい)
http://downloads.xiph.org/releases/theora/
./configure --disable-shared; make; make install

・ffmpeg

svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264
make
make install

トラックバック(0)

トラックバックURL: http://www.narazaki.info/diary/mt-tb.cgi/332

コメントする