[vorbis-dev] Flushing audio

Eric Ross eross+vorbis-dev at disc.ucn.cl
Fri Sep 12 00:02:28 PDT 2003



On Fri, 12 Sep 2003, Michael Smith wrote:
> From your code previously posted: do the same up to (and including) the call 
> vorbis_analysis(&vblock, &ogg_pkt). Then, your ogg_pkt contains one ogg 
> packet - that's just the raw vorbis data. ogg_pkt.packet, of length 
> ogg_pkt.bytes. 
> 
> You'll need to recreate some of the framing information in ogg - but not all 
> of it. See the vorbis-over-RTP drafts for one way to do this.

Thanks :) I'll try it an soon as posible.

> This seems rather at odds with your previous assertion that you were doing 
> this for streaming over a LAN. Surely using such low bandwidth isn't really 
> neccesary there? And your whole approach is doomed to failure 

Well, i guess i can increse my bandwidth consumtion :P

> Anyway, at this low a bitrate, you'll find that your current use of ogg is 
> probably more than doubling your bitrate.

Yep, i already find out that half the traffic is headers. I know, this is 
the main reason i want to skip ogg completly.

> You'll also find that libvorbis cannot get particularly low-latency at this 
> sample rate. Around one second is likely to be the best you can do.

I'll try a higher rate. What about the quality ? Does it affect the 
libvorbis latency ?


-- 
The names of their development products, visual this, visual that, almost 
makes one think that you can create software just by looking at your computer

--- >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