[vorbis-dev] Test files for decoder implementation

Monty xiphmont at xiph.org
Thu Sep 19 17:21:38 PDT 2002



On Wed, Sep 18, 2002 at 02:17:46PM +0200, Tor-Einar Jarnbjo wrote:
> Hi,
> 
> I am trying to implement a Vorbis decoder in Java, and I have some 
> problems understanding the file-format specification included with 
> libvorbis. In the header description, there are a few obvious mistakes,

Please, inform us of any 'obvious mistakes'.

> which I believe to have solved, but when I try to decode the audio 
> packets, the decoded floor and residue data doesn't seem to make 
> sense at all, and after a few packets, my decoder is out of sync 
> with the bitstream.

Packet extraction and packet decode are decoupled in Ogg; completely
losing packet sync is an indication your page decode is incorrect, at
which point trying to decode the incorrectly extracted packets is a
futile exercise.

As for 'test files', no we don't have an official set.  For the most
part, out debugging strategy is to use diagnostic output from the
encoder and match that to diagnotic output from the decode.

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 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-dev mailing list