Home arrow Multimedia arrow Page 7 - Network Radio With Icecast

Channeling the Energy - 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

Now, how about adding a few more channels to the station?

You'll remember that, at the beginning of this tutorial, I told you that the icecast server could stream content from multiple source clients simultaneously, simply by placing each one at a different mountpoint. Well, that's how you create "channels" -- simply create a playlist file for each "channel" and have iceS stream it to the server on a different mountpoint.

The following example illustrates, by creating three channels, one for 80s music, one for dance tracks and one for 60 rock'n'roll:

$ /usr/local/icecast/bin/ices -h olympus.local.net -p 8000 -P abcdef -F
/tmp/80s.txt   -m 80s -g "80s Stuff" -d "Music from the 80s" -v -t http &

$ /usr/local/icecast/bin/ices -h olympus.local.net -p 8000 -P abcdef -F
/tmp/dance.txt   -m dance -g "Dance!" -d "Get up and get movin'!" -v -t http &

$ /usr/local/icecast/bin/ices -h olympus.local.net -p 8000 -P abcdef -F
/tmp/60s.txt   -m 60srock -g "60s Stuff" -d "Rock from the 60s" -v -t http &

You can now tune into the 80s music channel by pointing your audio player to

http://olympus.local.net:8000/80s

the dance channel by opening up

http://olympus.local.net:8000/dance

and the 60s rock channel at

http://olympus.local.net:8000/60srock

Go on - try it out for yourself and see!



 
 
>>> 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: