[vorbis] converting WAV to ogg

Jeremy C. Reed reed at reedmedia.net
Fri Mar 9 13:41:57 PST 2001



I am trying to convert some a few WAV files to ogg format (using
vorbis-tools-1.0beta4 oggenc).

I tried:

 $ oggenc -o nash.ogg nash.wav 
 ERROR: Wav file is unsupported subformat (must be 16 bit PCM
 or floating point PCM
 ERROR: Input file "nash.wav" is not a supported format

And:
 splay -d - nash.wav | oggenc -r -o nash.ogg -

The resulting file when played with ogg123 played so fast I couldn't
understand it.

For example, the wav playing normally:
 real    0m30.018s
 user    0m0.021s
 sys     0m0.011s

And the ogg version:
 real    0m3.826s
 user    0m0.564s
 sys     0m0.013s

What is PCM?

What are some (Unix command-line) tools to decode WAV files to the raw
format that oggenc can use?

Any other ideas?

   Jeremy C. Reed
   http://www.reedmedia.net/

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