 |
 |
MP3 Streaming Server
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Location: Toronto
Status:
Offline
|
|
Would anyone be willing to help me compile the source for iceCast? Its a streaming mp3 server. The current Shoutcast server is too unstable. I have never compiled anything. Any help is appreciated.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 1999
Location: Boston, MA USA
Status:
Offline
|
|
Originally posted by anothermacguy:
Would anyone be willing to help me compile the source for iceCast? Its a streaming mp3 server. The current Shoutcast server is too unstable. I have never compiled anything. Any help is appreciated.
Well, there's nothing to it. Download the source, untar it, cd into its directory, and "make", then "make install". It should create a /usr/local/icecast directory. Edit icecast.conf in the conf directory (it's very well commented), then "cd ../bin" and start icecast with "./icecast".
One big problem - shout won't compile. You can try any number of encoders that are available. I wound up writing my own in tcl because I wanted tight integration with php.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Location: Toronto
Status:
Offline
|
|
Thanks a lot. I will let you know how it goes. Take care
----When I tried make, after cd'ing into the directory, it told me "no targets specified, and no makefile found". What should I do (BTW, I have the dev tools, if that helps).
Thanks
[This message has been edited by anothermacguy (edited 11-03-2000).]
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 1999
Location: Boston, MA USA
Status:
Offline
|
|
This is gonna be long, so just bear with me.
Originally posted by anothermacguy:
Thanks a lot. I will let you know how it goes. Take care
----When I tried make, after cd'ing into the directory, it told me "no targets specified, and no makefile found". What should I do (BTW, I have the dev tools, if that helps).
Thanks
OK, here's a step-by-step process.
[list=1][*] first, I recommend you get and install lynx (text-only web browser) to download the following files. It makes my life easier. Here are step-by-step instructions (note the period at the end of step 4 - it's needed). This may take a little while to build, depending on the speed of your system. Be patient.
[*] type "lynx <A HREF="http://www.icecast.org/download.html"." TARGET=_blank>http://www.icecast.org/download.html".</A> (If you get a message saying "Command not found", try logging out and back in, or try /usr/local/bin/lynx instead of just lynx). Hit the down arrow key until you highlight "Icecast 1.3.7 source (pretty stable)". Hit return. Type "D" when it asks if you want to download the file. Hit return to "Save to Disk", and return again to accept the default name. Type "q" to exit lynx and "y" to make sure.
[*] type "clear" and return so you can see what you're doing.
[*] type 'ls' and you should see "icecast-1.3.7.tar.gz" there somewhere.
[*] tar -zxvf icecast-1.3.7.tar.gz
[*] cd icecast-1.3.7
[*] ./configure
[*] make (You'll see a bunch of waring messages. Ignore 'em)
[*] su (and give it your root password)
[*] make install
[*] cd /usr/local/icecast/bin
[*] ./icecast
[*] at this point, your icecast server should come up with the factory-installed options. Check it's running and then type 'shutdown'. NOTE: You must be root to run icecast - if you're not, it'll die when trying to write it's log file
[*] type 'shutdown' to bring down the server.
[*] pico ../conf/icecast.conf
edit the configuration file to your heart's content. It's pretty self-explanatory.[/list=a]
OK, so far so good. You still have the encoder problem (shout won't compile on Macs for some reason). But there's a ton of potential solutions for this problem. Try This link for some potential solutions.
One problem remains - you can't fire up icecast except as root. You could open a terminal and su to root every time you wanted to fire it up, but it would be nicer to have it start automatically. Which brings us to:
EXTRA CREDIT - this will let you start up icecast automagically at boot time. I don't vouch that this'll work perfectly for you, and - since you need to do this as root - I assume no responsibility for the death of your system, all your data, you hard drive(s), and possibly your pet halibut named Eric, even if you follow these instructions to the letter.[list=1][*] su
[*] pico /etc/hostconfig
[*] add the following lines at the end
Code:
## User Mods
ICECAST=-YES-
[*] type control-o and return to save the file[*] type control-x to quit[*] cd /System/Library/StartupItems[*] mkdir ICECAST[*] cd ICECAST[*] pico ICECAST[*] type the following (or just copy and paste it)
Code:
#!/bin/sh
. /etc/rc.common
##
# Start icecast
##
if [ "${ICECAST:=-NO-}" = "-YES-" ]; then
ConsoleMessage "Starting icecast"
/usr/local/icecast/bin/icecast
fi
[*] control-o, return, control-x
[*] pico StartupParameters.plist
[*] type the following (or just copy and paste it)
Code:
{
Description = "icecast MP3 Streaming Server";
Provides = ("icecast");
Requires = ("Resolver");
Preference = "None";
Messages =
{
start = "Starting icecast MP3 Streamer.";
stop = "Stopping icecast MP3 Streamer.";
};
}
[*] control-o, return, control-x[/list=a]
Now when you restart, icecast should automatically fire up. This works on my system. YMMV.
That's about it. Good luck!.
------------------
email: here
[This message has been edited by dogzilla (edited 11-03-2000).]
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Location: Toronto
Status:
Offline
|
|
THANK YOU THANK YOU THANK YOU!!!!! I am very grateful. I have been trying to get this going all day. I did manage to get the program to compile and run, and configured. Then I ran into the damn encoding problem. You anticipated everything. Once again, thanks, take care.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2000
Location: Brisbane, Queensland, Australia
Status:
Offline
|
|
more on that note.. carbon soundjam is the only program i know that can broadcast into icecast or shoutcast... you need to register it first though
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 1999
Location: Boston, MA USA
Status:
Offline
|
|
Originally posted by sordid:
more on that note.. carbon soundjam is the only program i know that can broadcast into icecast or shoutcast... you need to register it first though
This may be true as far as Aqua or OS 9, but definitely *not* true as far as the command line is concerned (which is where you want this stuff running anyway - as a faceless background process and not as an upfront application. Besides, if soundjam is encoding for ice or shoutcast then you can't use it to listen to your station). There are just under a million command-line encoders that will work with icecast. And they're all free, both as in speech and beer.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Location: Toronto
Status:
Offline
|
|
Thanks for the info guys. What I have actually done is decide to go with an older version of shoutcast and I'm using JScream as my encoder. It's not working perfectly yet, I have one minor pesky issue I haven't worked out. But it looks like its going to work well.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2000
Location: Brisbane, Queensland, Australia
Status:
Offline
|
|
dogzilla: Yep, sorry, I meant to say under OS X, SJ is the only one I know that will broadcast. I've tried to compile many command line encoders, but most need to be modified greatly before they work under OS X. If you have seen one that you have been able to compile successfully under OS X, let us know
[This message has been edited by sordid (edited 11-08-2000).]
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Location: Toronto
Status:
Offline
|
|
Hey guys, JScream does work, and compiles find on Darwin. I have it, and shoutcast both running. My pesky little problem which I spoke of earlier is that when JScream tries connecting with Shoutcast, Shoutcast rejects the password. I have checked the two configs, making sure I'm using the same password, and that i'm using the broadcast password to talk with shoutcast. It still is not working. But still, this is a little thing, as far as compiling, and running it, I have had no problems.
JScream.org is where you can grab the source.......
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 1999
Location: Boston, MA USA
Status:
Offline
|
|
Originally posted by sordid:
dogzilla: Yep, sorry, I meant to say under OS X, SJ is the only one I know that will broadcast. I've tried to compile many command line encoders, but most need to be modified greatly before they work under OS X. If you have seen one that you have been able to compile successfully under OS X, let us know
Well, I'll be honest and tell you that I haven't tried to compile any under MOSX. I do know that there are some Perl-based ones that should work without much trouble. There's also a PHP-based one that should work fine if you have PHP installed.
What I use is an encoder I wrote myself. It's in TCL, and has a dependency on one external package that works with no problem. It's not finished, and has a bunch of hard-coded stuff in it, but if anyone's interested, I'll put it up here. It works fine under MOSX on my laptop, and it's currently running my full-time station on my Linux box.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Location: Toronto
Status:
Offline
|
|
That pesky password problem is solved. Server works great. For those of you who haven't written your own encoders, I would recommend JScream.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|