Liquidsoap
Migration depuis l’ancien wiki MediaWiki
- Installation de liquidsoap sous debian :
Ajouter à /etc/apt/sources.list :
deb http://www.rastageeks.org/downloads/liquidsoap/ ./
deb http://www.debian-multimedia.org lenny main
deb http://www.backports.org/debian lenny-backports main contrib non-free
deb http://www.rastageeks.org/downloads/liquidsoap-oldstable/ ./Mettre à jour apt :
apt-get updateInstallation de liquidsoap :
apt-get install liquidsoapInstaller l'encoder AAC si il ne sait pas installer avant :
apt-get install aacplusenc- Installation sous gentoo
wget http://downloads.sourceforge.net/project/savonet/liquidsoap/0.9.2/liquidsoap-full-0.9.2-2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsavonet%2Ffiles%2F&ts=1282496933&mirror=freefr
tar xvfz liquidsoap-full-0.9.2-2.tar.gz
cd liquidsoap-full-0.9.2-2
emerge install ledit
emerge libao
emerge portaudio
./bootstrap
./configure
make
make install- Creation d'un fichier de configuration :
pico monfichier.liqContenue :
#!/usr/bin/liquidsoap
#log dir
set("log.file.path","/home/greg/votreradio.log")
set("init.daemon",true)
set("init.daemon.pidfile.path","/home/greg/liquidsoap.pid")
#flux que l'on veut reencoder
url = "http://monflux:5000/"
source = mksafe(input.http(url))
### Playlist securit�
#security = mksafe(playlist("/path/to/secours.pls"))
pige = single("/home/greg/24 Theme - The Longest Day (Armin Van Buuren Remix).mp3")
# Network problem detection
source = fallback([source, pige])
# Blank detection
out_s = fallback(track_sensitive=false,
[ strip_blank(length=15.,source) , pige ])
### vorbis / icecast
out = output.icecast.vorbis(
host="monserveur",
port=80,
password="pass",
name = "TROP COOL RADIO",
description = "LA RADIO QUI DECHIRE SA RACE",
url = "http://www.tataradio.net",
quality=2.,
mount="test.ogg",
out_s)
# MP3 / Icecast
output.icecast.mp3(
host="monserveur",
port=80,
password="pass",
name = "TROP COOL RADIO",
description = "LA RADIO QUI DECHIRE SA RACE",
url = "http://www.tataradio.net",
mount="testmp3.mp3",
bitrate=192,
out_s)
# AAC / Icecast
output.icecast.aacplusenc(
host="monserveur",
port=80,
password="pass",
name = "TROP COOL RADIO",
description = "LA RADIO QUI DECHIRE SA RACE",
url = "http://www.tataradio.net",
mount="testaac.mp3",
bitrate=48,
out_s)Faire de votre fichier un executable :
chmod +x monfichier.liqLancer votre fichier :
./monfichier.liqPour connaitre la liste de plugin installer :
liquidsoap --list-pluginsLien utile :
- Traitement du son : http://www.linux360.ro/~csdexter/blog/radio-andromeda/
- http://savonet.sourceforge.net/doc-svn/complete_case.html
- https://wiki.sourcefabric.org/display/LS/UserScripts
- https://docs.google.com/document/d/1DD4xbwR6JEBYgj_34nW2GFWdsGMWccQUEGyM4GeMTCQ/edit?hl=fr#
- Playlist : http://forum.sourcefabric.org/discussion/comment/25915 & http://forum.sourcefabric.org/discussion/15701/fallover-101-how-to-make-all-scripts-worked-easy-steps-to-build-your-scripts-fixed-silence