Home arrow Multimedia arrow Page 3 - Network Radio With Icecast

Source Control - Multimedia

Always wanted to set up your own radio station? Well, with the Icecast broadcasting system, you can set up a multi-channel radio station on your home or office network. The best part? You get to pick the tracks.

TABLE OF CONTENTS:
  1. Network Radio With Icecast
  2. The Iceman Cometh
  3. Source Control
  4. Service with a Smile
  5. Surfing the Stream
  6. Facing the Music
  7. Channeling the Energy
  8. Web World
By: Melonfire
Rating: starstarstarstarstar / 35
April 13, 2004

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

The first order of business to install the Icecast system on the Linux box you plan to use as the server. There are two separate applications you need to download and install here: the server software, called icecast, and the source client for audio files, called iceS. I'll start with the server -- drop by the official icecast Web site at http://www.icecast.org/ and get the latest stable release of the server software (this tutorial uses icecast 2.0-beta).

Note that you will need a C compiler and a running Web server in order to use the software (this tutorial uses GCC 3.2 and Apache 1.3.26).
 
Once you've downloaded the source code archive to your Linux server, log in as "root"

$ su -
Password: ****

and extract the source to a temporary directory.

$ cd /tmp
$ tar -xzvf /home/me/icecast-2.0-beta-1.tar.gz

The next step is to configure the package using the provided configure script. Since I'd like to install the server to /usr/local/icecast/, I'll specify that location as an argument to configure.

$ cd /tmp/icecast-2.0-beta-1
$ ./configure --prefix=/usr/local/icecast

Icecast should now have been installed to the directory /usr/local/icecast/.

Next, download and install the iceS binary -- you can get it from the same Web site. You should also download a copy of libshout, which is required by iceS. Here, I've used iceS 0.3 and libshout 2.0.

Once you've downloaded the source code archive to your Linux server, extract the sources to a temporary directory.

$ cd /tmp
$ tar -xzvf /home/me/libshout-2.0.tar.gz
$ tar -xzvf /home/me/ices-0.3.tar.gz

Next, configure compile and install libshout,

$ cd /tmp/libshout-2.0
$ ./configure
$ make
$ make install

followed by iceS.

$ cd /tmp/ices-0.3
$ ./configure --prefix=/usr/local/icecast
$ make
$ make install

iceS should now have been installed to /usr/local/icecast/ -- I've installed it to the same location as the icecast server binary for convenience.

Once you've got the server and source client  installed, the next step is to configure them. I'll start with the server, next.



 
 
>>> More Multimedia Articles          >>> More By Vikram Vaswani, (c) Melonfire
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

MULTIMEDIA ARTICLES

- Basic Lighting in OpenGL and SDL Game Progra...
- Working with Colors in OpenGL for Game Progr...
- Animation in OpenGL for Game Programming usi...
- Game Programming with SDL: Getting Started w...
- Using OpenGL with SDL for Game Programming
- Learning Sound for Game Programming using SDL
- Game Programming using SDL: Raw Graphics and...
- Game Programming using SDL: Getting Started
- Network Radio With Icecast
- Learning To SMILe

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: