Mp3-plugin

Un article de VDR Wiki FR.

Sommaire

Description

Auteur: Stefan Huelswitt

Lecteur de playlist MP3, OGG, WAV, etc... Il utilise la carte DVB ou une carte Son pour la sortie audio.

Info
Information

Le plugin-mp3 et le plugin-mplayer sont liés.



Pré-requis matériel

Une carte DVB Une carte Son (Optionnel)

Pré-requis logiciel

  • zlib
  • libid3tag
  • libmad
  • libsndfile
  • libogg
  • libvorbis
  • libvorbisfile (Optionnel)
  • netpbm (Optionnel)
  • mjpegtools (Optionnel)

Installation des pré-requis

Source

cd $SOURCEDIR
tar xfvz zlib-<VERSION>.tar.gz
cd zlib-<VERSION>.tar.gz
./configure --prefix=/usr/local
make
make install
ldconfig
cd -

tar xvzf libid3tag-<VERSION>.tar.gz
cd libid3tag-<VERSION>
./configure --prefix=/usr/local
make
make install
ldconfig
cd -

tar xvzf libmad-<VERSION>.tar.gz
cd libmad-<VERSION>
./configure --prefix=/usr/local
make
make install
ldconfig
cd -

tar xvzf libsndfile-<VERSION>.tar.gz
cd libsndfile-<VERSION>
./configure --prefix=/usr/local
make
make install
ldconfig

tar xvzf libogg-<VERSION>.tar.gz
cd libogg-<VERSION>
./configure --prefix=/usr/local
make
make install
ldconfig
cd -

tar xvzf libvorbis-<VERSION>.tar.gz
cd libvorbis-<VERSION>
./configure --prefix=/usr/local \
            --with-ogg-libraries=/usr/local/lib
make
make install
ldconfig


Debian

apt-get install libid3tag0-dev libmad0-dev libsndfile1-dev libvorbis-dev

Installation du plugin mp3

cd $SOURCEDIR
tar xvfz vdr-mp3-<VERSION>.tar.gz -C VDR/PLUGINS/src
cd VDR/PLUGINS/src
ln -s mp3-<VERSION>/ mp3

Avant de compiler le plugin, il faut avoir compilé mplayer.

make plugins

Configuration

cd $SOURCEDIR
tar xvfz mplayer.sh-0.8.6.tar.gz -C /$VDRCONFIG
mkdir ~/.mplayer
tar xvfj font-arial-iso-8859-1.tar.bz2 -C /usr/local/share/mplayer/font
ln -sf /usr/local/share/mplayer/font/font-arial-iso-8859-1/font-arial-24-iso-8859-1 ~/.mplayer/font
cp $SOURCEDIR/VDR/PLUGINS/src/mp3/examples/mount.sh.example /$VDRCONFIG/mount.sh
chmod +x /VDRCONFIG$/mount.sh
cp /$SOURCEDIR/VDR/PLUGINS/src/mp3/examples/mp3sources.conf.example /$VDRCONFIG/plugins/mp3sources.conf
cp /$VDRCONFIG/plugins/mp3sources.conf /$VDRCONFIG/plugins/mplayersources.conf
mkdir -p /$VDRCONFIG/plugins/DVD-VCD
touch /$VDRCONFIG/plugins/DVD-VCD/DVD /$VDRCONFIG/plugins/DVD-VCD/VCD

Liens

  1. Page du plugin
  2. Archive vdr-mp3 chez ECLiPSE
Autres langues