Hi! Been trying to figure out how to stream metadata. I got metadata streaming working for MP3, but just cant seem to make it work for Ogg? This is how I *think* it works - please correct me where I'm wrong: 1. For MP3 the metadata is updated via a HTTP GET (aka Old shoutcast method, just new URL /admin/) 2. For Ogg the metadata is embedded directly into the stream using a comment packet? I tried this with no luck though. Only the very first header comments show up, nothing more. If somebody has some example code of how to send metadata for Ogg to Icecast2 it would be greatly apprecaited! :) Thanx in advance Louis <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.
ok - I'm now starting a new bitstream on each song change, but still no-go. Only on the very first reconnect does the title streaming show correct. The metadata information however NEVER displays correctly in the stats.xml - even though the comment headers seem to be fine - so I suspect I need to use another method? btw - Metdata inside OddCast DSP seems to work fine... Louis ----- Original Message ----- From: "Geoff Shang" <gshang@uq.net.au> To: <icecast-dev@xiph.org> Sent: Friday, March 21, 2003 5:02 PM Subject: Re: [icecast-dev] Metadata <p>> Hi:> > Disclaimer: I'm not a developer! > > You're right - the metadata as it is right now is contained within vorbis > comments placed within the vorbis stream. The comments can only appear in > the second vorbis packet of a vorbis stream. The way to get around thisis> to chain ogg bitstreams together. This is explicitely allowed in thespec.> so if you need to update the metadata, conclude your ogg stream and then > start a new one, as if you had 2 ogg files and you joined them one after > the other. This is why, if you play a stream like Kirk Reiser's egoplay > that updates every song in a player such as ogg123 that shows elapsedtime,> you'll see it reset at the beginning of each song. > > Egoplay 112-128 kbps - http://linux-speakup.org:9000/egoplay.ogg > Egoplay 64kbps - http://linux-speakup.org:9000/egoplay64.ogg > Egoplay 24kbps - http://linux-speakup.org:9000/egoplay24.ogg > > Hope this is (a) right and (b) helpful. > Geoff. > > > -- > Geoff Shang <gshang@uq.net.au> > ICQ number 43634701 > > Make sure your E-mail can be read by everyone! > http://www.betips.net/etc/evilmail.html > > Please avoid sending me Word or PowerPoint attachments. > See http://www.fsf.org/philosophy/no-word-attachments.html > > > --- >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.
On Saturday 22 March 2003 01:51, Louis Louw wrote:> Hi! > > Been trying to figure out how to stream metadata. I got metadata streaming > working for MP3, but just cant seem to make it work for Ogg? > > This is how I *think* it works - please correct me where I'm wrong: > > 1. For MP3 the metadata is updated via a HTTP GET (aka Old shoutcast > method, just new URL /admin/)More or less - there's also HTTP authentication required for this, which I doubt was needed for shoutcast.> 2. For Ogg the metadata is embedded directly > into the stream using a comment packet? I tried this with no luck though. > Only the very first header comments show up, nothing more.Comment packets are only valid in ogg vorbis logical stream headers. You need to start a new logical stream to do this. Mike> If somebody has some example code of how to send metadata for Ogg to > Icecast2 it would be greatly apprecaited! :) > > Thanx in advance > Louis--- >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.
Hi: Disclaimer: I'm not a developer! You're right - the metadata as it is right now is contained within vorbis comments placed within the vorbis stream. The comments can only appear in the second vorbis packet of a vorbis stream. The way to get around this is to chain ogg bitstreams together. This is explicitely allowed in the spec. so if you need to update the metadata, conclude your ogg stream and then start a new one, as if you had 2 ogg files and you joined them one after the other. This is why, if you play a stream like Kirk Reiser's egoplay that updates every song in a player such as ogg123 that shows elapsed time, you'll see it reset at the beginning of each song. Egoplay 112-128 kbps - http://linux-speakup.org:9000/egoplay.ogg Egoplay 64kbps - http://linux-speakup.org:9000/egoplay64.ogg Egoplay 24kbps - http://linux-speakup.org:9000/egoplay24.ogg Hope this is (a) right and (b) helpful. Geoff. <p> -- Geoff Shang <gshang@uq.net.au> ICQ number 43634701 Make sure your E-mail can be read by everyone! http://www.betips.net/etc/evilmail.html Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html <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.