Multimedia
  Home arrow Multimedia arrow Page 7 - Network Radio With Icecast
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MULTIMEDIA

Network Radio With Icecast
By: Melonfire
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 34
    2004-04-13


    Table of Contents:
  • Network Radio With Icecast
  • The Iceman Cometh
  • Source Control
  • Service with a Smile
  • Surfing the Stream
  • Facing the Music
  • Channeling the Energy
  • Web World

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Network Radio With Icecast - Channeling the Energy
    ( Page 7 of 8 )

    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
     

       

    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





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    Stay green...Green IT