VLC交叉编译(mingW)说明文档:
〇、安装Ubuntu 12.04 LTS
一、安装mingw
1. sudo apt-get install gcc-mingw-w64-i686 g++-mingw-w64
2. sudo apt-get install mingw-w64
3. sudo apt-get install mingw-w64-tools
4. //取得mingw-w64更新包防止编译出错,版本可先查最新的
wget http://ftp.jp.debian.org/debian/pool/main/m/mingw-w64/mingw-w64-dev_3.0~svn5496-1_all.deb
sudo dpkg -i mingw-w64-dev_3.0~svn5496-1_all.deb
//报错,先安装下面两个
wget http://ftp.jp.debian.org/debian/pool/main/m/mingw-w64/mingw-w64-i686-dev_3.0~svn5496-1_all.deb
sudo dpkg -i mingw-w64-i686-dev_3.0~svn5496-1_all.deb
wget http://ftp.jp.debian.org/debian/pool/main/m/mingw-w64/mingw-w64-x86-64-dev_3.0~svn5496-1_all.deb
sudo dpkg -i mingw-w64-x86-64-dev_3.0~svn5496-1_all.deb
//再安装
sudo dpkg -i mingw-w64-dev_3.0~svn5496-1_all.deb
二、安装工具
sudo apt-get install lua5.1 liblua5.1-dev
sudo apt-get install git
sudo apt-get install autoconf
三、开始编译
cd vlc
mkdir -p contrib/win32
cd contrib/win32
../bootstrap --host=i686-w64-mingw32
make prebuilt
cd ../..(回到vlc源目录)
./bootstrap
mkdir win32 && cd win32
../extras/package/win32/configure.sh --host=i686-w64-mingw32 --enable-optimize-memory --without-x --disable-mad --disable-faad --disable-a52 --disable-goom --disable-libgcrypt --disable-update-check --disable-nls --disable-dbus --disable-dbus-control --disable-telepathy --disable-lua --disable-httpd --disable-libproxy --disable-dc1394 --disable-dv --disable-linsys --disable-dvdread --disable-dvdnav --disable-bluray --disable-opencv --disable-smb --disable-sftp --disable-v4l2 --disable-pvr --disable-decklink --disable-gnomevfs --disable-vcdx --disable-vcd --disable-libcddb --disable-macosx-eyetv --disable-macosx-qtkit --disable-gme --disable-sid --disable-ogg --disable-mux_ogg --disable-shout --disable-mkv --disable-mod --disable-mpc --disable-wma-fixed --disable-shine --disable-omxil --disable-iomx --disable-crystalhd --disable-switcher --disable-twolame --disable-quicktime --disable-real --disable-dca --disable-flac --disable-libmpeg2 --disable-vorbis --disable-tremor --disable-speex --disable-opus --disable-theora --disable-dirac --disable-schroedinger --disable-png --disable-x264 --disable-fluidsynth --disable-zvbi --disable-telx --disable-libass --disable-kate --disable-tiger --disable-egl --disable-xcb --disable-xvideo --disable-glx --disable-sdl --disable-sdl-image --disable-macosx-vout --disable-freetype --disable-fribidi --disable-fontconfig --disable-macosx-quartztext --disable-svg --disable-android-surface --disable-ios-vout --disable-aa --disable-caca --disable-pulse --disable-alsa --disable-oss --disable-portaudio --disable-macosx-audio --disable-audioqueue --disable-jack --disable-opensles --disable-samplerate --disable-kai --disable-skins2 --disable-libtar --disable-hildon --disable-qt4 --disable-macosx --disable-macosx-dialog-provider --disable-ncurses --disable-xosd --disable-fbosd --disable-lirc --disable-projectm --disable-atmo --disable-bonjour --disable-udev --disable-mtp --disable-upnp --disable-libxml2 --disable-gnutls --disable-taglib --disable-growl --disable-notify --disable-sqlite --disable-loader --disable-macosx-vlc-app
make -j2
make package-win-strip
四、选项
mad
libmad是一个开源mp3解码库,其对mp3解码算法做了很多优化,性能较好
faad
一个开源的MPEG-4/MPEG-2 AAC 解码库
a52
liba52是一个开源免费的函数库,用于编码ATSC A/52码流
goom
The Goom Visualizer displays digital images on your monitor while you play your audio files
libgcrypt
一个加密库
nls
Native Language Support
dbus
dbus-control
D-BUS是一个设计目标为应用程序间通信的消息总线系统
telepathy
Telepathy Presence plugin through DBus
optimize-memory
optimize memory usage over performance
#sout
#streaming output
lua
LUA scripting support
httpd
the built-in HTTP server
libproxy
提供自动代理配置管理的库
dc1394
an access module for IIDC (firewire) cameras
dv
DV input module
linsys
Linux Linear Systems Ltd. SDI and HD-SDI input cards
dvdread
dvdread input module
dvdnav
DVD navigation with libdvdnav
bluray
libbluray for Blu-ray disc support
opencv
OpenCV (computer vision) filter
smb
SMB/CIFS support
sftp
SFTP file transfer via libssh2
v4l2
Video4Linux version 2
pvr
PVR V4L2 cards
decklink
Blackmagic DeckLink SDI input
gnomevfs
GnomeVFS access module
vcdx
navigate VCD with libvcdinfo
vcd
built-in VCD and CD-DA support
libcddb
CDDB for Audio CD
macosx-eyetv
Mac OS X EyeTV (TNT Tuner) module
macosx-qtkit
Mac OS X qtcapture (video) and qtsound (audio) module
gme
Game Music Emu
sid
C64 sid(Sound Interface Device) demux
ogg
mux_ogg
一种新的音频压缩格式
shout
libshout is a library for streaming audio to icecast or shoutcast-compatible servers
mkv
mod
用于播放mod类音乐格式的开源函数库
mpc
Musepack SV7 decoder library
wma-fixed
libwma-fixed module
shine
shine mp3 encoding module
omxil
openmax il codec module
iomx
iomx codec module
crystalhd
crystalhd codec plugin
switcher
Stream-out switcher plugin
twolame
MPEG Audio Layer 2 encoder
quicktime
real
dca
DTS Coherent Acoustics support with libdca
flac
libflac decoder/encoder support
libmpeg2
libmpeg2 decoder support
vorbis
Vorbis decoder and encoder
tremor
Tremor decoder support
speex
一套主要针对语音的开源免费,无专利保护的音频压缩格式
opus
用来在因特网上传输互动的视频和音频的开源免专利费音频编解码器
theora
一个免权利金、开放格式的有损图像压缩技术
dirac
schroedinger
Dirac HD Sound是瑞典Dirac Research AB公司开发出的一种先进的专利技术,能通过数字处理对扬声系统进行补偿,通过对声音系统的瞬态响应和频幅响应进行校正,可以使耳机或扬声器达到高保真的性能,使其音乐舞台感、声音清晰度和语音辨识度得到了具体提升,低音更低沉更结实
png
x264
H264 encoding support with libx264
fluidsynth
最好的开源midi合成算法
zvbi
telx
Teletext decoding
libass
字幕
kate
tiger
kate codec
egl
OpenGL support through EGL
x
the X Window System(--with-x)
xcb
一套以 C语言撰写,并用于绑定(Binding) X Window System之上
xvideo
x11环境中独立的实时视频扩展
glx
OpenGL support through GLX
sdl
sdl-image
一套开放源代码的跨平台多媒体开发库
macosx-vout
Mac OS X video output module
freetype
fribidi
an implementation of the Unicode Bidirectional Algorithm (bidi)
fontconfig
字体相关的计算机程序库,用于配置、定制全系统的字体,或将字体提供给应用程序使用
macosx-quartztext
Mac OS X quartz text module
svg
可缩放矢量图形
android-surface
Android Surface video output module
ios-vout
iOS video output module
aa
把所有的图形转换成ascii码的库
caca
一个图形库,可以输出文本而不是像素
pulse
一个跨平台的,可通过网络工作的声音服务
alsa
support the Advanced Linux Sound Architecture
oss
support the Open Sound System OSS
portaudio
Portaudio library support
macosx-audio
Mac OS X audio module
audioqueue
AudioQueue audio module
jack
JACK audio I/O modules
opensles
Android OpenSL ES audio module
samplerate
Resampler with libsamplerate
kai
support the K Audio Interface KAI
skins2
libtar
skins interface module
hildon
Hildon touchscreen UI
qt4
macosx
macosx-dialog-provider
ncurses
字符终端显示
xosd
a library for the X11 Windowing System (the windowing system typically used by Unix and Linux machines) that displays text on top of your desktop
fbosd
FrameBuffer OSD
lirc
一个开放源代码的包。这个包可以让你的Linux系统能够接收及发送红外线信号
projectm
一个采用C语言开发的跨平台的高级音效可视化效果软件
atmo
AtmoLight (homemade Philips Ambilight clone)
bonjour
udev
mtp
upnp
自动发现
libxml2
gnutls
用于实现TLS加密协议的函数库
taglib
a library for reading and editing the meta-data of several popular audio formats
growl
a notification system for Mac OS X that allows applications that support Growl to send you notifications
notify
a library that sends desktop notifications to a notification daemon, as defined in the Desktop Notifications spec
sqlite
loader
build DLL loader for ELF i386 platforms
macosx-vlc-app