I think the example in the comment has a '-' that shouldn't be there (line 108): /********************************************************************* Encoding using a VBR quality mode. The usable range is -.1 (lowest quality, smallest file) to 1. (highest quality, largest file). Example quality mode .4: 44kHz stereo coupled, roughly 128kbps VBR ret = vorbis_encode_init_vbr(&vi,2,44100,-.4); ... also small typo line 70: #ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */ /* if we were reading/writing a file, it would also need to in binary mode, eg, 'fopen("file.wav","rb"); */ Vorbis 1.0 sounds great. Thanks for the great work everyone! Later, Alan <p>--- >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'm not sure if this is intended or broken (but the quality rocks anyway so I hardly mind) -- As I understand, if just a nominal bitrate is set, oggenc (or similar) would attempt to keep the bitrate hovering at approximately that value. Using Peter's latest beta 22 vorbis Plugin for WinAmp and oggenc 20020713 build, a -q6.6 22khz 16bit .wav comes to nominal 114, yet throughout the song it averages 127 visibly; the in-file report claims the file is 133kbit average. What is in error here? oggenc, for coding things too high, Peter's plugin for reporting weird again, or the file [src/dst] for being strange? Again, I hardly mind, but the numbers, while I understand they're meant to be general guidelines, seem a bit off. 15-25 kbit constant-high doesn't /seem/ to be in line with my understanding of what rates are supposed to be in any given situation. Re', -HJ <p>__________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com --- >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.
vorbis@fuchs.offl.uni-jena.de
2002-Jul-19 12:36 UTC
[vorbis-dev] confusing comment in encoder_example.c
HTML code: - missing quotes for attributes (not W3C conform): href="xxxxx" , not href=xxxxx . <p>- References are not relative (mirrored version can't be displayed locally). img="../ogg/images/bigogg-leftbar.gif" or img="../../ogg/images/bigogg-leftbar.gif" , not img="/ogg/images/bigogg-leftbar.gif" or img="http://www.xiph.org/ogg/images/bigogg-leftbar.gif" . <p> -- Frank Klemm PS: Download code via wget and try do view the documenation locally using URL file://... <p>--- >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.
vorbis@fuchs.offl.uni-jena.de
2002-Jul-19 12:55 UTC
[vorbis-dev] confusing comment in encoder_example.c
A list containing all necessary tools(tool + version number) for compiling should be published. The amount should be reduced to a absolutely necessary mininimum. Best would be if you only need a C compiler, whcih can be a C89 or a C99 compiler. Imagine you must compile the project in some years and before you can do this you must search for tools like EMS driver, 4DOS command line tool and thinggs like that. -- Frank Klemm <p>--- >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.
vorbis@fuchs.offl.uni-jena.de
2002-Jul-19 13:46 UTC
[vorbis-dev] confusing comment in encoder_example.c
Documentation should not contain "big magic tables" (we have enough of them in the MPEG docu), but how the tables are calculated, especially tables like in www.xiph.org/ogg/vorbis/doc/floor1_inverse_dB_table.html For not directly computable tables a compact respresentation should be used and explained how this table was developed. Example for huffman codes: // compact representation (bit length of every entry, due to the use of // canonic huffman codes the rest can be calculated from this table) const unsigned char _table1 [128] = { 12, 11, 10, 10, 10, ... }; typedef struct { uint32_t HuffmanCode; // Adjusted from Bit 31 downward to 32-UsedBits uint8_t UsedBits; int16_t EncodedValue; } Huffman_t; Huffman_t table1 [128]; -- Frank Klemm <p>--- >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.
Throughout the website there is mention of vorbis supporting very low bitrates (down to 8kbps mono) but the lowest I am able to get the encoder library to go is roughly 24kbits, which I get to by handing in an 11 kHz mono wav into the encoder and asking it for a 16 kbit bitrate (asking for 8 kbits fails): ret = (vorbis_encode_setup_managed(&vi,1,sample_rate,-1,bitrate,-1) || vorbis_encode_ctl(&vi,OV_ECTL_RATEMANAGE_AVG,NULL) || vorbis_encode_setup_init(&vi)); A 2-second input file yields a 6.5kByte file, which is 6.5/2 * 8 = 26kbit/sec How do I get the encoder to go even lower? I'd really like to explore the absolute bottom of the available bitrates. Thanks, -Frank <p>--- >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.
On Mon, Jul 15, 2002 at 11:25:21AM -0400, Alan MacDonald wrote:> I think the example in the comment has a '-' that shouldn't be there (line > 108): > > /********************************************************************* > Encoding using a VBR quality mode. The usable range is -.1 > (lowest quality, smallest file) to 1. (highest quality, largest file). > Example quality mode .4: 44kHz stereo coupled, roughly 128kbps VBR > > ret = vorbis_encode_init_vbr(&vi,2,44100,-.4);You're correct, thank you for the catch. Monty --- >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.