組件資源站點html
1)MinGW-MSYS Bundle http://sourceforge.net/projects/mingwbundle/files/
ide
2)yasm彙編器 http://yasm.tortall.net/Download.html優化
3)x264源碼 http://www.videolan.org/developers/x264.html ui
4) ffmpeg源碼 http://ffmpeg.zeranoe.com/builds/spa
參考站點:.net
http://ffmpeg.zeranoe.com/builds/debug
http://trac.pjsip.org/repos/wiki/Getting-Started/Windowshtm
http://blog.csdn.net/samantha_sun/article/details/4588806blog
安裝提示ip
默認安裝路徑,C盤下,方便提示。
選擇系統對應的程序,放在在C:\msys\1.0\bin目錄下
·編譯選項
$ ./configure --enable-static # add options if needed, e.g: optimization, install dir, search path
$ make && make install-lib-static # default install dir is /usr/local
· 將x264.h x264_config.h文件拷貝到C:/MinGW/include下面
· 將libx264.a文件拷貝到C:/MinGW/mingw32/lib
·編譯選項
Debug版本:
./configure --enable-shared --disable-static --enable-memalign-hack --enable-gpl --enable-libx264
Release版本:
./configure --enable-shared --disable-static --enable-memalign-hack --enable-gpl --enable-libx264 --disable-debug
注: --enable-memalign-hack選項是讓MMX、SSE2等優化語句能在Windows上執行
$ make && make install
注:<install-libs install-headers> 提取lib庫和頭文件