Ok, thanks for your answers, they've been all very helpfull.<br><br>But <br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">"currently the codebook is constant over all of the encoded files. It's an average case codebook, statically compiled against a typical training set of tracks,"<br>
</blockquote><br>actually poses me a new question, of a more _philosophical_ nature. If the codebooks are obtained in that way, why don't just say "I'm using codebook N" instead of packing the whole codebook within the setup header? I suppose the reason is to let people create their own codebooks (may be specialized in some specific kind of audio) and therefore obtain standalone audio files. Am I right?<br>
<br>Thank you again.<br><br>Jesús<br><br><div class="gmail_quote">On Sun, Aug 16, 2009 at 11:15 PM, Gregory Maxwell <span dir="ltr"><<a href="mailto:gmaxwell@gmail.com">gmaxwell@gmail.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 class="im">On Sun, Aug 16, 2009 at 3:58 PM, Sampo Syreeni<<a href="mailto:decoy@iki.fi">decoy@iki.fi</a>> wrote:<br>
> On 2009-08-16, Ralph Giles wrote:<br>
><br>
>> In the libvorbisenc implementation the codebooks are pre-generated<br>
>> based on training data, and a set are selected based on the quality<br>
>> setting.<br>
><br>
> Or in other words, while Vorbis allows variable codebooks, currently the<br>
> codebook is constant over all of the encoded files. It's an average case<br>
> codebook, statically compiled against a typical training set of tracks,<br>
> not something that is adapted separately to each and every encoded<br>
> track. Adapting the codebook on the fly would be something of a research<br>
> challenge.<br>
<br>
</div>Adjusting the huffman tables on the fly, OTOH, would be pretty<br>
straight forward. But there are downsides... like the inability to<br>
simply convert chained streams into non-chained ones. The savings is<br>
pretty small too.<br>
_______________________________________________<br>
Vorbis-dev mailing list<br>
<a href="mailto:Vorbis-dev@xiph.org">Vorbis-dev@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/vorbis-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/vorbis-dev</a><br>
</blockquote></div><br>