Hi all, I just built icecast 2 from cvs. I tried to compile ices (also from cvs) and got: tream.c: In function `ices_instance_stream': stream.c:164: warning: passing arg 1 of `shout_strerror' makes pointer from integer without a cast stream.c:164: too few arguments to function `shout_strerror' stream.c:198: warning: passing arg 1 of `shout_strerror' makes pointer from integer without a cast stream.c:198: too few arguments to function `shout_strerror' stream.c:221: warning: passing arg 1 of `shout_strerror' makes pointer from integer without a cast stream.c:221: too few arguments to function `shout_strerror' make[2]: *** [stream.o] Error 1 Anyway I tested out icecast2 and it seems to be pretty happy, but the stream is in mp3 format. I was interested in streaming in OGG format. Is there a way to do this? I can send OGG files to Ices (v0.2.2 which I got from the icecast web page) but it seems to re-encode them into mp3 for Icecast. Is this the default behavior or do I need to get he ices from cvs running for this? Thanks! Tom __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Fri, 16 Nov 2001, Tom Murphy wrote:> I just built icecast 2 from cvs. I tried to compile ices (also from > cvs) and got: > > stream.c: In function `ices_instance_stream': > stream.c:164: warning: passing arg 1 of `shout_strerror' makes pointer > from integer without a cast > stream.c:164: too few arguments to function `shout_strerror' > stream.c:198: warning: passing arg 1 of `shout_strerror' makes pointer > from integer without a cast > stream.c:198: too few arguments to function `shout_strerror' > stream.c:221: warning: passing arg 1 of `shout_strerror' makes pointer > from integer without a cast > stream.c:221: too few arguments to function `shout_strerror' > make[2]: *** [stream.o] Error 1ah. You have the problem I hit and never managed to solve to my satisfaction. configure is finding the wrong version of libshout, or in this case, shout.h. If you need the old MP3 version of libshout around then you're going to have fun getting ices2 to compile. My experience is that, even using --with-shout-prefix it's impossible to get the right version of libshout to link if the wrong one is in a regular install path. Why configure doesn't bomb is beyond me. If you only want to do ogg streaming, save yourself considerable headache and blow away the old libshout and get libshout2 from the xiph CVS if you haven't already. If you must have both on the system, the only way I've managed to get ices2 to compile is to link libshout statically. To do this, I compiled and installed libshout2 using ./configure --prefix=/usr/friends/geoff which put files in the include and lib subdirs. Then I did the following in the ices2 top-level dir: # Tell LD where libshout2 is so configure doesn't complain LD_LIBRARY_PATH=/usr/friends/geoff export LD_LIBRARY_PATH ./autogen.sh --with-shout-prefix=/usr/friends/geoff Note here that autogen will pass the --with option to configure. Now, configure at this point (for me at least) will do its job without complaint. Yes, the shout test program compiles and runs. So make should work now? urrr well yeah it should. But it doesn't. Not for me anyway. It still manages somehow to link against the wrong libshout (I think, it's been a little while since I did all this, like a few weeks). So here's what I had to do: cd to src and edit Makefile. You should see something like this on something like line 114: LIBS = -lpthread -lxml2 -L/lib -logg -L/lib -lvorbis -lm -lvorbisenc -L/usr/friends/geoff/lib -lshout the problem is that it must be finding libshout before ever getting to look in the right place for it. So I edited that to look like this: LIBS = -lpthread -lxml2 -L/lib -logg -L/lib -lvorbis -lm -lvorbisenc /usr/friends/geoff/lib/libshout.a I would really prefer to do it dynamically, but I'm sharing this system with ices 0.2.2 and it needs the old libshout. It's not my box so I have to make it work around the way things are. > Anyway I tested out icecast2 and it seems to be pretty happy, but the > stream is in mp3 format. I was interested in streaming in OGG format.> Is there a way to do this?hmmmm.. Didn't know that icecast2 would relay an MP3 stream. <thinks> Yeah, use ices2 which is in the xiph.org CVS ... oh wait, you've found that already. Ices 0.2.2 is for streaming MP3 to icecast 1.x servers. Geoff. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
At 12:13 PM 11/16/01 -0800, you wrote:>Hi all, > > I just built icecast 2 from cvs. I tried to compile ices (also from >cvs) and got:Wrong libshout, you'll need to download libshout2 from cvs ('libshout' module)>Anyway I tested out icecast2 and it seems to be pretty happy, but the >stream is in mp3 format. I was interested in streaming in OGG format. >Is there a way to do this?mp3 streaming to icecast2 isn't _meant_ to work, yet.> >I can send OGG files to Ices (v0.2.2 which I got from the icecast web >page) but it seems to re-encode them into mp3 for Icecast. Is this the >default behavior or do I need to get he ices from cvs running for this?ices can't do ogg streaming. ices2 (which is a completely seperate program, written by different people, and sharing no code with ices) can, you'll want to get this from cvs too. Michael --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Hi Geoff! Thanks for your help on all of this! Well everything compiled happily. libshout, ices and icecast. I've been messing about with ices and icecast .xml config files but I'm a bit confused. Does this new ices only handle live input from the sound card or can I send it a batch of files to use? I'm not even sure that it's working because when icecast runs, and ices runs, I try to connect to the source from another machine and it says stream not found. Yet, ices is taking up like 95% cpu time. I looked in contrib and saw a run_ices script that makes a xml file, but it doesn't seem to work for me. Do you have any sample ices and icecast .xml config files I could look at and change? I can't seem to get the source working right. Thanks! Tom __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.