Table des matières
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
- libcdio-dev
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 libcdio-dev
( 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 ( pas toujours nécessaire en fait) :
# aptitude install libvlc5
Bug
ffmpeg
Appliqué a un autre poste, je m'apercois qu'une installation (aprés compilation) de ffmpeg fout le bordel:
- vlc rame
- le h264 marche po… (HD par exemple)
Bref, la soluce:
Virer les lib “ffmpeg” de “/usr/local/lib” ( et les “include” dans “/usr/local/include” ), c'est a dire:
- libswscale…
- libav* …
Recommencer la compilation et l'installation de vlc: oubliez, si possible, VLC.
FFMPEG
A partir d'ici: http://pkgs.org/package/libfaac-dev
dpkg -i ...
libfaac0_1.28-0.3_i386.deb libfaac-dev_1.28-0.3_i386.deb libmp3lame0_3.98.4-0.0_i386.deb libmp3lame-dev_3.98.4-0.0_i386.deb libxvidcore4_1.2.2-0.1_i386.deb libxvidcore4-dev_1.2.2-0.1_i386.deb
$ ./configure --prefix=/usr/local \ --cpu=i686 \ --enable-libgsm \ --enable-libfaac \ --enable-libdirac \ --enable-libfaad \ --enable-libfaadbin \ --enable-libmp3lame \ --enable-libopenjpeg \ --enable-librtmp \ --enable-libschroedinger \ --enable-libspeex \ --enable-libtheora \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-libxvid \ --enable-swscale \ --enable-gpl \ --enable-nonfree
$ make # make install
Reinstaller “vlc” . La TNT HD fonctionne avec le son :)