Ryan's District
September 07, 2008, 02:51:07 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length

There are currently users in chat
News: You are not allowed to view links.
Register or Login
How to Unlock Nokia mobile Phones

You are not allowed to view links.
Register or Login
Request any TV Show / series / Episodes / movie and we will get it for you for free

 
   Home   Help Search Chat Calendar Chess Shop Login Register  
Digg This!
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: How to create an internet radio station  (Read 5125 times)
0 Members and 2 Guests are viewing this topic.
Ryan
RD Founder
Administrator
Hero Member
*****

Reputation: 5224
Offline Offline

Gender: Male
Posts: 6968
5246.54 RD$

View Inventory
Send Money to Ryan

Admin


View Profile WWW Awards
« on: June 23, 2006, 08:20:38 AM »

How to create an internet radio station


If you've ever wondered how internet radio stations work and/or wanted to create your own, this tutorial will show you how. It is actually very easy, and you can set up your own radio station and begin broadcasting songs in about 10 minutes.
First of all, let me give you a quick rundown on how it works. You have your music player (I will use You are not allowed to view links.
Register or Login
Winamp
, get it if you don't have it) and you play your music as you normally would. Through a plugin (which you will download and install), Winamp will send the music you play to the broadcasting server (which can be on your PC or on another one with a larger connection), and the server sends the music to the listeners, reencoding it to a better format, if you are so inclined. Note that the amount of listeners you will be able to support is limited by your outgoing bandwidth and the bitrate of the song you are streaming, so if you're streaming at 128 kbps and you have 256 kbps upload bandwidth, you'll obviously be able to support 256/128 = 2 listeners.
The programs I use are Winamp for playing, oddcast DSP for broadcasting to the server and Icecast for serving. You can use Winamp's own Shoutcast plugin and server, but I prefer to broadcast in You are not allowed to view links.
Register or Login
Vorbis
because it's smaller and has much better quality than MP3.
Let's get started, then. Download Icecast from You are not allowed to view links.
Register or Login
this page
(you presumably want the Windows version) and install it. Run it and click "Edit configuration" in the "Configuration" menu. A notepad window will pop up with various configuration options. My configuration is this:
Quote
<icecast>
    <limits>
        <clients>100</clients>
        <sources>2</sources>
        <threadpool>5</threadpool>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <burst-on-connect>1</burst-on-connect>
        <burst-size>65535</burst-size>
    </limits>
 
    <authentication>
        <source-password>hackme</source-password>
        <relay-password>hackme</relay-password>
        <admin-user>admin</admin-user>
        <admin-password>hackme</admin-password>
    </authentication>
 
    <hostname>localhost</hostname>
    <listen-socket>
        <port>8000</port>
    </listen-socket>
 
    <fileserve>1</fileserve>
 
 
    <paths>
        <basedir>./</basedir>
 
        <logdir>./logs</logdir>
        <webroot>./web</webroot>
        <adminroot>./admin</adminroot>
        <alias source="/" dest="/status.xsl"/>
    </paths>
 
    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
         <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
         <logsize>10000</logsize> <!-- Max size of a logfile -->
    </logging>
 
    <security>
        <chroot>0</chroot>
    </security>
</icecast>

You can copy it and paste it in your file, but make sure you change "hackme" to more secure passwords. Once you have done this, save the file and close the window. Click the "Start server" button and the listboxes below should be populated with various information, like this:


Your server is now ready for people to connect to it, but there's no music playing, so let's tend to that. Download oddcast for Winamp from You are not allowed to view links.
Register or Login and install it. Now, run Winamp, go to the "DSP/Effect" section of the preferences and click on "oddcast DSP v3". You should see the oddcast window pop up, looking something like this:



Click on "Add encoder" and a new encoder will be added in the box below. Right-click on it and select "configure". A dialog will pop up, asking for various information. For "Encoder type" select "OggVorbis" (or MP3, if you are so inclined), this will make you stream in Vorbis. Some people might not be able to have the available codecs if they're running a very old version of their player (all newer players worth their salt support Vorbis).

For "Quality" I have entered -2, it is the lowest quality, giving you about 30 kbps bitrate and very acceptable quality. You can experiment with 0 or 2, going over 6 is overkill in my opinion (since 6 is what I use to archive music from my CDs), and you will be able to support more listeners if you have lower bitrate for the song.

For "Server IP" enter the IP of the server you're running Icecast on (it's "localhost" if you're running it on your own PC). "Server port" is whatever you entered in the configuration, 8000 if you used mine, and "Encoder password" is hopefully something other than "hackme". I also use mono, because my connection only has 128 available upstream bandwidth and it doesn't sound too bad.

Click OK here and then click "Connect". If you did everything right, the encoder should now connect to Icecast and begin streaming, like so:



If you want to do a voiceover (speak in your radio) just click the Live Recording button and it will broadcast anything that you say in the microphone (or whatever you enter as the input device). Click on it again to return to your normal music (I haven't actually tested this, if there are any problems just comment here).

The "Source Level Stats" section of Icecast should also change to include your stream, and will look something like this:



You can now tell people to connect to http://[yourip]:8000/stream.ogg with their players, and that's all there was to it. Happy DJing.

Note: Before you broadcast any music, make sure you have the right to do so, otherwise you could be breaking the law of your country.
Logged

My recommendations:
 You are not allowed to view links.
Register or Login
A Fast Proxy
Ryan
RD Founder
Administrator
Hero Member
*****

Reputation: 5224
Offline Offline

Gender: Male
Posts: 6968
5246.54 RD$

View Inventory
Send Money to Ryan

Admin


View Profile WWW Awards
« Reply #1 on: June 23, 2006, 08:21:23 AM »

credits :



Special Thanks for the tutorial creator Poromenos
His Site : You are not allowed to view links.
Register or Login

Logged

My recommendations:
 You are not allowed to view links.
Register or Login
A Fast Proxy
jimbo21
Newbie
*

Reputation: 1
Offline Offline

Posts: 17
1781.08 RD$

View Inventory
Send Money to jimbo21
Ryan's District


View Profile Awards
« Reply #2 on: July 21, 2006, 01:28:49 PM »

Thanks! Very Nice Code
Logged
thugyj
Newbie
*

Reputation: 0
Offline Offline

Posts: 1
7177.25 RD$

View Inventory
Send Money to thugyj

View Profile Awards
« Reply #3 on: July 24, 2006, 10:11:36 AM »

nice +  Tutorials u mean 0o.
Logged
Ryan
RD Founder
Administrator
Hero Member
*****

Reputation: 5224
Offline Offline

Gender: Male
Posts: 6968
5246.54 RD$

View Inventory
Send Money to Ryan

Admin


View Profile WWW Awards
« Reply #4 on: May 08, 2008, 11:48:14 PM »

worth a bump ?
Logged

My recommendations:
 You are not allowed to view links.
Register or Login
A Fast Proxy
Ryan's District
   

 Logged
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Archive - WAP2 - WAP - imode
Sponsors: TOP SEO Directory - Online Job Maker - List of Advertisers - BIG VENUE

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.285 seconds with 27 queries.

Google visited last this page September 04, 2008, 02:01:25 PM