User Tools

Site Tools


nomades:sa_web_radio
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


nomades:sa_web_radio [2015/08/30 22:55] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Comment faire sa web radio ======
  
 +===== by thenoiser =====
 +
 +mis à part les solutions du type vlc ou icestream : http://sourceforge.net/projects/icestream/ ou encore airtime qui à l'air vraiment pas mal : http://www.sourcefabric.org/en/airtime/download/
 +
 +voilà une solution simple pour jouer vos fichiers audio en random à travers votre propre webradio live  avec ezstream (install facile sur toutes les distro easyuser) :
 +
 +tout d'abord créer votre propre playlist en mode random 
 +
 +aprés avoir bien installé : randomize-lines (pour rl)
 +
 +<code>
 +find /home/monhome/music/ -iname *.mp3 -o -iname *.ogg -o -iname *.flac | rl > playlist.m3u
 +</code>
 +
 +à partir de là suivre ce très bon tuto : http://koorenneef.nl/content/run-your-own-online-radio-station-icecast2-and-ezstream-howto
 +
 +et si vous souhaitez réencoder à la volé vos morceaux, bien pensé à prendre l'exemple : ezstream_reencode_mp3.xml et avoir aussi installé madplay & lame.
 +
 +
 +
 +
 +===== by gepeto =====
 +
 +juste pour commencer un petit script tres pratique, fait sous LadyBug, il vous faut au prealable installer
 +  * qjackctl
 +  * icecast2
 +  * ices
 +  * audacious
 +  * audacious-jack , je l'ai trouvé là : [[http://rpms.mandrivaclub.com/rpms/G%C3%B6tz_Waschk__waschk_mandriva.org_.html]] mais il est surement ailleurs aussi
 +  * gxmessage
 +
 +voila le script
 +<code>
 +#!/bin/bash
 +gksu -k "/usr/local/bin/icecast2.sh "
 +title="ices_cream icecast ogg jack client Streaming avec ices"
 +ask_ices="Lancez la radio  ?"
 +gxmessage -center -title "$title" -button Oui,Non "$ask_ices"
 +RET=$?
 +if [ "$RET" = "102" ];then
 +        exit 0
 +fi
 +if [ "$RET" = "101" ];then
 +        ps -C qjackctl>/dev/null
 +        PID=$?
 +        if [ "$PID" == "1" ]; then
 +                killall -9 jackd
 +                killall -9 audacious
 +                /usr/bin/qjackctl &
 +                sleep 6
 +        fi
 +        /usr/bin/ices /etc/ices.xml &
 +        sleep 2
 +        /usr/bin/audacious.sh
 +        exit 0
 +fi
 +</code>
 +
 +et le code de icecast2.sh
 +<code>
 +..
 +</code>
nomades/sa_web_radio.txt · Last modified: 2015/08/30 22:55 by 127.0.0.1