ubuntu 10.10 mingw 编译 vlc player for windows

http://wiki.videolan.org/Win32Compile
 
1.安装mingw for linux

steve@steve-vm:~$ sudo apt-get install gcc-mingw32 mingw32-binutils


2. 安装lua 5.1
steve@steve-vm:~$ sudo apt-get install lua5.1
 
3. 安装 all autotools: libtool, automake, autoconf, gnu make, gettext
 
4.下载 vlc 源代码: $ git clone git://git.videolan.org/vlc.git
 
5.
 cd ~/vlc/contrib
 mkdir win32
 cd win32/ ((进入 ~/vlc/contrib/win32目录)
 ../bootstrap --host=i586-mingw32msvc
 make prebuilt
 cd ~/vlc
 ./bootstrap
 mkdir win32
 cd win32 (进入 ~/vlc/win32目录)
 ../extras/package/win32/configure.sh --host=i586-mingw32msvc
 make
 make package-win32-zip
 
 6.在~/vlc/win32目录下会生成vlc-2.1.0-git-win32.zip,复制到windows 系统解压后可以直接运行
 

 7.vlc-2.1.0 已经官方支持mpeg dash和AHLS,在菜单tools-preferences-show settings (选all)-input/codecs-stream filters-选上dynamic adaptive streaming over HTTP 和 Http live stream


http://blog.sina.com.cn/s/blog_71d9aee40100yfsh.html

你可能感兴趣的:(ubuntu 10.10 mingw 编译 vlc player for windows)