MyZDNet | Reviews | Shop | Business | Help | News | Electronics | GameSpot | Tech Life | Downloads | Developer
Help & How-To
Free Downloads
 
Update Your Software
 
10 Best Products

 
ZDNet > Help & How-To > Internet > Stream and Shout
 

 

 

 
Search For:            • Search Tips
• Power Search
 
 
Contents
Stream and Shout
I Am The DJ
Performance and Scalability
Radio Free World?

computershopper.com: The best buys on computer products!
DESKTOPS
PRINTERS
UPGRADES
AND MORE!

Online Classes
Build your skills! Sign up for an online class from SmartPlanet:
Hardware
Software Applications
Web Design & Graphics
Web User
All classes...

www.micronpc.com

 
Stream and Shout
By Henry Kingman, Help & How-To

This is too much fun; someone is going to make it illegal soon...
--F.U.Bailout, early mountain biker

The excitement reverb'ed around our office after I installed the Shoutcast server. Ordinarily well-behaved cube dwellers were cranking the tunes, managers wandering around wondering whether to intercede or join the fun. It was the most fun we'd had since discovering WinAmp and the MP3 format about this same time last year. Silly summer reverie? Or something way cool...you be the judge.

Shoutcast is a slim repeater that streams MP3s. It is trivial to install and use and would seem a deathknell to musical copyright as we know it. You can hook it up on a Linux, Unix, or Win32 box and use it to let your friends all around the world listen in on your MP3 player. You can even add a microphone and do fade-ins and fade-outs and pretend that you're Casey Kasem delivering your own Top 40. Howard Stern, look out.

Here's how it works: first, you have to install the server. On Linux, you just unzip the binary, rename it without the version info and run something like install -m 755 sc_serv /usr/local/bin or whatever.

Next, edit the config file, specifying a port, the maximum number of users, a password, the log file location and, if you just want to rebroadcast another Shoutcast repeater, the relevant address and port number.

If you want your server to listen for connections from a friend or two outside the corporate firewall, you'll have to pick an open port. You could use 80, the Web server port, or you could look for an open port with a tool such as netcat. You might want to avoid a wholesale port scan, though, as that could be interpreted as an act of aggression and get your IP address added to the firewall deny file.

As for the user maximum, calculate an intelligent amount. Multiply your throughput max by 0.9 to account for overhead and divide by your bitrate. Thus, a 384kpbs DSL line x 0.9 = about 5 connections @ 56kbps or about 13 @ 24kbps. Work with 24kbps if you want most 33.6 modem users to have access to your streams.

When you're done with the edits, toss the sc_serv.conf file in /etc with the other config files. Due to a quirk in the code, you'll need to launch sc_serv while in /etc or else add a link to the config file from the cwd you launch sc_serv from. So if that's your home directory, try ln -s /etc/sc_serv.conf ~. That's it!

If you run sc_serv in the foreground, it will produce running commentary on everything. Or, you can background it and check the log file later. If you want it to keep running after you log out, maybe try nohup sc_serv.

Next >
I Am The DJ


 
Next >
I Am The DJ  

Best Resources
Tips: Audio streaming tips, FAQs
 
How-To: MP3 Superguide
 
Glossary: ZDWebopedia
 
Download: SHOUTcast Server
 
Forum: Get Your Questions Answered Here
 

 
 
 
E-mail this story!
Printer Friendly




 Sponsored Links
Turbo mail  Upgrade your email, add fax and voice features for FREE!
STORAGE  save up to $190.00 on special Zip offers from Iomega
Low Prices  ZDNet/Intellesale Liquidation Sale: Computers/Hardware
NeoPlanet  Surf with NeoPlanet 5.1 It's fast, It's free, It's easy
Books  Save $10 off your $30 order today at Barnes & Noble.com!
FAST&LIGHT;  TransPort LT - 500MHz, under 5 lbs, from $2100!
 
 Intel Manufacturer Showcase    Need More Help?
Shop Now!   Shop at Dell's Home Solution Center - Dell Small Business Center
 
 ZDNet Featured Links
Freebies!  Free e-mail, voicemail, downloads & more - all from ZDNet
NEW!  Shop the Outlet Store for best buys on computer products
Tech Tips  Get FREE customized computer tips delivered to your e-mail box!
e-centives  $50 off Deskjet 610CL printer with computer purchase!
 
 Magazine Offers
Click Here  FREE Offer from Sm@rt Partner($115 Value)
 

Tech Jobs |  Digital Coupons |  Free E-mail |  Newsletters |  Updates |  MyZDNet |  Alerts |  Rewards |  Join ZDNet |  Members |  ZDNet eCircles
Feedback |  Your Privacy |  Service Terms |  Ad Info
Copyright © 2000 ZD Inc. All rights reserved. ZDNet and the ZDNet logo are trademarks of ZD Inc.