At 05:49 PM 12/14/2002 +1000, you wrote:>Does vorbis input work yet? I'm really keen to know. We're currently >using streamTranscoder to provide modem rate versions of a 56kbps stream, >but I'd really like us to source with a 64kbps ogg stream and transcode >that instead. The news section on the website says that it doesn't work >(or didn't on October 16) and I've seen no mention either way since.unfortunately, vorbis input is still eluding me. it's working to a degree, but falls apart any time a new ogg stream is started (this is done at song changes)...I've based the logic off the decoder example, however, the decoder example reads from files, and I am reading via libcurl and using a circular buffer, and so I did my best to covert the logic, but still have not done so successfully. I'd LOVE to see a simpler interface to vorbis decoding, something that takes in vorbis data and spits out PCM data would be most excellent, and takes care of dealing with new ogg streams and possibly with callbacks for any new vorbis comments inserted into the stream... Anyway, I haven't given up, but this is just one of many projects that I am supporting...any help is always appreciated....source code is available in CVS from sourceforge at http://sourceforge.net/projects/transcoder... oddsock <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-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.
> unfortunately, vorbis input is still eluding me. it's working to a degree, > but falls apart any time a new ogg stream is started (this is done at song > changes)...I've based the logic off the decoder example, however, the > decoder example reads from files, and I am reading via libcurl and using a > circular buffer, and so I did my best to covert the logic, but still have > not done so successfully. I'd LOVE to see a simpler interface to vorbis > decoding, something that takes in vorbis data and spits out PCM data would > be most excellent, and takes care of dealing with new ogg streams and > possibly with callbacks for any new vorbis comments inserted into the stream... >Err.. libvorbisfile. That's a _very_ simple interface, and it's been there since well before beta1. You don't have callbacks on new streams, but you do get notified of them so you can take whatever action you need from your main read loop. There are callbacks for providing data (so you can pull data off the network instead of reading from files). 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.
At 01:32 AM 12/15/2002 +0000, you wrote:> > unfortunately, vorbis input is still eluding me. it's working to a > degree, > > but falls apart any time a new ogg stream is started (this is done at song > > changes)...I've based the logic off the decoder example, however, the > > decoder example reads from files, and I am reading via libcurl and using a > > circular buffer, and so I did my best to covert the logic, but still have > > not done so successfully. I'd LOVE to see a simpler interface to vorbis > > decoding, something that takes in vorbis data and spits out PCM data would > > be most excellent, and takes care of dealing with new ogg streams and > > possibly with callbacks for any new vorbis comments inserted into the > stream... > > > >Err.. libvorbisfile. That's a _very_ simple interface, and it's been there >since well before beta1. You don't have callbacks on new streams, but you do >get notified of them so you can take whatever action you need from your main >read loop. There are callbacks for providing data (so you can pull data off >the network instead of reading from files). > >Michaelah...right...guess I must have missed that part about the callbacks for providing data when looking at that lib....ah well...can't see the forest thru the trees I guess.... thanks Mike for the pointer.. oddsock>--- >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.<p><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-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.