relaying a shoutcast stream via icecast2 is pretty much unlistenable -- it constantly stutters. for example, shoutcast relay -- http://205.188.234.1:8030/listen.pls icecast2 relay -- http://liveradio.indymedia.org:8001/sf-hifi.mp3.m3u --mark --- >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-dev-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 Thursday 03 July 2003 11:12, Brendan Cully wrote:> On Wednesday, 02 July 2003 at 18:06, mark burdett wrote: > > relaying a shoutcast stream via icecast2 is pretty much unlistenable -- > > it constantly stutters. > > > > for example, > > shoutcast relay -- http://205.188.234.1:8030/listen.pls > > icecast2 relay -- http://liveradio.indymedia.org:8001/sf-hifi.mp3.m3u > > I've verified the problem when relay-shoutcast-metadata is set. Does > turning it off solve your problems?This _did_ work (I tested relaying a shoutcast stream, with metadata, at one point). Is the relayed stream correctly sending the icy-metaint header? See format_mp3.c:80, where it parses the value. If that value-parsing goes wrong for some reason, continual stuttering would result. If that's right, then the error is likely in format_mp3.c:format_mp3_get_buffer(), in the case where it handles a non-zero inline_metadata_interval. The code there _should_ work, but it didn't get very extensive testing, so there might be some cases it misses? It's pretty messy. Mike --- >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-dev-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 Wednesday, 02 July 2003 at 18:06, mark burdett wrote:> relaying a shoutcast stream via icecast2 is pretty much unlistenable -- > it constantly stutters. > > for example, > shoutcast relay -- http://205.188.234.1:8030/listen.pls > icecast2 relay -- http://liveradio.indymedia.org:8001/sf-hifi.mp3.m3uI've verified the problem when relay-shoutcast-metadata is set. Does turning it off solve your problems? --- >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-dev-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 Wednesday, 02 July 2003 at 21:12, Brendan Cully wrote:> On Wednesday, 02 July 2003 at 18:06, mark burdett wrote: > > relaying a shoutcast stream via icecast2 is pretty much unlistenable -- > > it constantly stutters. > > > > for example, > > shoutcast relay -- http://205.188.234.1:8030/listen.pls > > icecast2 relay -- http://liveradio.indymedia.org:8001/sf-hifi.mp3.m3u > > I've verified the problem when relay-shoutcast-metadata is set. Does > turning it off solve your problems?please try the attached patch and let us know the results. Thanks, -b -------------- next part -------------- Index: format.c ==================================================================RCS file: /usr/local/cvsroot/icecast/src/format.c,v retrieving revision 1.20 diff -u -p -r1.20 format.c --- format.c 15 Mar 2003 02:10:17 -0000 1.20 +++ format.c 3 Jul 2003 01:28:25 -0000 @@ -108,6 +108,7 @@ void format_send_general_headers(format_ while (node) { var = (http_var_t *)node->key; if (strcasecmp(var->name, "ice-password") && + strcasecmp(var->name, "icy-metaint") && (!strncasecmp("ice-", var->name, 4) || !strncasecmp("icy-", var->name, 4))) { bytes = sock_write(client->con->sock,
Relay sounds fine on my end and on both servers. now quick question, ive been unsuccessfull relaying another shoutcast server, what are the settings in your config if you dont mind sharing? <p>Dave St John Mediacast1 Administration (720) 641-7586 ----- Original Message ----- From: "mark burdett" <mark@linefeed.org> To: <icecast-dev@xiph.org> Sent: Wednesday, July 02, 2003 7:06 PM Subject: [icecast-dev] shoutcast to icecast2 issues <p>> relaying a shoutcast stream via icecast2 is pretty much unlistenable --> it constantly stutters. > > for example, > shoutcast relay -- http://205.188.234.1:8030/listen.pls > icecast2 relay -- http://liveradio.indymedia.org:8001/sf-hifi.mp3.m3u > > --mark > > --- >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-dev-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. ><p>--- >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-dev-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.
btw i just noticed that the icecast2 relay sounds fine in whamb (mac os x mp3/ogg client). so it does seem that some clients don't have the problem. here's the relay configs we're using: <relay> <server>server.to.be.relayed</server> <port>8000</port> <mount>/</mount> <local-mount>/whatever.mp3</local-mount> <relay-shoutcast-metadata>1</relay-shoutcast-metadata> </relay> --mark On Wednesday, Jul 2, 2003, at 18:09 US/Pacific, Dave St John wrote:> Relay sounds fine on my end > and on both servers. > > now quick question, ive been unsuccessfull relaying another shoutcast > server, > what are the settings in your config if you dont mind sharing? > > > Dave St John > Mediacast1 Administration > (720) 641-7586 > ----- Original Message ----- > From: "mark burdett" <mark@linefeed.org> > To: <icecast-dev@xiph.org> > Sent: Wednesday, July 02, 2003 7:06 PM > Subject: [icecast-dev] shoutcast to icecast2 issues > > >> relaying a shoutcast stream via icecast2 is pretty much unlistenable >> -- >> it constantly stutters. >> >> for example, >> shoutcast relay -- http://205.188.234.1:8030/listen.pls >> icecast2 relay -- http://liveradio.indymedia.org:8001/sf-hifi.mp3.m3u >> >> --mark >> >> --- >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-dev-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. >> > > > --- >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-dev-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.--- >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-dev-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.