AUDIO STREAMING SERVER
Victor Riera Salvador Priego Okpo Kalu. AUDIO STREAMING SERVER. INDEX. Programs and Libraries Icecast Installation Ices Installation Runing the server Playing the streaming Problems Conclusion. Programs and Libraries 1/2. Libraries needed to install Libshout 2.2.2
AUDIO STREAMING SERVER
E N D
Presentation Transcript
Victor Riera Salvador Priego OkpoKalu AUDIO STREAMINGSERVER
INDEX • Programs and Libraries • IcecastInstallation • Ices Installation • Runingthe server • Playingthestreaming • Problems • Conclusion
Programs and Libraries 1/2 • Librariesneededtoinstall • Libshout 2.2.2 • Shout-python • Libogg 1.2.1 • Libvorbis 1.3.2 • Fortran compiler
Programs and Libraries 2/2 • Programsneeded: • Icecast 2.3.2 -> Audio streaming server • Ices 2.0.1 ->SendtheOgg Vorbis stream to an icecast server • XmmsorWinamp-> Clientsto reproduce thestreaming
IcecastInstallation 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 zxficecast-2.3.2.tar.gz $ ./configure$ make$ make install
IcecastInstallation 2/3 • Configuration • Firstweneedtocreatesome folders and files needed. $ wgethttp://www.paginasprodigy.com.mx/SOAD1982/Icest-Config.tar.gz $ tar zxcvfIcest-Config.tar.gz$ touch /var/log/Music_Server.log$ chmod777 /var/log/Music_Server.log$ mkdir/usr/share/icecast/web$ mkdir/usr/share/icecast/admin
IcecastInstallation 3/3 <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> • Edittheconfigurationfile • Weonlyneedtheeditthenextcommands.
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
Ices Installation 2/2 • Createtheconfigurationfile • Create a new file, config.xml in theinstalation folder
Runingthe server 1/2 • Run Icecast • Test ifit´sworking • Withthe web browser $ icecast –c /etc/icecast/icecast.xml http://192.168.10.51:8000
Runingthe server 2/2 • Run Ices • Test ifit´sworking • Withthe web browser • Youshouldgetthemountpoint $ ices /etc/ices/config.xml http://192.168.10.51:8000
Playingthestreaming • Linux • Xmmsforexample • Windows • Winampforexample • Open themusicplayer, and playthelocation http://192.168.10.51:8000/mpd.ogg
Problems • Manylibrariesneededduringthecompilation of Icecast and Ices • Justinstallallthelibrariesasked and retrytheinstallation. • Error onthewebsite • ERROR: “Couldnotparse XSLT file” • Thisproblemisbecauseyoudon´thavethecorrect web folders in theconfigfile. • Makesurethatyouhavethenextforlders • Problemtryingtoconecttothe server withanothercomputer • DisableIptables in the server, use the “setup” command
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