On Tue, Mar 06, 2007 at 06:51:10PM -0500, Dave.Stehlik@CriticalLink.com wrote:
> I'm looking at vorbis for sending live audio over a network. This
would probably
> be
> running on an embedded system (some challenges there, but that's ok).
> I've used the encoder example to get things compiling/running with
sample data,
> but it seems to file based. Is there an example for streaming live audio?
The examples write to a file, but they don't seek, so you can write to a
network stream as well.
Take a look at oggfwd or exstream for examples:
http://icecast.org/ezstream
http://v2v.cc/~j/ffmpeg2theora/oggfwd/
Or the libshout library, if you're writing your own application:
http://downloads.xiph.org/releases/libshout/
> A secondary problem I may be running into is the amount of time to encode.
> I'll look into that next, but if there are any tips I'd appreciate
it.
The reference encoder is floating point, so performance is often an
issue on embedded devices.
Hope that helps,
-r