Discussion:
[Icecast] Can't connect winamp source to icecast server
Greg Trounson
2004-10-03 22:13:23 UTC
Permalink
Gidday,

I have a winamp 2.95 source that cannot upload the stream to my icecast
server.

Since icecast is compatible with shoutcast surely a winamp source should
be able to connect?

any help appreciated,
Greg

My icecast.xml follows:
<icecast>
<limits>
<clients>100</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>102400</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
</limits>

<authentication>
<!-- Sources log in with username 'source' -->
<source-password>mypassword</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>hackme</relay-password>

<!-- Admin logs in with the username given below -->
<admin-user>admin</admin-user>
<admin-password>mypassword</admin-password>
</authentication>

<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->

<hostname>vector</hostname>

<!-- You can use these two if you only want a single listener -->
<!--<port>8000</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->

<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
</listen-socket>
<!--
<listen-socket>
<port>8001</port>
</listen-socket>
-->

<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->
<!--
<relay>
<server>127.0.0.1</server>
<port>8001</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount>

<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
-->

<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
<mount>
<mount-name>/example-complex.ogg</mount-name>

<username>othersource</username>
<password>hackmemore</password>

<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<fallback-mount>/example2.ogg</fallback-mount>
</mount>
-->

<fileserve>1</fileserve>

<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>/usr/share/icecast</basedir>

<!-- Note that if <chroot> is turned on below, these paths must
both
be relative to the new root, not the original root -->
<logdir>./icecast</logdir>
<webroot>/usr/share/icecast/web</webroot>
<adminroot>/usr/share/icecast/admin</adminroot>
<!-- <pidfile>/usr/share/icecast/icecast.pid</pidfile> -->

<!-- Aliases: treat requests for 'source' path as being for
'dest' path
May be made specific to a port or bound address using the
"port"
and "bind-address" attributes.
-->
<!--
<alias source="/foo" dest="/bar"/>
-->
</paths>

<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>

<security>
<chroot>0</chroot>
<!--
<changeowner>
<user>nobody</user>
<group>nobody</group>
</changeowner>
-->
</security>
</icecast>
Leo Currie
2004-10-05 12:46:32 UTC
Permalink
Post by Greg Trounson
Gidday,
I have a winamp 2.95 source that cannot upload the stream to my icecast
server.
I'm assuming you're trying the Nullsoft Shoutcast DSP plugin.
Post by Greg Trounson
Since icecast is compatible with shoutcast surely a winamp source should
be able to connect?
I'm afraid not, but this is because Icecast uses mountpoints, which lets
you specify multiple streams per server, e.g:
my-server.com:8000/radiohiband.ogg
my-server.com:8000/radioloband.ogg
my-server.com:8000/demo_mp3
etc.

This is in contrast to SHOUTCast which provides only a single stream per
server instance. (so for the above example, you'd need to run 3 copies
of SHOUTCast on 6 different ports, except of course you can't stream in
vorbis!)
Post by Greg Trounson
any help appreciated,
Try the Oddcast plugin instead -

http://www.oddsock.org/tools/oddcastv2_wa2/

Leo
Greg Trounson
2004-10-05 21:30:20 UTC
Permalink
Post by Leo Currie
Post by Greg Trounson
Gidday,
I have a winamp 2.95 source that cannot upload the stream to my
icecast server.
I'm assuming you're trying the Nullsoft Shoutcast DSP plugin.
That's the one.
Post by Leo Currie
Post by Greg Trounson
Since icecast is compatible with shoutcast surely a winamp source
should be able to connect?
I'm afraid not, but this is because Icecast uses mountpoints, which lets
my-server.com:8000/radiohiband.ogg
my-server.com:8000/radioloband.ogg
my-server.com:8000/demo_mp3
etc.
This is in contrast to SHOUTCast which provides only a single stream per
server instance. (so for the above example, you'd need to run 3 copies
of SHOUTCast on 6 different ports, except of course you can't stream in
vorbis!)
The problem is that I have someone who insists on using the win32/winamp
combination as the source, and I'd rather use icecast as the server
instead of the nullsoft shoutcast implementation.

You say above that I'd need to run 3 copies of shoutcast on 6 ports to
handle 3 streams, so is it possible to use SHOUTCast send a single
stream to an icecast server?
Post by Leo Currie
Try the Oddcast plugin instead -
http://www.oddsock.org/tools/oddcastv2_wa2/
Thanks, I'll give that a go for my own tinkering.

