Recommended Hardware for Streaming MP3 Radio Stations?
Silent Node asks: "I am involved with a campus radio station where the web-site, e-mail, and pretty much everything else are hosted by third parties. In the interests of both cost savings, and control, we're considering purchasing our own server, and handling things directly.
Aside from hosting a nothing-too-wild web site, this server would also have to hadle about two-dozen Email accounts, a couple mailing lists, and...streaming audio. I have experience administrating Windows NT, which is why I don't want to use it for this many things on one box. Our consideration is to perhaps get a G4 and run Linux on it. I have a few questions related to this... Would it be 'easier' just to run x86 Linux? What sort of minimum specs would a server like this need (remember, being listener funded, price is a big deal)? What streaming media sofware choices would we have (MP3 streams would be prefferable, due to the wide distribution of players)? Do you forsee any 'hang-ups' I haven't mentioned (i.e.: is this even practical)?"
Perhaps you'd like word from the manufacturer. Or PriceWatch.
Athlon 500 costs less than a PIII 600. Athlon 500 is faster than a PIII 600. Next year you can purchase a SMP motherboard that will support the Athlon 500 that will probably be 100% faster than the same mhz Intel SMP board.
If it means fighting hardware all the time or fixing endless library/driver clusterfux, then you can have your "decent" OSes. If it's about modern memory management and better multiprocessing, well I understand but that isn't everything... As if Apple isn't throwing away nearly their entire OS to modernize! They already managed to successfully throw away their inferior hardware... OS X will be everything that people say sucks about Mac OS Classic.
Hmm... Unix + Mac OS = Computer that acutally makes sense. Everyone talks about FUD from Microsoft and such, but no one talks about the FUD cast by individuals who must to stick up for blatantly inferior hardware and OSes.
Pentium, Itanium, whatever... It's only good because it's cheap. The problem is that after a while, cheap doesn't make up for lame. Intel is dead, they only employ marketers now. Microsoft Windows 2000? hahahah Better, but still a usability joke. At least with *nix you expect stuff to be challenging. Problem with *nix is no really good GUI.
Ill admit that I am a avid mac user! I would not let you use a G4 for what you are asking! First off I dont even know if LinuxPPC will run on a G4, I do know that OSX will NOT run on a G4 yet! Even if LinuxPPC does run on the G4 I doubt that any of it can take advantage of ALTVEC or veloicity engin or what ever you want to call it. If you arent taking avantage of that portion of the processor then you are buying something useless. Go for a build your own system... Good luck and Have FUN!!
A very good choice for an NT server would be a MS Netshow server which can stream MS/MPEG 4 audio which is a low bandwidth optimized verion of the MPEG series.
There are many custom solutions to network radio under Unix which can broadcast (some even multicast) audio over a subnet, look through the sunsite archive for the app's.
Real Audio / System G2
MP3 Shoutcast
MS NetShow
You are going to likely fill your pipe before you would be hitting cpu limits. Considering with shoutcast/etc there isnt any decodeing of mp3's done. In essence, its like haveing a http connection at upto 128k bit. If you want this to be a live encoded station, encodeing at low bitrates, probobly would only touch the machine.
You might be better off using a G3 to do what you'd like. G3s have plenty of power for what you want to do, plus they're fully supported by Linux/PPC(except for accel. video, but that's not really neccessary for a server). If you look around, I'm sure you'll find one on eBay or from retailers looking to close out G3s. If your a member of an apple MUG, then the MUG store has some pretty good deals on G3s...
well, i tried out gogo this morning, it does use MMX too, and it is very very fast, expecially with the -nopsy option (about 10x on my p433). I would give it a try.
Hi... You might also want to have a look at voxilla. Its the linux clone of MS's Netmeeting (H323 protocol). MWP
If you check the LinuxPPC pages you will see G4 machines are supported. And what does the velocity engine stuff have to do with anything? He wants to stream music, not play games. The graphics stuff on the new chips won't do any good for this, and the G4 is still one powerhouse for serving and crunching data.
We just set this up on our campus a few days ago! Here's what we're using: Pentium 150, 72 MB RAM, SB sound card. That's it. So far we're only supporting 10 streams and we don't have email/web pages yet. Soon we hope to upgrade the server and move it off the Computer Science network. We're considering a medium speed (600 Mhz or so) Athlon. FOr software, we're using icecast (someone gave the URL above). So far it is working great! Good luck.
We just set this up on our campus a few days ago! Here's what we're using:
Pentium 150, 72 MB RAM, SB sound card.
That's it. So far we're only supporting 10 streams and we don't have email/web pages yet. Soon we hope to upgrade the server and move it off the Computer Science network. We're considering a medium speed (600 Mhz or so) Athlon.
FOr software, we're using icecast (someone gave the URL above). So far it is working great!
Good luck.
Hey Mike, you're an idiot. A decent OS is something that lets you to get you work done. By this definition Linux is a piece of crap.
Hmmm... I have an NT server with Exchange and IIS installed (needed for Outlook Web Access), and it's the most stable NT box I have. Although I do have to take it down for scheduled maintenance, upgrades, etc., it has never crashed in two years. I would be wary of running any kind of streaming media server on top of it, though.
I have hard corporate experience with certain major computing companies which says you are talking out of your arse sir.
heh I have no problem belienving this....
Of course We've run test Icecast Severs on Free BSD with over a thousand client for days (testing) and had no problem.
NT is perfect - if you want the stabiloity then buy 10 manchines.
I am typing this on my G4/450 (AGP Graphics) (Sawtooth, for the overinitiated) and I am happy to report it is excellent for websharing, streaming etc. The 450's are flying out the Apple factories now, and you should be able to pick one up anywhere within a week or two. Unfortunatly, "errata" are keeping the G4/500's and beyond from getting to the teeming windows masses yearning to be free. LinuxPPC also runs just fine on my G4.
...I wouldn't buy a new machine to run it. If you want a dual boot macos/linux box it's great. Or, if you have some old macs lying around that you want to repurpose, it's great. But you'll get much better hardware variety and better support on x86 (unfortunately). Hopefully this will change.
Yeah, OK .. NT + No problem = science fiction
Hmm I would suggest this:
AMD K6-2 450
256MB RAM
Asus P2B-F Motherboard
IBM 7200 EIDE (SCSI maybe)
This is a $800 system that is completely adequete for a mid sized server, me and my roomate run our website, db, email, and our mp3 stream off of this configuration. You can check it out at:
http://www.bigfreakinserver.com
Sorry about the AC
nathan@bigfreakinserver.com
The performance characteristics of the EV6 Bus are widely known. 200mhz + to each CPU! I don't have time to educate you with links to this common knowledge. Look at this link to see how Athlon outperforms Intel on Server benchmarks: http://www.jc-news.com/pc/
Check out this link to see how much Athlon smokes Intel on server benchmarks:
http://www.jc-news.com/pc/
You can buy the more inexpensive and slower Intel machine, but why?
Got one here too. Does crash alot, though (WebStar 4.0, development website).
I have supported NT servers in a Banking Environment for 4+ years. NT works great when it is setup correctly and runs on solid hardware (Compaq Servers). I only use NT as an application server, file and print is best served by Netware. I have servers running Lotus Domino that have been up for 9 months at time. I agree that there are many many problems with NT. But most of the problems with NT are related to crappy hardware and poorly written software.
Don't know what drug influence your Mac experience was clouded by, but in my extensive experience, (home and work) Macs are typically a lot more reliably than Windows.
Secondly the hardware is rock solid. Toss LinuxPPC on that baby (any PCI PowerMac) and it will run as long as any x86 Linux distro.
And expensive? Sheesh. PIII/600's and dual processor Athlons are as expensive as the G4's from commercial stock, which is probably what this guy is looking at.
And overclocking? I can't think of a better way to potentially hose long-term stability than pushing hardware well beyond the manufacturer's rating.
Best bet. If they're familiar with Macs, go with Mac HW. If they have someone familiar with Linux and Mac Hardware, then Linux PPC becomes a good option.
Don't push careless platform bigotry on a guy who looks like he's made a platform decision.
... but it's not there yet. http://www.sun.com/smi/Press/sunflash/9910/sunflas h.991005.5.html
our bookstore here at our college has about 20 g4s sitting in the atrium ready to be bought... only 2200 each.
Actually I've been able to get the frist edition G4's to boot under linuxppc using a the most recent kernel they put up. Honestly tho, I would wait untill debian or someother linux vendor with a clue gets a ppc dist available. Both linuxppc and ydl seem crufty at best.
That is a great solution for encoding video, but this guy only wants to do RADIO. Also, the JAVA version of QuickTime only runs on Windows and MacOS since it requires QuickTime to run. With what QuickTime is doing (realtime video and sound decompression), a pure JAVA solution would not cut it, and will *NEVER* happend.
Well I have never posted before, but I figured what the hell! Now to the issue at hand. I am sure you are overwelmed at the responces (I sure was). I say go with a G3 because it is cheap and close to the same perfomance unless you plan to run MacOS. if you plan to run MacOS (Not a Bad Idea) then get a G4. now. you aren't really doing anything with your HD that you need anything more than a standard IDE HD. also to save some cash you really aren't gonna need a large HD get a 6.4 or 8.4 you don't need a massive 20gig HD to serve a simple webpage and e-mail shoutcast just broadcasts it doesn't save files to your hd. now... RAM is something your gonna want alot of I would say 512mb (Unfortunetly Quite Pricey Right Now). get a 500mhz or above CPU because that is the standard now a days and I assume you want this machine to last atleast 3-4yrs. the G4 already ships with a 10/100mbit NIC card so you can plug it into the campus network. it really is by far your best option and I would say for a small website and e-mail just use MacOS as they do make a shoutcast server for it. Now if you need to remote admin and start the shoutcast server then. get a higher end G3 and run LinuxPPC, the G3/G4s I have to say are some of the nicest machines out there and far surpass anything x86 chips have to offer also. make sure you get one with alot of L2 Cache to improve perfomance. this would be my best but if I was in your position.
Well my NT box at work has been up for over 7 weeks now, the last downtime was when I did a major upgrade on the machine, newer M/B, hard drive, more ram. It's a jack of all trades, runs a database, internet gateway, print server and also gets used a lot as a workstation too... People that cant keep an NT box running for more than a week either dont know what they're doing, or are running bad software or drivers (drivers in particular are NT's archillies heel) or have flakey or incompatible hardware.
all my cd's are encoded and stored on my server... I just connect up anytime I want to listen to them...
Ahh, this explains your low CPU usage -- you aren't doing realtime encoding. If you're going to stream from a live source (for example: a real radio station) you need a faster computer.
adding extra HD space is easy with firewire. The HD's are about the size of a cigarette pack and the ads I've seen say they've got 'em going up to 22GB.
Pricewatch is great. They list the cheapest prices for hardware. They have several differant processors including the Athlon.
It could also mean MPEG 2 Layer 3.
The G4 is cheaper than Intel chips. (Or used to be...cutthroat AMD competition may have driven it down.)
Nothing wrong with the Mac...used it for ten years. I say you can get more work done on Linux (my current box) simply because there aren't any games to distract you... :-)
It shouldnt HAVE to need alot of ram, Considering its more or less the same data going out. It could be mmaped and save a ton of memory. I am not shure how icecast does it, but this SHOULD be the way to do it. There are some downsides to mmap, but in this is a pretty good application. Your shared memory would have a buffer, but still is alot better.
If you are on a college LAN that runs DHCP that automatically assigns DNS names as well (like I am), you might want to clear a streaming mp3 server with your network administrators. The biggest mistake I've seen people make is putting up a server that stifles other network activity. Usually, the server gets its wire pulled and the owner of the server ends up with a dead connection and aren't allowed back on the network because of the congestion they caused. If your administrators know you're going to be doing this, they can throttle your bandwidth so that you can run the server and don't have to worry about losing your connectivity or getting taken down yourself.
MacOS is weak. It's based on technology that hasn't changed in 15 years Need I remind you that this is the same argument that Microsoft used in their Linux FUD page? Linux is based on 30 year old technology.
I recently purchased a pair of Celerons and that Abit BP6 board. Very happpy with both!! However, my sound card isn't supported under a SMP (multi-processor) Kernel. This might be an issue if you guys are testing sound and whatnot. Just be sure that the hardware you purchase is compatible under SMP. Otherwise, I highly recommend this direction! My 2 chips were cheaper than one PIII 450 and I'm flying!! I go do so much at once, and it never slows down... sounds perfect for what you want to do!
This is a tangent, but what's happened with multicasting? I'd think that it'd be the perfect thing for sites broadcasting (i.e. not on-demand) streams to the Net. Instead of massive bandwidth for hundreds of streams, a site would need to send out only one stream. What's missing, the technology, the standards, a clue on the part of service providers, or a critical mass of users?
I am not sure what some other folks have used, but I ran a shoutcast setup for public use when winamp first debuted. I had two machines, my win98 box which would stream the mp3s (This particular machine had 3 cdroms and 10gigs of storage so a nice selection of mp3s) and one pentium 166 linux server running slack 3.0.
I managed to make the top 10 on the shoutcast charts a few times, all being served over one Mediaone Cable Modem. When the load got really bad I would have a friend put up a mirror.
At work we have been toying around with products that claim to do what you want, but what people here are forgetting is that you might want to do it live. Many of those servers require you to already have the mp3s and a playlist of some sort. Right now, the best solutions is a rack mountable one that is a couple hundred bucks and it rips all incoming sound to mp3. It can be used for live stuff, and it works. All these icecast type solutions people are talking about won't work when you want to go live. (AFAIK) Anyways, check out hardware.mp3.com and you can see some of the rack-mounted stuff I was talking about.
-Davidu
# Hack the planet, it's important.
You can use icecast for a free shoutcast compatible mp3 server.
Even on campus, I assume you want to reach all the students, even when they're home for the weekends or holidays. So don't forget the poor analog people (like me!)
Well, there is something called speakfreely which exists both for unix and windos. If it is compatible with anything else I don't know.
Here is the unix version and windos version.
Here's a complete, full solution. Computer: Since you're in education you canpick up a G4 cheap, so you'll be getting a good deal if you go with the G4. Plus, since the G4 is arguably overkill for your current applications, you'll have lots of room to manuver when it comes to addig additional services. If you want to spend even less ans still have the same quality you can go with any G3 based Mac since Linux is not yet optimized for Altivec.. Hell, the iMac, with it's 400Mhz G3, has oodles of pressing power for this type of thing.. The problem with the iMac is it's a bit difficult to add on another HD or other such things. Come to think of it, that's the only real drawback... If you get some other server service to do the streaming for you (see below) then you can get by with a 3 year old computer, like a P133 or a PowerMac 8100/100 since streaming's the only part that requires a big computer. Encoding: As for streaming MP3... Don't do it yourslef, it's daft.. You'll need to allocate a huge blob of bandwith and processing and ram to the task. If you go with QT streaming, you can get all the software for free, run the encoder on any computer you want and have a company like www.themusicweb.com do the actual broadcasting for cheap. It's cheap too. All you really need is a computer capable of running sorenson broadcaster and you're set. Plus, this setup has the advantage that your mail, web etc.. can go down wihtout your streaming going down and vice versa. QT Streaming: In Qt streaming you have a computer do the encoding (compressing) this computer then sends it's compressed stream over any connection (even a 14.4 modem) to the streaming server which does all the streaming (it has to be this way :-( ). THis mean that if you have a half decent laptop with a wireless modem you can broadcast from anywhere on earth and have total control over your stream. Cool. Then there's are the traditional reasones for QT stream: good quality, massive choice of CODECs (!), open source server (which I think has a Linux client), free...... Finally... Of course, if you get the badwidth for free, then go the the G4 and run Linux and maybe that MP3 encoding thing. The G4 will run everything today with processing room left over and when they do a build of Linux and the encoding tools, optimized for Altivec, it'll really fly. Plus, it's fun to have a fast computer. Other readers: Feel free to correct me if I mentioned something slightly off. I'm running off memory here.
Sorry, but remember they want to run Mail and a website on this box. We're forced into NT at work, and one thing ANY sysadmin knows not to do is place IIS and Exchange server on the same box. That's instant suicide. Both of those servers are hogs and you expect it to encode mp3 too? Please forgive me if I think your nuts.
Do not meddle in the affairs of sysadmins, for they are subtle, and quick to anger.
:)
www.linuxppc.{org|com}
---
Live Long & Prosper \\//_
CYA STUX =`B^) 'da Captain,
Jedi & Last *-fytr
It's a 4-port ethernet 10/100 card (only currently supported under OSXS) PLUS the built in 10/100bT port on the motherboard :)
;) no offence.
For a total of 500mbps of switched bandwidth, yummy.
Of course, you could put another 2 of those cards in! Or put gigabit ethernet cards in! (Its a build to order option!)
MOSXS is one very very stable OS.
Only reason I run LinuxPPC, is it won't run on my hardware
---
Live Long & Prosper \\//_
CYA STUX =`B^) 'da Captain,
Jedi & Last *-fytr
Actually, the iMac that sits on my desktop at work has a hardtime playing an mp3 period, let alone serve them. We have yet to be able to get shoucast to work properly on that box as well (that is without crashing the MacAMP app).
The major problem with the G4 is that LinuxPPC won't run on it yet. Soon, but not just yet.
Even when it does, I doubt AltiVec support is going to be in GCC for at least another year, and probably more like two, although now that Apple uses GCC to compile OSX it's quite possible that they'll contribute Velocity support themselves rather than wait for it to come "naturally." And they will contribute it if they write it; Steve Jobs is still reeling from his last skirmish with the FSF and I don't think he's willing to try closing modifications to GCC again.
This said, Icecast seems to be the way to go for a streaming server. QuickTime is your other major option, and while it works quite well there's the problem of the fact that there is no Linux QuickTime Streaming player, so you'll cut off a portion of your audience.
What I find off here is that no one has mentioned bandwidth, which is just as important as processor power. You probably already have significant bandwidth because of the Webserver, but you might want a separate connection for the new one (getting a 10Base-T on campus shouldn't be hard at all; of you're lucky you might be able to get 100Base-T). The college itself should have adequate bandwidth for your needs.
The gogo encoder is in the FreeBSD ports collection. A fine Japanese contribution by the way. This is from the Description
gogo, 'Gogo no coder' (which means 'afternoon coder'), is a very fast MP3 encoder based on lame-3.23 which is optimized for MMX, K6-2 3DNow! and Intel PentiumIII SSE. The latter is available when FreeBSD supports SSE. (Linux supports it.)
*** DON'T OVERCLOCK YOUR K6-2 ***
Gogo heavily uses the 3DNow! unit that almost is asleep usual, and the CPU becomes very hot even in normal clock. So overclock may cause serious internal errors or crazy results. Also, this may be same on PentiumIII.
You can download it from here. Other related interesting stuff like icecast , vic and vat has been ported to FreeBSD.
Feel free to try.
RAM shouldn't be an issue with icecasting.. I was running about 120 icecast channels off a P5/166 linux server with 64MB RAM. Hardly broke 0.2 load, and never EVER swapped. The same server ran a toy web/FTP server as well as most of my telnet sessions, over a 10mbps frac-T3 hooked to my Tulip 10/100 card.
Encoding never seemed to take up much memory on my UltraSPARC IIi using the old Frauenhofer encoder, but it did absorb all CPU..
Until memory gets down below the 'Taiwan disaster' gouge, I'd hold off on getting that much, particularly if it's in 256M DIMMs...
If you use icecast then any reasonable CPU these days will saturate a 100MB ethernet with plenty of CPU to spare. So using a big CPU doesn't get you that much extra.
For example using LiveIce and Icecast on the same machine I can encode live audio and saturate my 100Mbit card on a PIII.
Of Course It's Suitable for Live Streaming.... I mean I'm the author of LiveIce and I['m pretty damn sure that I can stream live.
(and even before shoutcast came along you could use mp3serv to broadcast live from linux...)
Just a Quick correction - patching Icecast may sound scarey.... if it does then prepare to be disappointed. You need to patch the Linux Kernel or at least build a special kernel module to sneak past certain limitations in teh Xing Encdoer which stops it reading from pipes.
Would It qualify as a conspiracy theory if I pointed out that the Beta version of xingmp3enc (released before Real bought them) worked fine without any need to hoodwink it into working?
That's just my $0.02 though.
--
Hope this helps!
--
Check out http://WVTC.net/ - the radio station of Vermont Technical College. They have been using some custom Linux software to run a radio station completly from MP3's. I forget all the details, but you can e-mail the guys who set the whole system up to get the dirt. Encoding for low bandwidth users is easy to do in software, and if you are just spitting out pre-encoded stuff, you are basically limited to the bandwidth of your upstream pipe.
> IDE RAID controller that works nice under linux/FreeBSD will take some searching.
The Duplidisk from ARCO http://www.arcoide.com works fine in Linux. Given the cost constraints of this project, I'd suggest using one or even going with software RAID instead. SCSI RAID is likely to add a lot to the total project cost, without providing much real benefit, IMO. Use any 'spare' money for more RAM, or even towards a second server!
Jonathan
A K7 would make a great streaming server, plus it would have plenty of power left over to run other stuff. A G4 isn't such a great idea, as the ideal solution would probably involve MacOSX and Quicktime streaming server, which isn't cheap. K7s are cheap and fast; the perfect budget server.
--"In dreams begin responsibilities" - Delmore Schwartz
I stream 128bit/44khz off of a P2-266. It's very capable of handling that sort of transformation. I can stream live off of my Line-recording, so I can play cd's without ripping them or do some live DJing (I suck, but people listen anyways). The shoutcast server can be run from a machine that has a faster connection than the machine that you DJ from.
You use a Shoutcast Source plug-in to send the source to the server. The server can be a Linux, or some other high-capacity server.
I use Live365 for my server, because they'll give ANYONE a 100 listener channel, all you have to do is apply for it. The only thing they can't do is relay the song name/artist info that you would normally send out to the listeners. Samll price to pay for that kind of bandwidth.
All I have to do is find the bandwidth to send out a single 128-bit/44khz stream, NP over DSL.
by Mike Buddha -- Someday the mountain might get him, but the law never will.
This machine was built for the big block manipulations required for MP3 encoding, it's going to be hella fast at ripping.
Too bad you can't buy it with a decent OS.
by Mike Buddha -- Someday the mountain might get him, but the law never will.
Live365 will give you 100 128bit/44khz channels (I don't think you' want that, unless everyone on campus has a network connection, you can pare it down to whatever you feel is right) more if teh case arises. All you have to do is apply for it and supply a single, full bandwidth stream (ie 128b/44khz) to their servers via shoutcast.
by Mike Buddha -- Someday the mountain might get him, but the law never will.
Maybe I'm missing something here: MP3 IS MPEG 1 Layer 3 audio.
In my experience, it takes just as long to rip a cd at 56bits/22Khz as it does to rip one at 128bits/44khz. And a P2-266 with 128megs of RAM can encode a live stream at 128bits/44khz, just fine.
Fine tuning for speed isn't really that big of a deal. Finding a fast machine with a fast connection to the internet to act as your MP3 server is.
And I'm not sure there is a server that can serve out the same source stream as both high and low speed streams, so you may need two servers.
Perhaps vmware for one of the servers?
by Mike Buddha -- Someday the mountain might get him, but the law never will.
I built a streaming MP3 station called Fat Free Radio (http://www.fatfreeradio.com) and it runs on a dual P3-500, 512MB RAM, Ultra2SCSI drives. It's nice (it also runs mySQL) and it works great!
if (nt == unstable) { switchTo.linux() }
RateVegas.com - Vegas Reviews
Isn't a layer 4 switch a lot of $$$? Can you point me to some models? I'd like to look into that. I love networking gear. :)
You raise a very good point - however, linux is a superbly multitasking OS, right? I've run apache very successfully off of a p200, and I surmise that encoding would also run off a p200 quite well. Take into account the 100MHz FSB, and how sdram is easier and cheaper to find than edo simms, plus 1/2 the basic hardware (ie nic, case, powersupply, vidcard) and I still think a single machine is the way to go.
I would say that a G4 would probably be overkill. Although LinuxPPC is seemingly fast and very secure, I don't think that you need that much power to do what you want. If you want a bunch of power, you can always pick up a couple of Celeron's and an Abit BP6 - but I have a feeling that a p2-400 would probably do your job. The thing to worry about would most likely be bandwidth. I don't know how bandwidth-intense streaming audio is, but if you run a website off of it too, you have to consider good bandwidth. If you're on the campus ethernet network, I'd say you're good to go. Also, this isn't the BEST time in the market to say this, but in my experience, everything runs better when it's loaded up with plenty of RAM.
anyone know where i can get more info on all of this patching the kernel business involved in using Xing? I was gonna bill the radio station for an extra $20 and buy Xing.
Doviende
"The value of a man resides in what he gives,
and not in what he is capable of receiving."
"The value of a man resides in what he gives,
and not in what he is capable of receiving."
--Albert Einstein
Well actually, I have one sitting on my desk right now! It does smell a little bit though... does that count as Vapourware?
won't need a G4 server for what is basically a file server. There's several routes you can take depending mainly on your expected volume. Windows NT as you probably know is a crappy idea but good ideas would be FreeBSD or Linux. If money is an issue then you might want to go with a Celeron based server which is just a P2 core with an on-chip cache running at 66mhz. This is plenty of speed for a web server as long as you have plenty of RAM (probably over 512MB). Icecast is a good MP3 streaming server which is available in source for linux (glibc), Solaris, and Windows. Encode the MP3s at or below 64kbps to maximize bandwidth and keep the file size relatively low. DOn't forget the RAID5 setup for quick access and expandable space. You CAN build an IDE RAID system which is much cheaper per megabyte than SCSI but getting an IDE RAID controller that works nice under linux/FreeBSD will take some searching. If it's something you want to try you can download the source to QuickTime Streaming Server (don't say that in CUpertino, there it's called Darwin Streaming Server).
So to make it short:
Celeron or P2 processor (at least 400mhz)
at least 512MB RAM
RAID5 with lots of space
64kbps (at 22khz) for good playability
I don't suggest a Mac server because I can't testify to the reliability to PPC linux or MacOS X. Alot of the question depends on your bandwidth too. If you're running off a full T3 you're going to need a faster server with more RAM because more people are going to be using it at once. If you've got a smaller connection you don't need as much umph in the server and you probably should encode the MP3s at a lower bitrate to maximize your bandwidth.
I'm a loner Dottie, a Rebel.
Be would make a horrible server OS, so would NT which is too unstable for a high volume site without a bunch of machines behind a switch. Linux SMP works great if you're doing server applications (as long as icecast and apache are revamped to use SMP). The improvements that came after the Mindcraft shit really improved SMP performance.
I'm a loner Dottie, a Rebel.
Wow two whole days uptime, when you get 70 days uptime with Windows you can think you're cool.
I'm a loner Dottie, a Rebel.
I guess you haven't been paying attention. Ram can set you back almost $3/meg these days.
inux is based on ideas that are 30 or so years old mac OS IS 15 years old. and it sucked then to. The Mac OS codebase has changed as much or more as Linux has since since 1991. Apple has sitched the OS from 68k to PowerPC native code, rewritten the VM system several times and overhawled the networking code. The only part that hasn't really changed are some of the older API's (which are being ditched in OS X), but the same thing can be said about Linux......
One thing you might consider is using SCSI disks instead of IDE. SCSI will cost more, but your processor can spend its time encoding mp3's or serving web pages instead of pushing the hard disk. You also might have two disks; one larger one to hold the web pages/email/mp3's and a smaller one for encoding tracks.
On bitrate, are you going to be catering to dorm students only or also to those living off campus? If you want to do both, I suggest having two seperate streams, one at 48 bits and the other at 128, which makes a good compromise between quality/bandwith/disk space and give you a larger audience.
As for what kind of cpu you need, a 400 mhz PII or 350 mhz G3 would probably do you just fine if you have a SCSI disk and a good amount of ram (I'd say 256, but you could probably get away with 128). Depends on how much of an audience you expect to have and how much web/email serving you plan to do.
Listen up folks... I run 4 128kbit streams
.80% ram sending it's stream to icecast.
:>
off of my server using Icecast.
Wanna know how much cpu/ram they use??
Icecast uses 1.33% ram (64M) and less than 1% CPU of a P-100!
Shout uses a steady
Now if you have, say, 600 streams... you're going to need a whole lot of ram... but you're not going to need a p-II 400 or a G-4.
If you're going to encode on the fly... that's different. I'd like to re-encode to 64kbit streams
for some folks.. but that p-100 just can't handle it
and I'm outta hd space
Anyway... I run my own radio station for myself and
a select number of friends... all my cd's are
encoded and stored on my server... I just connect
up anytime I want to listen to them...
As for stability?
Icecast has been running on my linux server for
nearly 6 months straight now. Not a burp, twitch or
even sideways look. *shrug* Works for me.
I'd love to see a write up on how this all turns out.
Friends don't let friends buy Compaq's. (Dell/Gateway... same same) You want a good computer? Build it yourself.
AC's are soooo annoying... especially when they don't
read your entire post before responding...
They never mentioned needing to encode real-time yet
I still mentioned that you would need a MUCH faster 'puter for doing just that...
*knock-Knock* Hello? Dweeb?
Jeeze.. am I pissy today or what?
Musta been that bowl of Crabby Flakes(TM) I had for
breakfast, eh?
Friends don't let friends buy Compaq's. (Dell/Gateway... same same) You want a good computer? Build it yourself.
This is somewhat off-topic, but I'd like to know what free software alternatives there are for doing Voice over IP, multi-part conferanancing etc etc on Linux. The only thing thats important is that they should be compatible with some Windows applications. Having just Linux clients just won't cut it.
Macintouch reported people started receiving Apple Store orders of Sawtooth 450 MHz G4's around Sept 24.
The older Yosemite based 400 MHz systems were showing up even earlier.
Linux has a very good reputation when it comes to mp3 stream serving. The best utility for this is (a href="http://www.icecast.org">icecast. The web site includes pointers on what other software ull need (decoders such as bladeenc).
The hardware is quite easy to, a P II 400 will cope easely as long as you give it enough ram. 256Mb would be a nice amount to start out with.. Mailing lists and websites wont realy impact on performance that much. .. thats 14 K a second PER listener. So its very important to decide on a good speed (64Kbit is still decent quality) ... or offer several streaming speeds (modem / isdn / cable), and make sure you do you do the math, what type of line are you on, and how many do you want to serve. Suppose you want to be able to serve 100 clients, with a full quality stream.. thats 100 * 14 K/sec .. thats 140K/second .. this will easely eat up a full t1 .. suppose you want to grow and serve over 1000 clients ? ... well u get the picture :)
The main problem you will encounter however is bandwidth usage. For a good quality stream you need 128kbit - dual isdn
-- Chris Chabot
"I dont suffer from insanity, i enjoy every minute of it!"
Live webcasting is what I do. Check it out at the WRUW page. MP3 is definately the way to go. We have a 300 (clocked to 450) celeron and 128mb ram. It's on a dual board, so if we ever need more power, it'll be real simple. we've got a SB Ensoniq PCI soundcard that we feed our signal off or our airboard. We run Linux (duh :-),lame with some magic with named pipes and netcat and apache and we have as many streams as we want.
We also have an AudioActive hardware MP3 encoder, that the folks at Telos/Audioactive were kind enough to donate (They ROCK!). It encodes one signal (56kbps) and our server encodes another (24kbps).
I discovered that to the sound quality of 56k is comparable to a normal FM broadcast, so you really don't need a higher bitrate. The 24k stream is mono for modem users.
The biggest bottleneck is definately your bandwidth to the rest of the world. We are lucky enough at CWRU to have one of the worlds biggest ATM LANs. The 155MB/s of oncampus bandwidth is denfinately nice to have. We were on ethernet, and I was dreading possibility of crashing our Ethernet segment. Now with ATM, we can have unlimited on campus listeners (because more Case students have computers than radios :-) and our off campus bandwidth lets us have about 150 listeners from elsewhere. If you have more questions, please don't hesitate to email me. It should be pretty obvious as to what my email is :-)
Quando Omni Flunkus Moritati
Well, 98 is a lot more unstable then linux, my 98 box usualy can make it about a day and a half without crashing... winamp, and my TV tuner card software seem to really like to kill it.
98 isn't that stable, but one to two days of uptime isnt' that bad ether.
"Subtle mind control? Why do all these HTML buttons say 'Submit' ?"
ReadThe ReflectionEngine, a cyberpunk style n
Linux is based on ideas that are 30 or so years old mac OS IS 15 years old. and it sucked then to. It uses the exact same model, wheas with linux/unix only the APIs and the UI have stayed constant (with new APIs comming out for advanced features)
"Subtle mind control? Why do all these HTML buttons say 'Submit' ?"
ReadThe ReflectionEngine, a cyberpunk style n
Does be have mp3 servers? or even good email/web servers (sendmail/apache)?
BeOS is mainly a single user OS from what I've heard, It may be solied but I don't know if it makes a lot of sense as a server right now.
NT would cost a lot of money for a server licens, over a thousand dolars. remember the workstation version limits you to only 10 simultanious Server links (is there a reg hack to get around this?)
I don't think the SMP code in linux is that bad. It may not be as good as NTs, but it'll work
"Subtle mind control? Why do all these HTML buttons say 'Submit' ?"
ReadThe ReflectionEngine, a cyberpunk style n
that would cost almost $2,000!!! remember, this guy wants to do it inexspensively, I don't care what you say about iMacs, but they are not cheap. from what I've read on these posts, icecast on linux would probably work, with maybe a second box for encoding the live stream. any low end intel would do, and you can get two x86s for less then $1,000. and pluss they want to use mp3s, not qt4.
"Subtle mind control? Why do all these HTML buttons say 'Submit' ?"
ReadThe ReflectionEngine, a cyberpunk style n
obviously, dispite the rewrites, the coders never got a clue, lets they break the applications, since they depend on non-protected memory. I relize that MacOS X or whatever will have this, but it's still somthing like 6 years since windows 3.1....
"Subtle mind control? Why do all these HTML buttons say 'Submit' ?"
ReadThe ReflectionEngine, a cyberpunk style n
The listeners which are on the campus LAN are restricted by LAN bandwidth, not WAN bandwidth. T1 is only a fraction of 10/100Mbps LAN.
There may also be advantages in putting the server in a campus network center, having only the encoder machine in the radio facility. If the audio feeds will be allowed out through the firewall to the Internet, the campus network people have to be consulted. They also may want to set limits for WAN versus LAN use. (How many people on campus will use LAN audio if they can use a $10 radio? But maybe alumni or off-campus residents will like the stream...)
In my (humble) experiences lower bitrate is good, except in music. I'm not sure what will be played on the campus radio, but I'm guessing it won't be speech (virtually the only thing which can be decently encoded at 24kbps). Slashdot radio? Yeah, even they can get away with it, but have you noticed how lossey the sound quality is?
Those of us who visit Shoutcast regularly over 33.6k modems know that after finding a low bitrate site, the quality is less than a 50s A.M. radio. *sigh*
My recommendation is, if enough processor power is left, to encode at both 24 and 128 kbps. But, if as you mentioned, lame uses 20% of a K6-450's time just at 24kbps, it may be better to have a dedicated radio server on a powerhouse machine. As usual, the only thing holding you back is the dinero for the project.
-----
-----
Ping? PONG!
It's not about ripping speed, which is based largely on the speed of a CD/DVD-ROM drive, but about encoding speed. This is especially noticeable on slower machines.
My Pentium 233MMX using bladeenc takes about, oh, fifteen minutes to encode a five minute song at 160kbps. It can be done in a fraction of that time at lower bitrates.
Yeah, I'll agree, a PII-266 with gobs of RAM can do a good job of encoding. So can a 386. What we're looking for is a machine which can do it in real time. Broadcast radio isn't going to take ten every hour just to let the buffer on the server fill up.
Er, um... riiiight.
If we lived like that, Microsoft would be making billions. Oh, wait...
-----
-----
Ping? PONG!
Depending on your campus's size and configuration, you may be able to use multicasting to seriously reduce load. I don't know specific configuration details, but since you didn't mention it, I'd assume you'd not looked into it.
Somebody get that guy an ambulance!
Apart from that you should be able to run all of this easily on something like a P450. More RAM would definitely help with the streaming.
Apple's streaming software is one of the best open-source choices out there I believe, but it might work better with *BSD rather than Linux.
Andrew.
a 24k stream is not that bad at all... at least much better then realaudio (from my subjective point of view). and the network bandwith: one can mirror the mp3 streams at different location using icecast alias feature..
i use a K6-450 to produce a 24kbit/sec stream with the free LAME encoder (based on the ISO sources..) and it uses about 20% of the CPU time. the stream is then sent to an icecast server and several other icecast server mirror that stream with "alias" defines.
greetings mond.
MP3 is a good choice since it has good compression and is available. It (should) support variable bitrates. Consider the workload of true-speed compression in MPEG 1 Layer III since it is rather high (lotsa FFT & psychoaccoustic stuff). Off course: higher compression :: more work. Maybe there are DSP's available to do this for you.
there is lotsa stuff & references in the 'IEEE SIGNAL PROCESSING MAGAZINE', september '97 issue. Maybe someone has something more recent? Mi2e-2
nosig today
With the G4 box (450 or higher Sawtooth version), you will be able to stream MP3 and run a Quicktime Streaming Server. At least the QTSS software implementation is absolutely free and supports at least 2000 connections (AFAIK). In addition, the system already has 10/100Base-T Ethernet already and plenty of bandwidth power out of the box. Enough to serve an entire university population? Maybe. Just make sure to load it with RAM (I believe its limit is 1.5 GB). The Mac has a nice feature of being able to turn itself on, run assigned tasks and turn itself off at scheduled times.
-----
Linux user: if (nt == unstable) { switchTo.linux() }
Those who laugh at you for you having a Mac.. are the people who constantly call you to fix their PC.
If all you are going to do is to perform streaming of already encoded MP3s then you will only need an ok Processor, on about Celeron300. You should have quite a bit of RAM tough, depending on the number of listeners. What you REALLY should consider is the BANDWIDHT, as a 30 min. MP3 is approx. 17 MB, and each session will require 17MB/(30min*60sec)=9.7kb/sec If you then get about 100 listeners, this will require about 1 MB/sec, which is ok if you have a good network. Ofcourse you will get into PROBLEMS if you get more listeners. What you could do, depending on the network topology of your university is to place the server, or perhaps a replica of the server in the IT-Department, where most of the dial-up users call, and where the dorms most probaby is connected too. This would make it easier and FASTER.
I don't know how many listeners you have or if it's bad, when your (mp3) station goes offline, but if you don't want to accept downtimes, you should buy a separate server for mp3. The other one can handle the rest and be a lowlevel machine. If some students decide to hack you, it's much less likely that your whole station goes down.
Call me paranoid, but I wouldn't brag online that you haven't updated firewall or OS code in two years...
"Nothing was broken, and it's been fixed." -- Jon Carroll
Well, I've seen some people posting that Icecast isn't suitable for live streaming. Well, that's not true, 'cause that's what I do with it ;-)
I have (or rather had; I graduated in June) set up a Linux server at a tiny college station to serve up web pages, mailing lists and an MP3 stream of their broadcast. I'd direct you to it, but the power is not too reliable in the area, so it's often down for long spans of time because the new admin is too busy(?) to walk over and switch it back on. I couldn't convince the exec board to shell out for an APS, unfortunately...
The server itself is not very beefy (and does not need to be, really). It's a Celeron 333a with 128 MB RAM running RedHat 6.0 (when it's running...). I have the station's broadcast jacked directly into the input of the soundcard (SB AWE64). I run Liveice at 32 kbps, 22khz 'cause it doesn't sound too 'underwater' at that rate. The CPU and memory loads are trivial. I had wmmon running on my desktop when I was working on the machine at school and barely noticed the CPU trace at the bottom of the CPU meter. The memory load looked to be about 10%, if that much. The site's never been very busy, so that could be a factor. For connectivity, I hang the server off of the campus network, which is fast ether to the Internet gateway, which I think is frame-relay (the admins were rather secretive about it).
So, basically Linux + IceCast + Celeron 333a + 128 MB RAM is plenty for me. If you have a huge amont of traffic, you may need more, but I'm betting (as other people have noted) that you'll saturate yr pipe before yr server starts to sweat.
HTH,
-Chris
NT can be very stable, as long as you don't push it too hard..
It runs great for our low volume print server at work.
However, in my experience, it dies pretty fast under high load...
Our midrange load stuff goes on Linux boxes, and high stuff goes on our Sun E 6000's or one of our few 10000's..
Blessed are the pessimists, for they have made backups.
You forgot Be, and MacOS is LESS stable then winblows. Be would be behind Linux (depend how you use it) and in front of NT4
A deep unwavering belief is a sure sign you're missing something...
A G4 probably is a bit of overkill, if you're streaming pre-compressed mp3's (which I assume you are), RAM is a lot more important than CPU. a PII -400 is enough to handle at least 600 simultaneous connections, as long as you have enough RAM (which would probably be 512MB to be safe). But if you want my advice, buy a nice layer-4 switch and have it do load balancing for you, and then have a series of celerons with 128-256MB RAM each, and if you ever need more power, you just plug another machine into the switch.
As much as I _hate_ NT, it is relatively stable, under the right conditions. Like running a single app on it. I was forced to use NT (damn politics) for the firewall and for an extranet server.Both of them haven't crashed yet, with an uptime around 3 months for the firewall. Of course, the same firewall software, running on a FreeBSD box I know of, has been up for around 2 years.
Yes, NT sux, but mainly because you can't do any _real_ admin remotely, or for that matter, locally.
--- Think of it as evolution in action ---
At school for mp3 streaming we set up a P2 350Mhz with 64mb ram and installed NT on it and it runs perfectly. Its up for months at a time unless we upgrade anything hardware like a hard drive, it never crashes, and is usually serving 100-200 connections at a time through shoutcast mp3 streamer (www.shoutcast.com). As much as the linux community would like to believe that NT is as unstable as Win95/98, it will never crash on you and is extremely stable and efficient.
Well I don't own one but I was in Fry's today and they had a stack of about 15-20 of them...
If you voted for Nader, THIS IS ALL YOUR FAULT!!
I run various desktop and server machines running various OSs. Many of these are kept in as clean a state as possible for software testing (the systems are totally reinstalled from an image CD every now and then).
I'd probably have to rate Linux as the most stable (but also the most work!), very closely followed by NT4 (not enough experience of Win2K to have an opinion - I can't relly count the betas). Then, fairly closely, MacOS 8 (with Appleshare IP 6, stability drops a bit). Then 95, which is a bit iffy when you install much on it. Then 98SE - pretty flaky - then 98 (first ed) which is evil trash from hell.
The Mac is the easist to run, but its security features for intranet use are limiting. NT's security is well known for being VERY granular, but the default security tools make it a real chore. I haven't done enough on Linux security to give it a full and fair evaluation. They're all around equal for web-only security.
I'm purely speaking from personal opinion, of course!
I have to be fair and say that in ALL the above cases, it's the apps that crash most, and not often the OS, and not all app crashes are (directly) the OS's fault. At least Linux and NT are resistant to an app bringing the entire system down, which is useful for a server. Our Mac servers don't do this - YET! MacOS-X is looking promising........
-- What goes up must come down. Ask any SysAdmin.
I don't suggest a Mac server because I can't testify to the reliability to PPC linux or MacOS X.
Well I can testify to the stability of OS X Server streaming QuickTime and file serving mp3s. At our campus I've used it to do live streaming of QuickTime audio/video and it has been rock solid, even under very heavy loads.
This is running on a blue and white G3 350, 512Mb RAM. No SCSI drives, no multi-port ethernet card.
Everyone goes on about the cost of OS X server, but no-one ever mentions that when you buy it you can install it on up to 5 machines legally...
i don't read slashdot anymore.
I would think that bandwidth would be more of a consideration than the machine. Of course the server is a big consideration, but you wouldn't need that bad ass of a machine if you couldn't back it up with the bandwidth.
Having a CPU powerful enough to encode well in realtime should be the most important factor. For low bit rates such as 24kbps (low enough to listen over a 33.6k modem--there is overhead to deal with so 32kbps is out of the question for 33.6k modems and 56k modems would be hit or miss depending on the listeners connection) the quality might not be that great. l3enc encodes 24kbps MP3's beautifully in high quality mode, but my K6-2-420 (oc'd) can't do it in realtime. None of the encoders that encode fast enough in realtime sound that great though (at 24k--a lot sound great at the higher bitrates.)
Someone posted about the new Gogo encoder that supports MMX/3Dnow -- that may make a difference. I'm definately going to check that out. Of course this means an Intel/AMD solution rather than PowerPC.
To the point: Try some different different encoders and see which gives you acceptable quality at the bit rate you'll be using. Which encoder works best will depend on the bit rate you choose. As far as the server, Icecast is open source and uses very little CPU. It's completely compatible with Shoutcast (even registers you on http://yp.shoutcast.com when you're broadcasting--the cool thing is that it registers you on multiple icecast yp.servers also.) Icecast outbenchmarked Shoutcast a lot when it first came out, but I can't find the benchmarks--things may have changed since then.
Please avoid using something like Realaudio. Their support for Linux/Unix has been really lame in my opinion. They've only just released Realplayer G2 (alpha) for Linux.
numb
Here at the University of Wisonsin the school of journalism has been streeming a live news show as a part of one of the journalism classes. I have been in close communication with the professor who has been doing the technical side of things.
After quite a bit of research into possible solutions that he could brodcast, without worrying about legal issues... he came to the conclusion that an Apple solution was the cheapest, most usefull solution.
They are using a 2 Mac solution, one to so the sorenson compression (this one is an older iMac running MacOS 8.6), and a second G3 (beige tower running MacOS X Server, and the free Quicktime Streaming Server). This solution is workign VERY well. As they have the show only for one hour durring the day, the setup is scritped so that the server starts up 5 minutes before the broadcast, straeams, and records, the broadcast at the right time, and then posts the recorded stream to a website that it modifies to suit, in case anyone missed the live broadcat.
I tend to agree that you don't need a G4 to do the job. A pair of iMacs woudl do you just fine. Buy a copy of Sorenson brodcaster and pop it on one of them, and either go with LinuxPPC and the Darwin Streaming Server (a little bit of work to get it set up), or go with MacOS X Server (my recomendation), and you have an instant setup. Very reliale, and you can also stream video if you choose to do so.
The only probem I would see is that there is currently no version of QuickTime 4 for Unix/Linux. Well.. there is the Java vrsion.. but.. For Windows amd MacOS users there will be no problems, and the streaming server can even be setup so that it will use MBONE, so that you don't trash the network if everyone happens ot be listning....
That is my 2 cents worth.. good luck!
Er.. Umn.. Well.. I run: Shoutcast MP3 server @ 56k Private FTP Server DHCP Server and Gateway (for other computers on my home LAN) All on NT4 Server SP4.. Pentium 200, 64mb ram. And the machine is usuable (thats what im using right now) And its been up for over 3 weeks... And my Windows 98, 95 boxes DONT crash. This will crash a windows box: 1) install bad software 2) put toghether hardware wrong 3) install software for hardware wrong This will crash a linux box: 1) install bad software 2) put toghether hardware wrong 3) install software for hardware wrong =]
Use Net BSD if you are going to have a lot of streams . theoreticaly it can do 3000-4000 streams but then again you would need a fat pipe and i dont think you are going to be buying a gigabit ethernet card, about, $1000 US
"I'm like an opening band for the sun" -Pearl Jam ; Yield ; Push Me , Pull Me
..but I've heard several people claim that their Windows 95 boxen never crash, either. I've seen them crash on a more than daily basis myself, and have yet to hear an account from a strictly reliable source that claims an NT box to survive more than a week or two without crashing.
~ Kish
We do all kinds of streams here - video/audio/mixed presentations w video and slides etc. Tried most encoders and servers. Me and a few of the guys have about 10gb of .mp3 files that we share and we wanted to stream a mix. I'm running shoutcast on a 233mmx @ 56k never had a problem other than it doesn't seem to like reducing anything over 128k to 56k. If you are encoding on the fly (I assume you are being that it's live) and not just playing stored files like I do - get a seperate WS to do that job. Find an old P100 or some such and dedicate it to encoding the stream. In that case being a non-proffit you could just stream to live365 and use some free email vendor for you mail. Done! Cheap! (maybe free - I bet somebody would donate a p100) Good Luck!
"Smile, listen, agree, and then do whatever the fuck you wanted to do anyway." ~Robert Downey Jr.
Here's a few things to check out-
1) Go to www.icecast.org and use their GPL'd icecast and liveice software to do the broadcasting.
2) The server horsepower depends on a few things: how many streams you want to run, are the streams mono or stereo and what encoder do you plan to use. Note that if you want to use one of the free encoders (such as LAME or one of it's patched versions), you won't be able to stream at less than 28.8kbps - you will need the Xing encoder at $19.95 or the Freanhoffer (?) at major $$. Note that the Xing uses MMX, which will give you a better encoding at the same CPU level, or a similar level of encoding quality at a lower CPU level.
3) If you use the Xing encoder, you'll need to patch the icecast software to work around a problem with the Xing encoder. It's a small, minor change that makes a big difference.
4) It doesn't make sense to run a high bit rate encoding if your listeners can't receive it. Don't encode a 28.8k signal for users unless they are using a minimum 56k modem. If they're using 28.8/33.6 modems, encode at 16k so they don't drop frames.
To give you an idea, I set up an MP3 broadcast for a local minor league baseball team over the summer. I pulled the signal in from the local AM radio station (mono only) to my sound card's headphone jack. Liveice grabbed the input and passed it on to Xing. Xing encoded it and then icecast broadcasted it. The hardware I used was:
Cyrix 200MX (o/c'd to pr-266) (Xing's MMX support made this work, otherwise go with AMD/Intel)
32 MB Ram
AWE 32 sound card
4.3 GB IDE hard drive
Xing encoder
NE2k clone
I streamed a 32k/44200 mono and a 16k/22100 mono signal at a CPU level of ~35%. This system was rock stable and managed easily. I set up a cron job to fire up just before the pregame program started, and stopped recording 4.5 hours later. I then moved a 'taped' version of the game over to a directory I set up for my web site so people who missed the game can download on demand and listen.
try www.arrowpoint.com, it seems to work a bit better.
-----
Do you even know anything about perl? -- AC Replying to Tom Christiansen post.
I run Linux on a Pentium Classic 200 with 32 megs of RAM. On it runs Apache (with about 10,000 hits a day), mail (about 100 mails a day processed), DNS. I also used to run an icecast server with 40 people connecting to the site. And the machine could still take it. The computer used is not the most important aspect of doing all this. It's bandwidth. I was running the whole thing over 2.2 Mb ADSL (approx 1.5 times faster than a T1). The amount of people connecting to an icecast server will more depend on how much bandwidth you have.
It's better to burn out than to fade away!
At WRUW-FM Cleveland, our campus/community station here, we're using an overclocked Celeron running Linux to encode our 24kpbs stream (using lame and a cheap sound card) as well as serve web and email.
Our higher-quality 56kpbs stream is generated real-time by a hardware MP3 encoder from Audioactive. The encoder is a really nice solution, because we can always crank up the bitrate later as the available bandwidth of the universe expands. Since we're non-commercial and Audioactive was feeling generous, they donated the encoder to us free of charge! With the encoder removed from the equation, our total cost was under $900.
We don't have a ton of people listening yet, but the response we've received so far has been very positive. If you have any questions, feel free to send email.
First off I relay my stream through live365.com so I only have to support ONE listener. So I have no hands on experience with how much processor load the number listeners takes.
.. it sure takes a lot longer.
What I will tell you is using winamp's dsp plug in for streaming to shoutcast (or icecast) is silly. It's a hacked design and for whatever reason nullsoft forces you to re-encode your stream on the fly. This really sucks up the processor (at least 40% per stream).
What I did is write a little perl script to re-encode my whole stream to 56k, I used l3enc, and l3dec. another nice thing about this is l3enc let's you use the -hq or highquality flag. And although I'm not sure, most likely does a better job encoding the mp3's
Once your stream is re-encoded to whatever bandwidth just use shout and shoutcast or icecast. Personally I need to use shoutcast because icecast is not totally compatible with shoutcast/bsd which is what live365 uses.
Using shout my processor usage is around 0%, I mean it's not really doing anything but copying over a port.. how much load can that take?
Although icecast is open source I would opt for shoutcast's server. They've ported it to most ever UN*X and is a head of the game in the streaming mp3 business.
As for what platform, I chose NT because all my coding experience is with Microsoft tech. I like linux but sense all of my auxiliary app's run in NT and I wouldn't have a clue how to get them to work in linux.
Some other things...
With winamp re-encoding you can use the music ticker plug-in.. very easy way to show what the current and last n songs we're.
Shoutcast (and maybe icecast) also will do this, but not if your using shout/shoutcast. Shout will only work with shoutcast if you use the '-I' icy-header's option.. which I guess doesn't tell the server what songs playing. You can write a little app to get the info out of shout. Shout creates a file called shout.log (I think). That is a big dump if what's it's played and what it's playing.
Another nice thing about shout is it's just a command line app, so writing app's to control what's playing on the stream is more strait forward.
Basically streaming mp3's is an infant technology. Very few people in the business, very few tools to do the job. Getting into it now is crucial as I believe it's the seed of Internet audio, the radio stations of the 21st century.
this is my sig.
for a player you defantly have to get XMMS you can get it at www.XMMS.org it can ICECAST and SHOUTCAST but I recomend ICECAST
1) speed is encoder specific. You can rip anything in no time with Xing. To get maximum quality with Fraunhofer's you'll need about 2x the length of the track in time. 2) Icecast will server out multiple streams from the same server, and liveice will produce multiple streams from the same live source at different bitrates.
Icecast is the solution for these kinds of problems. 1) It is the most support streaming server available. It supports all mp3 clients, RealPlayer G2 (PC AND Mac), and Windows Media Player. Nothing else currently does this. 2) It's free, it's open source, and it runs on basically anything. It's the only server running on Linux MIPS (Cobalt Raq's!) and it's been ported to BeOS, OS/2, and every flavor of *nix imagineable. hell.. someone even had a Novell one going for a while. 3) No expensive hardware needed. You dont' need a powerful machine. A p2 class CPU and 128MB ram will go a long way. You could encode and server on the same machine, probably to around 1000 clients simultaneously. No one's ever shown me a box that couldn't saturate the pipe it was on. Buy an 800$ Celeron box, with 128MB memory. put your favorite version of *nix on it, and have fun. Any questions? Visit Icecast