[vorbis-dev] Re: [vorbis] Problems running example encoder/decoder

Michael Smith msmith at labyrinth.net.au
Thu May 11 05:55:43 PDT 2000



At 02:53 AM 5/11/00 -0700, you wrote:
>
>> I can hear Linus talking just by typing:
>> 
>>   cat linus.wav >/dev/audio
>
>Ah, a WAV wrapper around 8kHz mulaw.
>
>> The compressor should compress arbitrary bit patterns successfully, even if
>> they don't make sense, I'm sure you agree.
>> 
>> Do I have a build problem here?  I'm running Mandrake 7, kernel 15, gcc
2.95.2,
>> and basically all I did wast ./configure; make
>
>You certainly shouldn't, unless you somehow got a dirty copy of CVS or a
dirty 
>build.  I assume you've tried the maximum safe build, ie, a completely fresh 
>checkout (not over an existing checkout) and a make from there, or at
least a 
>make clean;make if you've been doing incremental updates?
>
>If that solves nothing, it's time to break out a debugger and chase it.  I'm 
>happy to step through that with you.
>

I've noticed the error message that this thread started with a couple of
times (on linux, win32, and solaris - it's not a platform specific thing).
I hadn't seen it often, and I'd not gone to any effort to track it down
since I was (at the time) more interested in getting things basically
working, ignoring the hard cases. Then I forgot all about this.

Anyway, the error in question is "End of file before finding all Vorbis
headers!"
It does NOT appear to be related to the contents of the input file, only to
the length of the input file. 

For short files (the test I just did was with a 40k wav file (stereo,
16bit)), decoder_example fails. Things using vorbisfile appear to work,
though I wasn't actually getting any sound (probably just because the
sample ended up being too small, so winamp didn't output anything). The
minimum file length for it to work I haven't determined - a few seconds of
audio seems to be fine.

It looks like a bug in decoder_example. I'll try and track it down tomorrow
afternoon if nobody else has fixed it by that point.

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list