How to install a Shoutcast server at home and diffuse with an OVH relay

Introduction


The purpose of this guide is to install your own web radio under windows with a Shoutcast server and a classic high speed internet connection. Thanks to an OVH relay offer, you will be able to increase the capacity to host your web radio and to introduce it on Internet.

Requirements:


Before creating your web radio, you must first have a content. In our case, it's a question of audio files, which are encoded in MP3 format. To set your web radio up, you read the files of your choice with a multimedia player. Next, this player sends the data to the streaming server thanks to a plugin called "source client". Finally, the streaming server diffuses only one flux, caught by the relay that you host at OVH and which will be also able to manage between 10 and 100 connections at the same time.

The required software:


Installation and configuration


Configuration of Shoutcast server

Start by installing the Shoutcast server, the configuration file of the server then appears.
We are going to personalize the following parameters:

  • maxUsers=1 (Only the OVH relay will be able to listen on your personal server)
  • password=change-me (To modify it to secure the access to your server)
  • srcIP=127.0.0.1 (to authorize your own computer to connect source clients to the Shoutcast server)

The rest of the configuration file can remain in the same status
Close (without forgetting to save) the configuration file and launch the Shoutcast server.
You get the following window:



  • Edit log allows you to edit the file, which saves the whole activity of Shoutcast server,
  • Edit config allows you to edit and to modify the configuration of Shoutcast server,
  • Hide monitor allows you to put the Shoutcast server in the systray without stopping it,
  • kill server allows you to turn the Shoutcast server off.

Configuration of DSP plugin


Install WinAmp then the Shoutcast DSP plugin. Next, launch WinAmp and open this configuration panel (Preferences):



In the Plug-in/DSP Effects Section, select Nullsoft Shoutcast Source DSP.
The configuration window of plugin appears, you can close the configuration panel of WinAmp (click on "close")



In the Output section, select the "connection" index, then enter the information, which will enable WinAmp to contact your Shoutcast server:

  • Address:localhost
  • Port: 8000 if you did not modify it
  • Password: the password saved in the configuration of Shoutcast server

To establish the automatic connection between WinAmp and Shoutcast, you can tick "connect at startup"



In the Encoder section, select Encoder 1 then configure the parameters:
  • encoder type: MP3 encoder
  • encoder settings: choose here the quality with you want to broadcast

This parameter is very important and depends on your internet connection. If the speed is too slow, your web radio won't be able to broadcast continuously. So, you have to strike a balance between quality and flowing, with which you wish to 'broadcast'.



In the Input section, input device parameter, select "WinAmp"
In our example, we look for broadcasting live what is read by WinAmp? but you can also select another broadcasting source such as the audio flux acquiered by a mic linked to your computer.

First boot of your web radio


Your web radio is now ready to broadcast. Select your files and add them in the playlist of WinAmp. For a nonstop playing, tick the loop reading of WinAmp?. As soon as you push on the reading button, your web radio starts to broadcast. The status window of DSP plugin remains open at the same time than WinAmp?, the status section indicates you how long the broadcasting has been started for.






The logs of Shoutcast server indicate that a source is connected to the streaming server in localhost (127.0.0.1)
The server displays the information on the flux and begin the broadcasting. If everything is ok, you can connect to your web radio in the xxx.xxx.xxx.xxx:8000, xxx.xxx.xxx.xxx being your public ip address (the address which allows to point your computer from the Internet). You just have to install a relay to your web radio to welcome more listeners.

For this, you can consult these guides:

ManagerStreaming: To configure your relay from OVH manager