How To Start Your Own Internet Radio Station With Shoutcast

Internet RadioInternet radio is, quite possibly, one of the more interesting methods of listening to music. As of this writing, there are approximately 30,000 broadcasting SHOUTcast radio stations – all broadcasting a unique playlist of songs or other content.

We’re going to show you how to start your own Internet radio station with SHOUTcast – and help you set up a player on your website.

To start off your own Internet radio station, you’ll need the following:  SHOUTcast Radio DNAS server, Winamp, and the SHOUTcast Radio DSP Plugin.

Also note that there are various legal implications for playing copyrighted works, which you can read at the bottom of the SHOUTcast download page.

Setting up the SHOUTcast Server

    sc_serv.ini

  • Download and install the SHOUTcast Radio DNAS server.
  • Browse over to C:\Program Files\SHOUTcast\ and open sc_serv.ini in your favorite text editor (I prefer Notepad++).
  • You’ll need to edit a couple values:
    • On line 21, edit the MaxUser value. The comment above it tells you how to calculate your possible number of listeners – take the upload rate of your connection in kbps and divide it by the bitrate you intend to broadcast at.
    • For example, my upload speed is approximately 993kbps, and if I wanted to broadcast at 96kbps, I could fit in roughly 10 listeners at once.
    • On line 29, choose a password for the Password value. This will be used so Winamp can connect to your server, and for the web administration.
    • On line 37, PortBase can be left alone unless you have an existing server that utilizes port 8000/8001.
  • Download and install Winamp. Make sure to uncheck any offers to change your search engine, etc.
  • Download and install the SHOUTcast Radio DSP plugin.
  • Open Winamp, head to Options > Preferences, then scroll down to DSP/Effect under Plug-ins. Click on Nullsoft SHOUTcast Source DSP and a small window should open:
  • Winamp Preferences Window

  • Switch to the Output tab and under Address put “localhost” without the quotes. For Port use 8000 unless you changed the value in step 2, and Password uses the password you configured in step 2:
  • SHOUTcast Output Configuration

  • On the same tab, click where it says Yellowpages and configure the settings, which should be fairly self explanatory:
  • Yellowpages Configuration

  • Switch to the Encoder tab. Set Encoder Type to MP3 Encoder, and choose an Encoder Setting. Keep in mind the number of users you intend to be able to broadcast to at once – multiply the number of users you chose in step 2 by the bitrate you select and make sure the resulting number doesn’t exceed your upload speed:
  • SHOUTcast Encoder Configuration

  • Start the SHOUTcast DNAS. Make sure to let it connect to the Internet.
  • SHOUTcast DNAS Server GUI

  • Switch back to the Output tab on the Winamp SHOUTcast window, and hit Connect. Head back to the Winamp library, and pick a random song. The SHOUTcast plugin under Status should start showing a quickly increasing number. You’re free to close the plugin window now that it’s connected:
  • Connected to Server

Broadcasting on the Internet

At this point, your server is accessible anywhere on your local network. You’ll need to port forward to make it Internet accessible, and there are a few solutions to get your broadcast playing on a webpage.

  • You’ll need to port forward ports 8000 and 8001 to your local computer. If you need help port forwarding, select a router from this list, and select ShoutCast when choosing an application. To find the port you need to forward to, follow the first step of Ryan’s FreeProxy article here.
  • To verify that your server appears on the Internet, switch to the SHOUTcast server window, and wait for the following to appear:

    [yp_add] yp.shoutcast.com added me successfully

    If it fails for any reason, see the error it provides, double check the steps, and consult this forum thread if all else fails.

Embedding in a Webpage

Assuming everything has worked perfectly up to this point, we’re assuming you need a way for people to listen from a webpage. For all of this to work, you’ll also need to grab your external IP address, which you can find at WhatIsMyIP. There are a couple of solutions at this point:

WaveStreaming Player: This player requires you give them a name and an email address – but it’s pretty straightforward and requires no editing of code:

WaveStreaming Flash Player Wizard

Once they give you the code, just copy and paste anywhere you want the player to appear.

StreamSolutions.co.uk Embedded Player Generator: Another simple solution, but doesn’t ask for your name or email. Simply give your station URL and port as directed, and select a version of the player. Note that this player is rather unwieldy in Firefox if the appropriate plugin is not installed.

Stream Solutions Windows Media Generator

Minicaster: Download Minicaster and unzip the archive. Edit minicaster.xml in your favorite text editor. Replace all the code in the file with the following, replacing your_ip_address, your_port, your_website_url, and Your Title Here:

<?xml version=”1.0″ encoding=”iso-8859-1″ ?>
<config version=”1T” xmlns=”http://www.draftlight.net/dnex/config/ns/1T/”>
<mp3cast>
<mount>http://your_ip_address:your_port/;</mount>
<website>your_website_url</website>
<title>Your Title Here</title>
</mp3cast>
<init autoplay=”0″ volume=”80″ reload=”5″ xfade=”0″ />
</config>

Upload minicaster.xml, minicaster.swf, and to be utterly simple, EXAMPLE2.html. You could alternatively embed the following code in a web page that shares the same directory (or edit the parts in bold to reflect directory structure):

<object id=”fmp256″ type=”application/x-shockwave-flash” data=”minicaster.swf” width=”180″ height=”70″>
<param name=”movie” value=”minicaster.swf” />
<param name=”wmode” value=”transparent” />
<div>
<h4>Minicaster Radio Playhead</h4>
<p>To listen you must <a href=”http://www.macromedia.com/go/getflashplayer/”
title=”Click here to install the Flash browser plugin from Macromedia”>install Flash Player</a>. Visit
<a href=”http://www.draftlight.net/dnex/mp3player/minicaster/” title=”Draftlight Networks”>Draftlight Networks</a>
for more info.</p></div>
</object>

That’s about it to starting a basic SHOUTcast server. If you have any comments or questions, please direct them below.  Also, let us know where to find your newly created radio station so we can come over and listen!

Image Credit : LoopZilla.


MakeUseOf Recommends

Jason K

I'm a high school student from Southern California - I enjoy video games and wasting time. When not working on school work, I kill time on the computer.

The comments were closed because the article is more than 180 days old.

If you have any questions related to stuff mentioned in the article or need help with any computer issue, just ask it on MakeUseOf Answers.

Hide 11 Comments

  • Anthony July 23, 2009
    0 likes

    Bookmarked, May install later, sounds cool

    | Like
  • Mani V July 23, 2009
    0 likes

    Bookmarked It at our site !!

    Nice Tutorial

    | Like
  • krishna July 23, 2009
    0 likes

    Wow. I am going to start the station

    | Like
  • tom July 25, 2009
    0 likes

    thanks
    great tutorial n im goin to start my own station
    check it out its
    ABC_123_FM
    genre: pop
    thanks again,
    techster ;-)

    | Like
  • TwinStar October 20, 2009
    0 likes

    Hi thanks for this, eveything i have seen for starting your own site costs – is this process free or does anything i install cost me?

    | Like
  • Matt November 20, 2009
    0 likes

    Thanks champ :)

    | Like
  • Annika February 5, 2010
    0 likes

    Thank you so much! I was getting so aggravated at my lack of ability to get one of the streams going properly. This tutorial helped me with the exact issue that I was overlooking!

    | Like