Greg
Leo Currie
2004-10-06 10:51:48 UTC
Permalink
Greg Trounson wrote:

[snip]
Post by Greg Trounson
The problem is that I have someone who insists on using the win32/winamp
combination as the source, and I'd rather use icecast as the server
instead of the nullsoft shoutcast implementation.
Absolutely. I wasn't suggesting that you use SHOUTCast - I was trying to
give an example of why Icecast is more flexible, and how the SHOUTCast
plugin is limited to streaming *only* to SHOUTCast servers.
Post by Greg Trounson
You say above that I'd need to run 3 copies of shoutcast on 6 ports to
handle 3 streams, so is it possible to use SHOUTCast send a single
stream to an icecast server?
I think it is *possible* to relay several SHOUTCast servers from
Icecast, but thats not what I'm suggesting.

The oddcast plugin lets you stream Vorbis or MP3 to an Icecast server
from Winamp. You can combine it with a plugin stacker to invoke multiple
instances of Oddcast from the same instance of Winamp to stream various
combinations of bitrate/format of the same content to a single Icecast
server, on various mountpoints.

(BTW - you can also achieve this with the commercial Spacial Audio plugin.)

Leo
Dave St John
2004-10-08 05:39:04 UTC
Permalink
Well i did it, i finally broke down and bought a hardware based media
player, the dlink dsm 320.
Not only can i watch my dvds from my pc, but listen to my 30+gb ogg vorbis
collection,
create a playlist file (.pls format) with shoutcast and icecast2 streams
(mp3 only) and crank them
through the home theatre system.
Just a heads up though, even though it supports shoutcast and icecast2 mp3,
the ogg vorbis streaming
doesn't work, it plays for about 4 seconds then pops a window up stating
file format not supported.
Sounds like they made the ogg vorbis decoder do cbr or bitrate management
instead of quality,
not entirely sure though., maybe if we all fire over some emails to
dlink.com they will address
this issue in there next firmware version.

Hopefully with the next firmware version they will have fixed the ogg vorbis
icecast2 streaming
issue, we are so close to seeing icecast2 and ogg vorbis streaming take
off!! like shoutcast
and mp3 has.

All in all i recommend this product, definitely worth a mention on
vorbis.com for support of ogg vorbis files
and icecast2 mp3 streaming.


Dave St John
Mediacast1 Administration

Need Support ?
http://mediacast1.com/helpdesk
Scott Manley
2004-10-12 02:53:08 UTC
Permalink
I've got one of these on the way right now - BestBuy has a special on
them and I think Buy.com is doing a 30$ rebate.
I gather that it's based on the ZenSonic units which supposedly supports
Ogg, but that particular bit of code isn't quite up to speed yet.
Post by Dave St John
Well i did it, i finally broke down and bought a hardware based media
player, the dlink dsm 320.
Not only can i watch my dvds from my pc, but listen to my 30+gb ogg
vorbis collection,
create a playlist file (.pls format) with shoutcast and icecast2
streams (mp3 only) and crank them
through the home theatre system.
Just a heads up though, even though it supports shoutcast and icecast2
mp3, the ogg vorbis streaming
doesn't work, it plays for about 4 seconds then pops a window up
stating file format not supported.
Sounds like they made the ogg vorbis decoder do cbr or bitrate
management instead of quality,
not entirely sure though., maybe if we all fire over some emails to
dlink.com they will address
this issue in there next firmware version.
Hopefully with the next firmware version they will have fixed the ogg
vorbis icecast2 streaming
issue, we are so close to seeing icecast2 and ogg vorbis streaming
take off!! like shoutcast
and mp3 has.
All in all i recommend this product, definitely worth a mention on
vorbis.com for support of ogg vorbis files
and icecast2 mp3 streaming.
Dave St John
Mediacast1 Administration
Need Support ?
http://mediacast1.com/helpdesk
_______________________________________________
Icecast mailing list
http://lists.xiph.org/mailman/listinfo/icecast
Guy McArthur
2004-10-12 16:55:38 UTC
Permalink
Any opinions on the MacSense homepod?

I'm shopping for a wireless media hub, it must support ogg and aac, have
a good display + remote, and the server must run on Linux....

--
Guy

Continue reading on narkive:
Search results for '[Icecast] Can't connect winamp source to icecast server' (Questions and Answers)
3
replies
Audio streaming server which allows a remote (live) source?
started 2012-09-06 20:31:50 UTC
computers & internet
Loading...