登录:     


Forum: General Discussion

Topic: Hosting my own Shoutcast server

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

Hello all...

I am rather new to this online broadcasting stuff, and seem to be getting more and more frustrated as I go along.

I have a Live 365 account, but that doesn't seem to be working. I have downloaded the Shoutcast Server software as well as Winamp, but that doesn't seem to be working. I have read through all 7 pages of the bradcasting guide, but I can't find the information that I need. I have read the SHoutcast documentation, and that's not helpful in getting me up and running either.

Here's what I want to do...

I want to host my own Shoutcast server from my house so that I can connect to it through VDJ and broadcast live.



Here's what I need to know...

Now that I have downloaded and installed the Shoutcast Server and Winamp, how do I make it work?


If anyone could provide some helpful insight that would be fantastic!!!

THanks for the community...

Wayne
 

发表时间 Sun 03 Feb 08 @ 11:30 pm

Ideally, you'd have a Linux PC and install a server .... (like VDJ radio)

But you can also use a PC version of Shoutcast, and run it on a Windows PC.


Its a bit technical to set up.


IF you are just broadcasting to a few friends, you can do so directly from VDJ without the need of shoutcast, or server, as VDJ can act as a radio server by itself ..
 

Thanks Norway...

I am looking for a step by step on how to get my Shoutcast server to work. I can get Winamp to talk to Shoutcast, but I can't get VDJ to communicate with Shoutcast.

Any help u can offer?
 

I use 2 PC's, 1 for the server (winamp) and 1 for VDJ, route the sound to winamp via LINE IN........ works a treat.......

Saying that, I have 4 PC's, so, I'm mad lol
 

are you behind a firewall? normally from your house you will have something blocking inbound connections.

first describe exactly what you have done and what is 'not working'.

what i suggest is that you accomplish and test each step

1) shoutcast server is setup (the config files are a bit confusing at first)
2) you can connect VDJ to the broadcast server (this is called relaying)
3) you can use winamp on your own machine to connect to the shoutcast server (on the same machine) and get a signal

always test loopback first (everything works on the same machine) because inter-computer communication gets complicated.

once you can verify that you can or cannot do any or all of the 3 steps, we can isolate a problem. never try to crunch it all at once otherwise you wont have a clear idea of impingent factors.
 

sorry, i read through too quickly. you have the first step done, but stuck on #2.

like i said, you need to relay from vdj to shoutcast and then beyond. this means the port which you connect to shoutcast will be different than what the client connects to listen. typically it's something like port 8000 and 8080 to listen.

look for this section in the sc_serv.ini (config for shoutcast)

; RelayPort and RelayServer specify that you want to be a relay server.
; Relay servers act as clients to another server, and rebroadcast.
; Set RelayPort to 0, RelayServer to empty, or just leave these commented
; out to disable relay mode.
RelayPort=8000
; RelayServer=192.168.1.58

you need to uncomment the RelayPort (i believe RelayServer is to bind a specific machine IP, so you can leave that).

also:

; AllowRelay determines whether or not other SHOUTcast servers will be
; permitted to relay this server. The default is Yes.
AllowRelay=Yes

AllowRelay to Yes


the next area of interest:

; Password. While SHOUTcast never asks a listener for a password, a
; password is required to broadcast through the server, and to perform
; administration via the web interface to this server. This server should
; consist of only letters and numbers, and is the same server your broadcaster
; will need to enter in the SHOUTcast Source Plug-in for Winamp. THIS VALUE
; CANNOT BE BLANK.
Password=vdj

