C++ rtmp livestream 流媒体

海阔天空 张翼飞翔

我的学习笔记。--我喜欢这里,因为这里安静,无广告骚扰。
随笔 - 82, 文章 - 2, 评论 - 126, 引用 - 0
数据加载中……

Win32下vlc-0.8.6c的简洁编译方法

参考http://wiki.videolan.org/Win32CompileCygwin
/*lame的安装*/
./configure
make
make install

/*contrib的安装*/
tar xjvf contrib-0.8.6e-gcc-3.4.5-only.tar.bz2 -C
放到Cygwin\usr\win32-branch

/*x264的安装*/ 
./configure  --prefix=/usr/win32-branch
make
copy libx264.a x264.h

/*ffmpeg安装*/
./configure
make
make install

/*编译vlc*/

CONTRIB_TREE=/usr/win32-branch
 PATH=${CONTRIB_TREE}/bin:$PATH \
 ./bootstrap && \
 CPPFLAGS="-I${CONTRIB_TREE}/include -I${CONTRIB_TREE}/include/ebml" \
 LDFLAGS=-L${CONTRIB_TREE}/lib \
 PKG_CONFIG_LIBDIR=${CONTRIB_TREE}/lib/pkgconfig \
 CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
 ./configure \
     --host=i686-pc-mingw32 \
     --enable-sdl --with-sdl-config-path=${CONTRIB_TREE}/bin --disable-gtk \
     --enable-nls \
     --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
     --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
     --with-wx-config-path=${CONTRIB_TREE}/bin \
     --with-freetype-config-path=${CONTRIB_TREE}/bin \
     --with-fribidi-config-path=${CONTRIB_TREE}/bin \
     --enable-live555 --with-live555-tree=${CONTRIB_TREE}/live.com \
     --enable-caca --with-caca-config-path=${CONTRIB_TREE}/bin \
     --with-xml2-config-path=${CONTRIB_TREE}/bin \
     --with-dvdnav-config-path=${CONTRIB_TREE}/bin \
     --disable-cddax --disable-vcdx --enable-goom \
     --enable-twolame --enable-dvdread \
     --disable-gnomevfs \
     --enable-dts \
     --disable-optimizations \
     --enable-debug \
     --disable-mad \

make (或compile.sh)
make package-win32-base
chmod 777 ./vlc-0.8.6c/*

posted on 2008-04-14 17:32 ZhangEF 阅读(836) 评论(1)  编辑  收藏 所属分类: GNU编译

评论

# re: Win32下vlc-0.8.6c的简洁编译方法[未登录]  回复  更多评论   

在 /*编译vlc*/的时候没有enable x264吧?


2010-01-07 10:23 | aa

只有注册用户登录后才能发表评论。
该文被作者在 2008-04-24 16:28 编辑过
网站导航: