[vorbis-dev] OGG file problem
Dimitry Andric
dim at xs4all.nl
Wed Dec 19 17:54:20 PST 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2001-12-20 at 02:16:30 Brian Hook wrote:
BH> I'm using RC1 (I think) and two of my WAV files seem to cause a
BH> hang in the OV decompressor (infinite loop). Specifically,
BH> ov_read() returns 0 when trying to parse the raw memory bytes. It
BH> only does this with two files out of about a dozen, all encoded
BH> with oggenc.
I've looked (eh, listened :) to your files, and the problem with them
is that they are too short for vorbisfile (at least the RC2 version).
Even the NullSoft WinAmp plugin chokes on them, since it also seems to
be based on vorbisfile. :)
I ran into this problem some time ago, because I was processing very
short sound effects for a game, see:
http://www.xiph.org/archives/vorbis-dev/200108/0243.html
I then got a reply from Monty, where he explained that it's a bug in
vorbisfile, and it will be fixed the next RC:
http://www.xiph.org/archives/vorbis-dev/200109/0036.html
Since then, people have been quite busy on RC3, but I haven't seen a
(simple) fix for this vorbisfile problem yet. :(
To fix my problem at that time (needed to release a product ASAP), I
reverted to using the lower level ogg & vorbis primitives, as
demonstrated in the decoder_example. This worked fine for me, even
with the shortest sound fragments. It is somewhat more cumbersome,
however.
Cheers,
- --
Dimitry Andric <dim at xs4all.nl>
PGP Key: http://www.xs4all.nl/~dim/dim.asc
Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3
Lbh ner abj va ivbyngvba bs gur QZPN
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i
Comment: http://www.gn.apc.org/duncan/stoa_cover.htm
iQA/AwUBPCE2xLBeowouIJajEQK41gCfSVx8PP3GQ/J14GYfe+6wGBDYsfQAnj0U
6hp2TqCtUC71YuTj7ljPzOsN
=wkq1
-----END PGP SIGNATURE-----
--- >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