[vorbis-dev] real-time encoder
Olaf Matthes
olaf.matthes at gmx.de
Wed Mar 6 04:43:21 PST 2002
Eric Liu schrieb / wrote:
> As I have remembered Ogg Vorbis can be used in realt-time case. Is it true?
Yes, that's true! I've made an Ogg Vorbis streaming external for pure-data (an
interactive audio processing environment, Mac equivalent would be Max/MSP from
Opcode / Cycling 74). Only CPU usage seems to be a bit high to me (15% on a 1.8
GHz machine running Win2k, 21% on a 400 MHz machine running the same system). But
this might be caused by the architecture of pure-data.
> However, I found those examples are file based. That means all vorbis engines
> are only used for one file and then will be released when finished. when the
> program exits, everything relevant with ogg will be reset by the OS.
Well, I can't help you with your problem but you might want to have a look at my
code. I use de-/reinitialisation of the encoder to change comment tags and encoder
settings (quality and the like) on the fly (i.e. while the stream is running).
To get the code, go to http://www.akustische-kunst.de/puredata/oggcast.html and
download the zip or tarball...
<p>Olaf
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list