Outils pour utilisateurs

Outils du site


vlc

Ceci est une ancienne révision du document !


vlc

compilation sous Squeeze

Pré-requis

Dépendances

# aptitude install gcc g++

mais aussi:

  • libdbus-1-dev
  • liblua5.1-dev
  • libogg-dev
  • libmad0-dev
  • libavcodec-dev libavutil-dev libavformat-dev
  • libswscale-dev
  • libpostproc-dev
  • libfaad-dev
  • liba52-dev
  • libdca-dev
  • libflac-dev
  • libmpeg2-4-dev
  • libvorbis-dev
  • libspeex-dev
  • libtheora-dev
  • libtwolame-dev
  • libdirac-dev
  • libschroedinger-dev
  • libmodplug-dev
  • libdvbpsi-dev
  • libcddb-dev
  • libv4l-dev
  • libraw1394-dev
  • libavc1394-dev
  • libdc1394-22-dev
  • libshout-dev
  • libva-dev
  • libfluidsynth-dev
  • libzvbi-dev
  • libass-dev
  • libxcb-shm0-dev
  • libxcb-xv0-dev
  • libx11-xcb-dev
  • libgl1-mesa-dev
  • libsdl-dev
  • libsdl-image1.2-dev
  • libfribidi-dev
  • librsvg2-dev
  • libupnp-dev
  • libportaudio-dev
  • libqt4-dev
  • libnotify-dev
  • libxcb-keysyms1-dev
  • libudev-dev
  • libmtp-dev
  • libgcrypt-dev
  • libprojectm-dev
  • libosso-dev
  • libsqlite3-dev
  • libtagc0-dev
  • libxpm-dev
  • lua5.1

Soit en résumé: (copy/paste) :

libdbus-1-dev liblua5.1-dev libogg-dev libmad0-dev libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libpostproc-dev libfaad-dev liba52-dev libdca-dev libflac-dev libmpeg2-4-dev libvorbis-dev libspeex-dev libtheora-dev libtwolame-dev libdirac-dev libschroedinger-dev libmodplug-dev libdvbpsi-dev libcddb-dev libv4l-dev libraw1394-dev libavc1394-dev libdc1394-22-dev libshout-dev libva-dev libfluidsynth-dev libzvbi-dev libass-dev libxcb-shm0-dev libxcb-xv0-dev libx11-xcb-dev libgl1-mesa-dev libsdl-dev libsdl-image1.2-dev libfribidi-dev librsvg2-dev libupnp-dev libportaudio-dev libqt4-dev libnotify-dev libxcb-keysyms1-dev libudev-dev libmtp-dev libgcrypt-dev libprojectm-dev libosso-dev libsqlite3-dev libtagc0-dev libxpm-dev lua5.1

( libgnomevfs2-dev ? )

libopencascade-dev

checking for luac... no
configure: error: Could not find the LUA byte compiler.

Il faut aussi:

  • lua5.1 (qui contient “luac”)

live555

Pour Freebox TV et le RTSP …

Recuperer les sources par là: http://www.live555.com/liveMedia/public/

$ cd /usr/local/src
$ wget http://www.live555.com/liveMedia/public/live.2011.01.24.tar.gz
$ tar xvzf live.2011.01.24.tar.gz
$ cd live
$ ./genMakefiles linux 
$ make

Lors de la compilation de vlc, il faudra ajouter:

--with-live555-tree=<LIVE_PATH> 

x264

Source: http://www.videolan.org/developers/x264.html

# aptitude install yasm
$ ./configure --prefix=/usr/local
$ make
# make install

vlc 1.1.7

:!: ne pas installer libvlc-dev

Récupération des sources à partir d'ici: http://www.videolan.org/vlc/download-sources.html

$ cd /usr/local/src
$ tar xvjf vlc-1.1.7.tar.bz2
$ cd vlc-1.1.7
$ ./configure     --prefix=/usr/local \
              --disable-nls \
              --disable-mozilla \
              --enable-realrtsp \
              --enable-ogg \
              --enable-avcodec \
              --enable-avformat \
              --enable-swscale \
              --enable-theora \
              --enable-faad \
              --enable-postproc \
              --enable-x264 \
              --with-live555-tree=/usr/local/src/live/ \
              --enable-alsa \
              --enable-glx \
              --enable-sdl 
$ make
# make install

Si :

$ vlc
vlc: error while loading shared libraries: libvlc.so.5: cannot open shared object file: No such file or directory

Alors:

# aptitude install libvlc5
vlc.1297469269.txt.gz · Dernière modification : 2011/02/12 00:07 de thierry