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

Daniel Phillips phillips at bonn-fries.net
Thu May 11 01:31:36 PDT 2000



On Thu, 11 May 2000, you wrote:
> >
> > Same problem.  My command:
> > 
> >   cat ~/linus.wav | ./encoder_example | ./decoder_example >foo 
> 
> The linus.wav you sent was some odd non-PCM wav.  No util I pointed at it could
> read it.  Xaudio claimed it might be an MPEG-2 layer 1 file, but played it as
> noise.
> 
> However, treating it as random noise binary data, I ran the above command 
> line, exactly as you typed it, successfully.
> 
> Could you perhaps be attempting this under Windows?  I wonder if a windows 
> porter forgot to set stdin/stdout to binary mode (by default they'll be text 
> mode and the translation will destroy the bitstream).

I can hear Linus talking just by typing:

  cat linus.wav >/dev/audio

with a little glitch at the beginning where the wav header is.

I also unpacked the linus.wav that got sent back to me on the mailing list, and
it also plays fine.

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


-- 
Daniel

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




More information about the Vorbis-dev mailing list