1. 程式人生 > >vlc原始碼編譯(Ubuntu12.04LTS)

vlc原始碼編譯(Ubuntu12.04LTS)

1.安裝依賴庫

sudo apt-get install git libtool build-essential pkg-config autoconf
sudo apt-get build-dep vlc

2.vlc原始碼下載及編譯

wget ftp://ftp.videolan.org/pub/videolan/vlc/2.0.8/vlc-2.0.8a.tar.xz
tar xvJf vlc-2.0.8a.tar.xz
cd vlc-2.0.8
./configure --help
./configure --enable-x11 --enable-xvideo --enable-sdl --enable-avcodec --enable-avformat \
 --enable-swscale --enable-mad --enable-libdvbpsi --enable-a52 --enable-libmpeg2 --enable-dvdnav \
 --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype \
 --enable-fribidi --enable-speex --enable-flac --enable-live555 --with-live555-tree=/usr/lib/live \
 --enable-caca --enable-skins --enable-skins2 --enable-alsa --enable-qt4 --enable-ncurses

make -j4 2>&1 | tee vlc.log