[vorbis] retrieving "instant" bitrate without vo_open?
safemode
safemode at speakeasy.net
Sat Sep 22 17:31:00 PDT 2001
ok, I'm aware that vo_open cant be used at the same time as other functions
such as ogg_sync_wrote, ogg_sync_pageout, ogg_stream_pagein,
ogg_stream_packetout and vorbis_synthesis_headerin. In order to get
information from the bitstream i've been using this method because it's fast
and doesn't require decoding of the stream. But, i can only retrieve the
average bitrate of the ogg stream with the vorbis_info struct. I tried using
vo_open but could only retrieve garbage values and it's because i basically
dont know how to use it to do the same thing i'm doing here.
All i need to do is traverse the entire bitstream, take each packet and look
at it's individual bitrate. Can i do this without vo_open or is there a way
to use vo_open and the ogg functions i've listed above ? I'm not aware of
any way to set the vorbis_file struct to the current packet without at least
using vo_open and doing that ruins the ogg functions in my tests.
--- >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-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
mailing list