Is there any dump utility that exists for vorbis streams?
What I am intersted in is something that will do a break down like:
How many bits are used for encoding _each_ codebooks, how many bits are
used for the residue, how much is used for the lpc coefficints. A
selective dump of the codebooks themselves would be nice too of course.
I'm wondering if anyone has such a little dump utility.
Addi
--- >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@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.
I added wrappers and such to the oggpack_read* routines in libvorbis. This is decoder_example being run on an ogg encoded file (which was encoded using long blocks only). $ vorbinfo < /u01/addi/vorbis/data/tt/34/128L/bass47_1.ogg > /dev/null Bitstream is 2 channel, 44100Hz Encoded by: Xiphophorus libVorbis I 20010225 Done. counters: unknown[0]: 0 unkbook[1]: 63793 lpcdata[2]: 189360 resdata[3]: 2544635 infdata[4]: 5741 total: 2803529 bits $ perl -wle 'print 8*-s shift' /u01/addi/vorbis/data/tt/34/128L/bass47_1.ogg 2842792 $ perl -wle 'print 2842792/2803529' 1.01400484888867A I've observed the files to be about 1.3 - 1.9 percent bigger than the bits I count so I guess that is framing overhead. Do this seem plausible to everyone? If someone wants the code then email for it. It's horribly written and ugly as hell (since I don't know if any routine is guaranteed to be called first all wrappers check if they are the first one to be called). -- Arnar. On Mon, 16 Apr 2001, Arnar Mar Hrafnkelsson wrote:> Is there any dump utility that exists for vorbis streams? > > What I am intersted in is something that will do a break down like: > > How many bits are used for encoding _each_ codebooks, how many bits are > used for the residue, how much is used for the lpc coefficints. A > selective dump of the codebooks themselves would be nice too of course. > > I'm wondering if anyone has such a little dump utility. > > > Addi > > > --- >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@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Is it possible to get the commandline parameters used for training the
floor data for Beta4? I've got the training data by defining TRAIN_LSP
and recompiling the trick is what paramters I should pass to lspvqtrain
$ ./lspvqtrain
OggVorbis LSPdata VQ codebook trainer
<foo>vqtrain vqfile [options] [datasetfile] [datasetfile]
options: -p[arams] <entries,dim,quant>
-s[ubvector] <start[,num]>
-e[rror] <desired_error>
-i[terations] <maxiterations>
-d[istance] quantization mesh spacing for density limitation
-b <dummy> eliminate cell size biasing; use normal LBG
-c <dummy> Use centroid (not median) midpoints
examples:
train a new codebook to 1% tolerance on datafile 'foo':
xxxvqtrain book -p 256,6,8 -e .01 foo
(produces a trained set in book-0.vqi)
continue training 'book-0.vqi' (produces book-1.vqi):
xxxvqtrain book-0.vqi
add subvector from element 1 to <dimension> from files
data*.m to the training in progress, prodicing book-1.vqi:
xxxvqtrain book-0.vqi -s 1,1 data*.m
In the basic example given it's simple to use, but I want to be able to
come close to reproducing the books as they are in beta4. I have no idea
if those additional steps have been performed. Also what does subvector
do?
-- Arnar
--- >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@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.