![]() |
|
|
|
|
|
MP3 streaming server
By Mayank Sarup <mayank@freeos.com>
Icecast has a much better administration, both through telnet as well as a Web interface and is known to be less of a drain on server resources. In addition to this, it has an excellent support for directory servers. The latest version is 1.3.10 (you can get the source as well as binary RPMs from http://www.icecast.org/download.html). Installation Installation from source is a simple three-step process ./configure Copy the default configuration file to the conf directory under the base icecast directory. cp conf/icecast.conf.dist /usr/local/icecast/etc/icecast.conf Open the file in any editor vim /usr/local/icecast/etc/icecast.conf Modifications The following configuration settings need to be modified. * admin_password foobar - The admin password that is used when connecting to the admin console. * oper_password foobar - The password required to access special operator commands. * hostname - You can use this one to bind Icecast to a specific IP or to the IP of a hostname. * server_name - This should be your fully qualified domain name or the IP addressed with your domain name. Although the above settings are enough, but as the configuration file is extremely well commented, we suggest that you give the options more than a passing glance. The next thing we need is a source to push to Icecast. This could be a shoutcast source or a live streaming source. You can push as many varied streams as you like to Icecast. Shoutcast is one of the more preferred ones because of the popularity of Winamp. Shoutcast feeds an MP3 stream to Icecast. Look for it in http://www.icecast.org/download.html Three step installation ./configure Copy the default configuration file to the etc directory under the base icecast directory. cp etc/shout.conf.dist /usr/local/icecast/etc/shout.conf Edit the shout.conf file and make the following configuration changes. * server_name foo.bar.org - Your server domain name
* playlist - Point it to your shoutcast playlist You need a playlist of mp3's for shoutcast. An easy way to prepare the playlist, is to use find. For example: find /mp3 -name *.mp3 > /usr/local/icecast/etc/shout.playlist Now begin by starting icecast and follow it by shoutcast. Shout will connect to Icecast and the mp3's in your streams will now be available at http://server:8000. Likewise, you can attach many more streams to icecast. One good stream is Liveice, which allows you to do live streaming of content. Now that you have a full-fledged radio station installed and running, have a blast. Happy `DJ’ing’!
Other articles by Mayank Sarup
Current Rating: [ 5.36 / 10 ]
Number of Times Rated: [ 59 ]
|
|
|
© 1998-2004 FreeOS Technologies (I) Pvt. Ltd. All rights reserved.
[Privacy Policy]
![]() |