Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices...
-
date post
21-Dec-2015 -
Category
Documents
-
view
218 -
download
2
Transcript of Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices...
![Page 1: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/1.jpg)
AUDIO STREAMINGSERVER
Victor Riera
Salvador Priego
Okpo Kalu
![Page 2: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/2.jpg)
INDEX
Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming Problems Conclusion
![Page 3: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/3.jpg)
PROGRAMS AND LIBRARIES 1/2 Libraries needed to install
Libshout 2.2.2
Shout-python
Libogg 1.2.1
Libvorbis 1.3.2
Fortran compiler
![Page 4: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/4.jpg)
PROGRAMS AND LIBRARIES 2/2 Programs needed:
Icecast 2.3.2 -> Audio streaming server
Ices 2.0.1 ->Send the Ogg Vorbis stream to an icecast server
Xmms or Winamp -> Clients to reproduce the streaming
![Page 5: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/5.jpg)
ICECAST INSTALLATION 1/3
Download and Install
$ wget http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz tar zxf icecast-2.3.2.tar.gz
$ tar zxf icecast-2.3.2.tar.gz
$ ./configure$ make$ make install
![Page 6: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/6.jpg)
ICECAST INSTALLATION 2/3
ConfigurationFirst we need to create some folders and
files needed.
$ wget http://www.paginasprodigy.com.mx/SOAD1982/Icest-Config.tar.gz
$ tar zxcvf Icest-Config.tar.gz
$ touch /var/log/Music_Server.log$ chmod 777 /var/log/Music_Server.log
$ mkdir /usr/share/icecast/web$ mkdir /usr/share/icecast/admin
![Page 7: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/7.jpg)
ICECAST INSTALLATION 3/3
Edit the configuration fileWe only need the edit the next commands.
<authentication><source-password>12345</source-password><relay-password>12345</relay-password><admin-user>admin</admin-user><admin-password>12345</admin-password></authentication>
<hostname>192.168.10.51</hostname>
<listen-socket><port>8000</port></listen-socket>
<paths><basedir>/usr/share/icecast</basedir><logdir>/var/log/</logdir><webroot>/usr/share/icecast/web</webroot><adminroot>/usr/share/icecast/admin</adminroot><alias source="/" dest="/status.xsl"/></paths>
<logging><accesslog>Music_Server.log</accesslog><errorlog>Music_Server.log</errorlog>
<changeowner> <user>kalu</user>
![Page 8: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/8.jpg)
ICES INSTALLATION 1/2
Download and Install
$ wget http://downloads.us.xiph.org/releases/ices/ices-2.0.1.tar.gz
$ tar zxf ices-2.0.1.tar.gz
$ ./configure$ make$ make install
![Page 9: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/9.jpg)
ICES INSTALLATION 2/2
Create the configuration fileCreate a new file, config.xml in the
instalation folder
<?xml version="1.0"?><ices><background>1</background><logpath>/etc/icecast/</logpath><logfile>LogIces.log</logfile><loglevel>4</loglevel><consolelog>0</consolelog>
<stream>
<metadata> <name>LNS radio</name> <genre>All</genre> <description>Radio for LNS</description> </metadata>
<input><module>playlist</module><param name="type">basic</param><param name="file">/usr/local/bin/playlist.txt</param><param name="random">0</param><param name="restart-after-reread">0</param><param name="once">0</param></input>
<instance>
<hostname>192.168.10.51</hostname><port>8000</port>
<password>12345</password><mount>/mpd.ogg</mount><reconnectdelay>2</reconnectdelay><reconnectattempts>5</reconnectattempts><maxqueuelength>80</maxqueuelength>
<encode><nominal-bitrate>64000</nominal-bitrate><samplerate>44100</samplerate><channels>2</channels></encode>
</instance></stream></ices>
![Page 10: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/10.jpg)
RUNING THE SERVER 1/2
Run Icecast
Test if it´s working With the web browser
$ icecast –c /etc/icecast/icecast.xml
http://192.168.10.51:8000
![Page 11: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/11.jpg)
![Page 12: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/12.jpg)
RUNING THE SERVER 2/2
Run Ices
Test if it´s workingWith the web browser You should get the mount point
$ ices /etc/ices/config.xml
http://192.168.10.51:8000
![Page 13: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/13.jpg)
![Page 14: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/14.jpg)
PLAYING THE STREAMING
LinuxXmms for example
WindowsWinamp for example
Open the music player, and play the location
http://192.168.10.51:8000/mpd.ogg
![Page 15: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/15.jpg)
![Page 16: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/16.jpg)
PROBLEMS
Many libraries needed during the compilation of Icecast and Ices Just install all the libraries asked and retry the installation.
Error on the website ERROR: “Could not parse XSLT file” This problem is because you don´t have the correct web folders in
the config file. Make sure that you have the next forlders
Problem trying to conect to the server with another computer Disable Iptables in the server, use the “setup” command
![Page 17: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/17.jpg)
CONCLUSION
Easy way to have your own Audio streaming server for free.
Useful if you are working out of your home.
The hardest part is to realize that ICECAST and ICES work together to make the stream possible
![Page 18: Victor Riera Salvador Priego Okpo Kalu. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming.](https://reader035.fdocuments.us/reader035/viewer/2022062407/56649d5a5503460f94a3a4b8/html5/thumbnails/18.jpg)
THANK YOU FOR YOUR ATTENTION!