vlcのUbuntuでの自動インストールと手動インストール
4616 ワード
「乾、元ヘンリー貞」
--『易経』
VLCメディアプレーヤーは、Mplayerと並ぶ優れたオープンソースプレーヤーです.
私はそれを使ってレジャーをしたいし、二次開発もしたいし、もちろん後者の未熟さが前者を邪魔したくないので、2つのインストールをする必要があります.
公式サイトにはインストールとコンパイル方法が記載されていますが、いくつかの乱れがあり、私の実践記録を以下に整理します.
I.再生用のインストール
Ubuntuでのインストールは簡単ですが、
コマンドラインの下:
--『易経』
VLCメディアプレーヤーは、Mplayerと並ぶ優れたオープンソースプレーヤーです.
私はそれを使ってレジャーをしたいし、二次開発もしたいし、もちろん後者の未熟さが前者を邪魔したくないので、2つのインストールをする必要があります.
公式サイトにはインストールとコンパイル方法が記載されていますが、いくつかの乱れがあり、私の実践記録を以下に整理します.
I.再生用のインストール
Ubuntuでのインストールは簡単ですが、
コマンドラインの下:
$ sudo apt-get install vlc
, :
vlc-plugin-alsa - ALSA audio output plugin for VLC (install it if sound doesn't work)
vlc-plugin-arts - aRts audio output plugin for VLC (install it if sound still doesn't work and you're using KDE)
vlc-plugin-esd - Esound audio output plugin for VLC (install it if sound still doesn't work and you're using Gnome)
vlc-plugin-ggi - GGI video output plugin for VLC
vlc-plugin-glide - Glide video output plugin for VLC
vlc-plugin-pulse - PulseAudio audio output plugin for VLC
vlc-plugin-sdl - SDL video and audio output plugin for VLC
vlc-plugin-svgalib - SVGAlib video output plugin for VLC
mozilla-plugin-vlc - the VLC plugin for Mozilla based browsers
。 “ ” VLC 。
II. のためのインストール
まずは サイト(http://www.wiki.videolan.org/GetTheSource)で のreleaseパッケージをダウンロードし、 がダウンロードしたのは「vlc-1.1.4.tar.bz 2」です.
:
$tar -jxvf vlc-1.1.4.tar.bz2
ディレクトリが されます:vlc-1.1.4
$ cd vlc-1.1.4;
$ ./bootstrap; /* に モジュールの */
$ cd extras/contrib;
$ ./bootstrap;
$ make; /* ダウンロードしてbuild vlc サイトの するライブラリ、この は し くて、 の は20 */を しました
に、x 264、ffmpeg、live 555などの 3ライブラリを インストールします.
$ git done git://git.videolan.org/x264.git x264-trunk
$ cd x264-trunk;
$./configure--prefix=/ インストールしたいディレクトリ/
$ make;
$ cd ..
$ svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
$ cd ffmpeg
$ ./configure--prefix=/ インストールしたいディレクトリ/--enable-gpl--enable-pthreads--enable-libmp 3 lame--enable-libfaac--enable-nonfree
$ make
$ cd ..
$ wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz
$ tar xvzf live555-latest.tar.gz
$ cd live
$ sh genMakefiles linux;
$ make
にvlc の とbuildを います.
$ cd ..
$ cd ..
の1つ:
$ mkdir build&&cd build&&../configure--prefix=/インストールしたいディレクトリ/
--enable-snapshot --enable-debug/
--enable-dbus-control --enable-musicbrainz/
--enable-shared-libvlc --enable-mozilla/
--enable-lirc/
--enable-live555 --with-live555-tree=../extras/live/
--enable-x264 --with-x264-tree=../extras/x264-trunk/
--enable-shout --enable-taglib/
--enable-v4l --enable-cddax/
--enable-dvb --enable-vcdx/
--enable-realrtsp --enable-xvmc/
--enable-svg --enable-dvdread/
--enable-dc1394 --enable-dv/
--enable-theora --enable-faad/
--enable-twolame --enable-real/
--enable-flac --enable-tremor/
--with-ffmpeg-mp3lame --with-ffmpeg-faac/
--enable-quicktime --enable-dirac/
--enable-skins2 --enable-qt4/
--enable-ncurses/
--enable-aa --enable-caca/
--enable-esd --enable-portaudio/
--enable-jack --enable-xosd/
--enable-galaktos --enable-goom/
--enable-ggi/
--disable-cddax --disable-vcdx
の2:
$ ./configure --enable-x11 --enable-xvideo --disable-gtk --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 --disable-kde --enable-qt4 --enable-ncurses --enable-release , , ;
,
$ make
$ make install