Ask Slashdot: Full Shoutcast on Linux? 82
A friend of mine had asked me this question: "it seems that if I
want to run a full "Radio station" on Linux only, I can't, since the
streamer needs Windows. Is there a way to do it using Linux Only
from top to bottom? and what hardware is needed? What software?" I'm
sure many others would like to know also how..
FreeAmp is working on it (Score:1)
its called multicasting (Score:1)
I want a simple answer about Shoutcast (Score:1)
Lame: wine -managed winamp.exe & (Score:1)
Just run x11amp...
Because, when last I checked, the x11amp people have streaming audio (which is the topic here) so far down the todo list that it has to leap on a pogo stick to touch bottom. Streaming
--
USE REALAUDIO (Score:1)
I suspect it's an ever-dwindling list. My hometown station WABC is no longer listed, and KFJC's server was down when last I checked.
What's the URL for the list of sites?
Try here [audioactive.com]; there's probably a few more out there, like hr-XXL [hr-xxl.de] and WVTC [wvtc.net], that use mp3 or Audioactive for their streams.
--
If you want to use RealAudio... (Score:1)
I'll go look for it and see if I can find the URL.
That's not the point (Score:1)
I have one mostly written. (Score:1)
once you've got something workable?
Cheers,
Drel
UDP broadcasting? (Score:1)
Multicasting? (Score:1)
Well, what about real time _DJ_ing? (Score:1)
It takes _any_ audio in (mp3, mic, line in, cd or mixed) so IMHO They're doing it the right way
Anyway, even if it was just a mp3 broadcasting engine, the decoding&encoding would be needed because you don't want to stream a 128kbps file to modem users and it must be encoded to a lower bitrate.
USE REALAUDIO (Score:1)
cannot do live streaming via http)
And there's a Linux player, as well.
All of the above available for free (for personal
use) at http://www.real.com
you could do a streaming mp3 one (Score:1)
I believe it's possible to set up real streams off any http server (as the above poster mentioned) but I don't know what software is required from Real for realtime-audio compression for "live" radio. I imagine it takes up a good bit of processor power -- their player is certainly slow enough (though considering how much faster my mp3 player is, a good open-source rewrite of realplayer could speed things up a great deal...)
mp3 -- not that bad (Score:1)
major Blunder (Score:1)
So until then, it's not worth the effort to reboot into Windoze just to try to jam semi-live with people online and find out that everyone on is only listening, nobody's playing. A song of mine on there ("Lackluster") was still sitting there, untouched and undeleted (obviously), for several months last time I connected. I think it was in studio 17. Also last time I connected, I tried to get people to jam with me, and I just ended up recording a solo jazz improv for a while, and then gave up, lonely and depressed.
If I want to do that, there's several Linux MIDI sequencers already.
---
Hmmmm. ok. . . (Score:1)
However, I'm the admin for WCSB's (http://www.wcsb.org) audioactive streaming linux server> The audioactive unit (http://www.audioactive.com) is a piece of hardware that does real time mpeg3 encoding in hardware. It is made by telos systems, a well known name in the radio business.
The system was designed to run with linux. The servers to stream the mp3 stream was originally designed to run on Linux.
** Martin
major Blunder. . .nice attitude. (Score:1)
** Martin
major Blunder. . .nice attitude. (Score:1)
it'ld be a breeze to add it to x11amp if they'ld just release the source code or give it to me to add. . .
I should add streaming to freeamp. . .
** Martin
USE REALAUDIO (Score:1)
** Martin
UDP broadcasting? (Score:1)
I had this idea before SHOUTcast came out...not that I think it's better :) My idea would necessitate a new client app to play the stream :(
RealPlayer Basic Server Free for up to 25 Sessions (Score:1)
http://proforma.real.com/mario/eval/download.ht
Sort of done this before (Score:1)
We adapted mpg123 to transmit the mpeg frames in udp broadcast packets from an mp3 at the same rate as it fed them to the audio system.
The client was a quite simple UDP packet receiver that fed the data again to stdout which could then be played with mpg123 -.
The software (mpg123 patches and client) is still available, if someone wants to adopt this to Shoutcast format, be our guest. I'll ask Remco to put the patches for the 'transmitter' on the above HIPradio page.
Hi bandwidth low CPU live DJ on campus! (Score:1)
I'm wondering,
I attend New Mexico Tech, and to be brutally honest, our campus radio station has one of the shittiest selections of music in the world. I was thinking, since mostly everyone on campus who listens also has a connectin to the LAN, I'd like to start an MP3 streaming radio station which could cycle through a playlist which I could easily have created and updated in realtime through user selection on my webpage on my box. I would also like the ability to breakin and make comments via the mic in on my soundcard not necessarily during songplay, but maybe between songs bandwidth doesn't matter as listeners would only be on campus on the LAN, but I would like less cpu usage or a program which would take advantage of my second processor so as not to slow down my GIMP/XMAMEing. What server/clients
-N8
interested in helping with shoutcast/apache mod? (Score:1)
linux lacks a good way to encode a streaming mp3 in realtime but for development purposes i'm sure we could play around with just sending a static file to anyone that connects.
anyone interested in starting an apache/shoutcast project with me?
- MbM
On-the-fly encoding... (Score:1)
I think there's also extra header information that is intered in the stream at key intervals so if a client joins late they are able to read the next header and pick up the stream from there. I don't think there is support for this in linux encoders.
I'm planning mostly on getting the webserver to understand the shoutcast headers and play a pre generated file and afterwards let someone else fill in the encoder part.
basic http header:
HTTP/1.1 200 OK
Content-Type: text/html
shoutcast header:
ICY 200 OK
icy-notice1:
This stream requires Winamp [winamp.com]
icy-notice2:SHOUTcast Distributed Network Audio Server/win32 v1.0b
icy-name: something
icy-genre: something
icy-url:http://whatever
icy-pub:1
icy-br:24
Note that even the connection accept codes (200 OK) are the same, all that really needs to be done now is to figure out what winamp sends to the server and how to tell that apart from a web page request at which point you can use the shoutcast header above as a template and send it any mp3 stream you want. This is also why you can use mpg123 to play a shoutcast stream.
- MbM
FreeAmp is working on it (Score:1)
What I'd say is.. first fix your software so that it's as optimized as it is for any platform out there.. then think about plugins and streamers..
--
shoutcast protocol/mpg123 HOWTO (Score:1)
lynx -source http://localhost:8000/
For a nice jigtter free mpg123 based shoutcast stream do
lynx -source http://localhost:8000/ | mpg123 -
Ofcourse you should be running a server on localhost or reflecting another server through it.. Use mpg123 59p.. if you have a k6-2.. you can compile this with 3Dnow.. and a lot of other options.. (there is optimization for 386, 486 and pentiums also support for esound, nas and a lot of o other such beasts).
Hmmm.. on the fly mp3 decompression/encoding? hmm... have no clue
--
Try freeamp? (Score:1)
I beleive the freeamp developers were looking into doing this at some point, though freeamp still needs plenty of work to catch up to the likes of winamp.
Actually I've put together an informal survey [plain.co.nz] of a number of mp3 player engines, and I'd like some feedback before seriously testing them all with a proper set of mp[123] streams. Check it out.
Try freeamp? (Score:1)
Real Audio (Score:1)
-N.
And why doesn't anyone want it? (Score:1)
And what is this product, anyway? How much does it cost? Is it a CLIENT or SERVER type product?
Oh, and did I say that IBM is responsible for people not wanting to use OS/2.
BTW, since this thread is about a low cost solution, I can guarantee that if you had a low cost OS/2 solution, then your statement that nobody wants it is false.
-- Richard R. Klemmer
WebTrek L.L.C.
Shoutcasting using AMP or Esound. (NO Win*) (Score:1)
It's really pretty easy..
/olle
djfrog -- live streaming mp3 server in perl (Score:1)
Ok, now what solution out there works? (Score:1)
Most of the solutions provided so far will work so someone can make a "buddy" radio station... AKA the same thing we did with walkie talkies wher we were 6. If you want to do a real net radio station there are 3 HUGE things that must be met.. #1 the client program has to run on everything.. Linux,Win,Mac,BeOS,Os/2,os-9,.... It has to unless you want to tell a huge chunk of people that they are worthless morons for using the computer they have.
#2 if you want people to listen to your atation they will not pay for the client program. I wont buy a retail version of real-audio, noone in their right mind would.
#3 if the free client the listener uses takes 8 hours to download and needs 32meg of hdd space and requires a T-1 line to hear decent audio you will not be listened to. It's a fact! 90% of your listeners will have 33.6 or lower speed modems. real audio sucks for low speed streams, real audio's client is more bloated than win95, and real audio is currently favored because every winbox has it on it!
So If you can find an audio streamer that compresses as good as mp3, the playback client is tiny, I can listen to a lower quality audio feed at 14.4bps, and the client runs on anything that has a C compiler (non of them damn libs either!) you've got your radio station!!
only problem is that product dont exist...
if it did, Real Audio would be dead.
hehehe, I know.... do as I say, not as I do n/m (Score:1)
Lame: wine -managed winamp.exe & (Score:1)
Live line-in streaming (Score:1)
The first piece of the puzzle would be the real-time encoding to low bit-rate MP3 files. How can I read the line-in in Linux? Next, how can I take that line-in and pipe it to l3enc (or something faster -- and something that supports the smaller bitrates too) to create MP3 files in realtime? Next, how do I take that output of l3enc and feed it to Shoutcast server (or whatever server)?
Looks like three steps need to be accomplished. Those first two haven't been discussed at all...
RedHat-5.1 was ready to serve. (Score:1)
djfrog -- live streaming mp3 server in perl (Score:1)
My software differs from shoutcast in that it doesn't re-encode the mp3s it streams out. It just reads pre-encoded files off the disk and streams them out to everyone. You don't need a winamp frontend to make my stuff work, tho you can't do voiceovers as easily as with the shoutcast stuff.
I'm probably going to package everything up and release it for people to play with. Anyone interested?
Andrew
I have one mostly written. (Score:1)
radio station on linux. (Score:1)
udp, sip, and rtsp...search for more info (Score:1)
Windows Only Streamer? (Score:1)
Try freeamp? (Score:1)
As far as working on the speed of the decoder, we have someone doing that. Unfortunately, writing hand optimized assembly is not something that happens overnight. I personally would rather work on other stuff while this other guy we have works on the optimization.
I am personally interested in seeing what engine X11amp uses whenever they release.