Old 29th September 2000, 18:08   #1
THEMike
Bastificator [Alumni]
 
THEMike's Avatar
 
Join Date: May 2000
Location: #nullsoft
Posts: 1,260
How To Set Up An Internet Radio Station

So you want to run an Internet radio station? Great! Nullsoft have a solution for you. It's Shoutcast.

Now it works like this. You have a DJ broadcasting to a server. This server listens to the DJ, listeners connect to the server, and the server relays the signal to multiple listeners.

To run a station you need Winamp and the Shoutcast DSP Plug-in for Winamp, a server to stream to, a good connection to the server, good bandwidth from the server, and some MP3's.

Server Setup

Now for a server you can either go with an outside server provider, which you usually have to pay for, or run the server on your own box. If you are looking for a server provider please refer to this thread for a list of providers. If you choose to run the server on your own system you can download the latest Shoutcast DNAS server from Shoutcast.com for the Windows platform and *NIX platform. If you choose to run the server on your own system make sure your ISP's Acceptable Usage Policy allows you to run servers and that you have enough bandwidth. Bandwidth calculators can be found in the Useful Links thread.

Now that you have your server the first step is to configure it.

Install the software on your server. On windows you have two types of server, the GUI version and the console version, on *NIX systems you only have the console version.

With the install comes a file called sc_serv.ini, edit it. If you use the Windows GUI version there should be a link to edit it in your Start Menu. The basic entries in this file are listed below:

Required Stuff

MaxUser
You need to change this, to reflect the number of users you can handle on your bandwidth, the ini file is well commented and tells you how to set this well.

Password
This is your Shoutcast server's password, needed to connect and administer. Change it to something a bit safer than "changeme"! Remember this! You will need it later when you connect to stream.

PortBase
This is the port your Shoutcast server is going to cast on, make sure this port isn't blocked by your/your ISP's firewall. Change it if you like, but the default port of 8000 is usually fine.

Logging configuration
The logging options are fine for now, we're just getting you started.


Network Configuration

SrcIP
Now if you are on a dial-up, or a dynamic IP then this should be "ANY" to let you connect when you are on-line, if you are casting from a static location it should be your IP address. If the server is on your broadcast machine then you can set it to "127.0.0.1" so no other machine can connect.

DestIP
This is the IP your clients will connect to, leave it as ANY as instructed in the file, unless your machine has multiple IP addresses. This has to deal with network problems.

Yport
If you are behind an ISP cache then set this to 666 and the yp will be able to detect your actual IP and therefore will be able to add you.

NameLookups
Leave alone for now.

RelayPort and RelayServer
If you do not have enough bandwidth for all your listeners on your server alone, you can relay your stream to another server. If this server setup is a relay server uncomment the lines and point them to the proper IP and port of the server you want to relay.


The rest of the file is more advanced options. If you are interested in what they do, go through and read the documentation in the file and play with them. You can leave these alone if you just want to set up your broadcast and get it going. The rest of the options in sc_serv.ini are beyond the scope of this article.

Next you need to start the server. This can be done from a DOS prompt in Windows 98, or a command prompt in W2K or NT. If you have the GUI version just launch it with the link the installer put in your Start Menu. It's slightly different (but not much) on *NIX systems, and if you are using a *NIX system and need this help, then I don't think you should be using *NIX.



Shoutcast DSP Setup

Once you have installed the DSP plug-in into Winamp you can go ahead and start Winamp then the DSP plug-in:
Preferences (Ctrl-P) > Plug-ins > DSP/Effect > Select "Nullsoft Shoutcast Source DSP..."

Once you select this the Shoutcast DSP box will pop up. First select the "Encoder" tab. Select an Encoder (Use Encoder 2 because Encoder 1 currently has a bug), select an Encoder Type (currently only MP3), and then select the format and bitrate you want to stream with in the "Encoder Settings" drop down.

Next select the "Output" tab and select an Output (Output 1 by default is good). Hit the "Connection" button if it is not already selected. Type in the address of your server ("localhost" if the DSP and server are on the same machine). For "Port" enter the port you have as PortBase in the sc_serv.ini file (8000 by default). Enter the password you selected when editing sc_serv.ini. Finish off by selecting the encoder number that you previously set.

If you would like your server to be listed on Shoutcast.com hit the "Yellowpages" button next to the "Connection" button. Make sure "Make this server public" is checked. Then enter some descriptive info about your stream in the corresponding boxes below.

The other options in the Shoutcast DSP are not described here because they are beyond the scope of this article.

Once you have all the settings taken care of go ahead and hit the "Connect" button. Start playing the MP3s that you want to webcast. If everything is set up and running correctly the DSP should connect to the server and start the stream for the world to hear.

===============
[Updated by: Tom]
[Version: 2.2X]
[Last Update: 6-16-02]
This thread is an update of Sawg's update of THEMike's How to set up an internet radio station thread on the Winamp Foums. Some parts are blatantly copied from that thread, and I thank him.

[Modified by DJ-Egg : 20th Jan 2002]
THEMike is offline   Reply With Quote
Old 3rd November 2000, 17:26   #2
THEMike
Bastificator [Alumni]
 
THEMike's Avatar
 
Join Date: May 2000
Location: #nullsoft
Posts: 1,260
Commonly asked questions
quote:

Connecting and Disconnecting to yp.shoutcast.com

I dont know, but everytime I try to connect to my server, I get this:
<11/01/00@22:35:12> [dest: 205.188.245.33] starting stream (UID: 0)[L: 1]
<11/01/00@22:35:12> [yp_add] yp.shoutcast.com added me successfully
<11/01/00@22:35:12> [dest: 205.188.245.33] connection closed (0 seconds) (UID: 0)[L: 0]

Does anyone know the problem?




This is perfectly normal, your server will periodically inform yp.shoutcast.com that it is online, it's playing <some track> by <someone> and <some people> are listening. Then it will disconnect. Fear not.

quote:

How to listen now
How do I create a link on my web site to let people tune into my station?



Easy. Browse to your station: http://someipaddres:someportnumber

Find the "Listen" link, (in IE) right click and select "copy shortcut" this is the link you need, it will look like: http://someserver:someport/listen.pls

quote:

Pirating Audio
Is it possible to save a shoutcast stream?


Yes, but it's a bad thing to do, the station is probably paying to have the right to broadcast, and there you go stealing food from musicians

Various software is available on the net to do this, go find it yourself, you can't do it with a default winamp, and that's all I'm saying.

quote:

Clustering
How do I make my station a cluster?


Multiple SHOUTcast servers relaying your signal will automatically appear as a cluster if they aren't doing anything silly like re-encode. Same stuff, same time, same bitrate, same source = cluster.
THEMike is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Tech Support Greatest Hits

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump