oggdec(1) | Vorbis Tools | oggdec(1) |
oggdec - simple decoder, Ogg Vorbis file to PCM audio file (Wave or RAW).
oggdec [ -Qhv ] [ -b bits_per_sample ] [ -e endianness ] [ -R ] [ -s signedness ] [ -o outputfile ] file ...
oggdec decodes Ogg Vorbis files into PCM-encoded ("uncompressed") audio files, either Wave or RAW format.
For each input file, oggdec writes to a filename based on the input filename, but with the extension changed to ".wav" or ".raw" as appropriate.
If the input file is specified as - , then oggdec will read from stdin, and write to stdout unless an output filename is specified. Likewise, an output filename of - will cause output to be to stdout.
Writing Wave format to stdout is a bad idea. Wave requires a seekable medium for the header to be rewritten after all the data is written out; stdout is not seekable.
Decode a file enabler.ogg to enabler.wav
as little-endian unsigned 16-bit (default options):
Decode a file enabler.ogg to enabler.raw as headerless little-endian unsigned 16-bit:
Decode enabler.ogg to enabler.crazymonkey as unsigned 8-bit:
Decode enabler.ogg to enabler.raw as big-endian signed 16-bit (any of the following):
Mass decoding (foo.ogg to foo.wav, bar.ogg to bar.wav, quux.ogg to quux.wav, etc.):
Michael Smith <msmith@xiph.org>
Frederick Lee <phaethon@linux.ucla.edu>, assisted by a few million monkeys armed with keyboards in irc://irc.openprojects.net/#vorbis
ogg123(1), oggenc(1), vorbiscomment(1), flac(1), speexdec(1)
2008 September 9 | Xiph.Org Foundation |