; PortBase. This is the IP port number your server will run on. The
; value, and the value + 1 must be available. If you get a fatal error when
; the DNAS is setting up a socket on startup, make sure nothing else on the
; machine is running on the same port (telnet localhost portnumber -- if you
; get connection refused then you're clear to use that port). Ports < 1024
; may require root privledges on *nix machines. The default port is 8000.
PortBase=8000

password is what you need to put in vdj when you connect to the relay.
portbase is a webserver of shoutcast. when shoutcast is in the air, point your browser to http://localhost:8000 where 8000 is the configured portbase.

if every this is setup, vdj will connect and start the clock. you can then hit the website above and click the listen link.

if you can get those things working, you're ready to test from another client (preferably to start, another machine in your network, but not the same as the server.) that will then tell you if your software firewalls are zealously blocking incoming connections.

firewalls mistrust any connectiong which it didnt instantiate, meaning it was unexpected. you need to go into windows firewall and open TCP port 8000 so it wall let them pass through.

let us know how you get on to this point,
 

Thanks all...

I will try this configuration tonight and post my results.
 

Paz75...

Thanks for all the help thus far. I have sc_serv.ini configured as you said in Shoutcast, and the server up and running.

What I can't seem to figure out is 2 things:

1. What server to I enter in VDJ record configuration?

2. What do I do in Winamp to connect to the Shoutcast server?

3. Do both VDJ and Winamp have to be running on my VDJ machine while I am broadcasting?

I am sorry that I don't know what to do here, but I am VERY new to internet broadcasting.

Thanks again...

Wayne
 

Ok, first and foremost, you dont actually need to install and run shoutcast server. You could just do it from VDJ only as it has a "broadcast from ym computer" setting which acts as a shoutcast server. However I prefer to use the real shoutcast server because it can connect more clients and be more configured.

Now, ignore VDJ for now. You need to test your shoutcast server locally. Enter into your browser: http://localhost:8000 You should get a small website which is the shoutcast server. It will also give you a Listen link which you can at least connect to and check.

If that works, you can then try vdj with shoutcast. You'll need to set VDJ REC settings to 'broadcast to a radio server' and the server will be localhost and the port is 8000. Make sure you remember what password you had set as well in the .ini file.

That should be everything you need to connect. MAke sure you also watch the console of shoutcast because you will see connection attempts being made if the port is set correctly.

This page is also informative, but deals more about firewalls, which is the last problem once you can get it working on your local machine.
http://www.allinternetradio.com/shoutcast-firewalls.asp
 

That got me up an running!!! Thanks for all the help Paz.
 

 

hi i got everything working with your great tutorial but who do i stream it or send a link to a freind to hear my mix
 



you can use VDJ to broadcast to it...

With the servers ip or url name, and with the password you have set in the shoutcast config file.

For others to listen to the stream is a whole other story. You can either give out the shoutcast page directly ( www.yourserver.com:port), where port is what you have set it at in config file.

But that page looks very boring and lame...

So to integrate it into your website is better, but that takes quite a bit of knowledge about PHP and so on to do...
But google for shoutcast.class.php and you'll find some info :)
 

if you do want to use shoutcast sever and want to use the output of the computer or external mixer you will need to download the linein plugin.

I do something similar during football season. Since radio stations can't stream football games I take the traditional am/fm air feed from the radio and plugin the cable in the headphone jack and the other end in the linein input on the computer...this way I can listen to the football game over my windows mobile phone or anywhere I am that has an internet connection.
 

Oh yeah if you are in the states, which your profile says you are, you better be careful or else the music licensing companies (ascap, bmi, seasac) might come raining on your parade. Technically if you broadcast any music you are supposed to have a license from those companies. The licenses are not cheap. 2 of the 3 have blanket licenses and the other is pretty convoluted (sp?).

Live365 makes things simple as they have agreements with the licensing companies. The fees are bundled in the price plan you select.

It is what turned me off of having my own internet radio station.

I wasn't sure if you were aware of what the letter of the law is when it comes to broadcasting music on the internet (for those in the U.S.).
 

i got it workin on my own shoutcast server i spun for lots of ppl last night early morning
 

Norway tells a really good point the default page is really boring and not that great. I have setup my own server and website and it took me quite some time to get it right. But if you are up for the task good luck ;)
 

 

Hay all i was wondering i got everything set up to run a shoutcast server from my computer however im getting a message on the program that says something about shoutcast error station-compute. Im not sure what is rong i did everythig that was said to do and im getting that ne message other than that everything looks good. Can you help thanks.
 



(陈旧帖子或论坛版块会自动关闭)