![]() |
What is the best way to broadcast a live stream with Linux and Shoutcast?
Folks-
I'm currently looking into what the best way to broadcast a live stream from Linux using Shoutcast. I'm doing the following; let me know if this makes sense. I'll take the stream from a given source, and push it from PCM to mp3 via lame. The output is being sent to a FIFO file on my server. sc_trans_040 is reading the FIFO file and sending the results to the shoutcast server for broadcasting. In theory, this should work, but it may not be the best method. I cannot use window systems in this environment, only UNIX. (Linux, FreeBSD or Solaris) In the best case, I'd like to have multiple streams from a single server (same port, different URL) but I cannot find the correct way to configure shoutcast for this. Also, I'd rather feed shoutcast directly rather then go through sc_trans_040 but I cannot figure out a way to do that. (And using the content directory for my fifo doesn't help.) What are other people doing for these UNIX live broadcasts? (If anything) Virtually, Ned Wolpert |
Of course, I reply to my own post, but I figure this would help other folks.
sc_trans_040 caused me too many problems, when I only wanted to stream my content to the shoutcast server for relaying. I endup up modifing the example program from the libshout (icecast.org) release and rolled my own. (I cat the fifo which has the mp3 data and sent directly to the server, with no re-coding.) I still have the configuration problem with shoutcast where I want the same server/port combo to host multiple live streams. (Available via different relays.) Does anyone know if that is possible? Thanks again. -Ned Wolpert |
| All times are GMT. The time now is 16:58. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.