Thanks. I built the beta 4 encoder and was able to run through a good bit of the decoder code that I hadn't yet been able to benchmark.<br><br>One thing I noticed is that this version of the encoder uses a lot more memory; particularly in the codebooks. Overall, supporting files from beta 4 requires at least another 50k of memory. I haven't benchmarked this across encoding rates or larger files so I can't say if it will grow beyond that. Most of this goes to dec_table as well as the ogg buffers that hold data read in in a frame (at init time, not decode time - that seems to be the same).<br>
<br>I have a few questions:<br><br>1. Does anyone know when the encoder started using less memory/acting like the latest release from a memory usage perspective?<br>2. Are there other known spikes in memory usage with some encoders that a static memory allocation system would have to worry about?<br>
3. Was beta 4 commonly used to encode files? Is it safe to ignore audio encoded this long ago?<br>4. Is there somewhere where I can grab win32 binaries of all the vorbis encoder releases? It's a bit of a pain needing to rebuild from source, especially if I need to benchmark memory usage against all encoder releases.<br>
<br>I'd really like to avoid needing to allocate all this extra memory for a very old encoder, but if there are a lot of ogg files out there then we're going to at least need to come up with some elegant solution. When is the earliest the decoder realizes that the input file is from beta 4? Is it when it captures the vendor name in _vorbis_unpack_comment()?<br>
<br><div class="gmail_quote">On Wed, Jan 28, 2009 at 1:17 PM, Peter Harris <span dir="ltr"><<a href="mailto:pharris@opentext.com" target="_blank">pharris@opentext.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Ethan Bordeaux wrote:<br>
> Lastly, what version of the Ogg encoder uses floor0?<br>
<br>
</div>Beta 4 and older.<br>
<br>
Actually, I think RC1 didn't change the encoder from Beta 4, only the<br>
decoder. But it was long enough ago (2001) that my memory is fuzzy.<br>
<br>
Peter Harris<br>
<font color="#888888">--<br>
Open Text Connectivity Solutions Group<br>
Peter Harris <a href="http://www.opentext.com/connectivity" target="_blank">http://www.opentext.com/connectivity</a><br>
Research and Development Phone: +1 905 762 6001<br>
<a href="mailto:pharris@opentext.com" target="_blank">pharris@opentext.com</a> Toll Free: 1 877 359 4866<br>
</font></blockquote></div><br>