1 .TH "oggdec" "1" "2008 September 9" "Xiph.Org Foundation" "Vorbis Tools"
4 oggdec - simple decoder, Ogg Vorbis file to PCM audio file (Wave or RAW).
26 decodes Ogg Vorbis files into PCM-encoded ("uncompressed") audio files, either Wave or RAW format.
30 writes to a filename based on the input filename, but with the extension changed to ".wav" or ".raw" as appropriate.
32 If the input file is specified as
36 will read from stdin, and write to stdout unless an output filename is specified. Likewise, an output filename of
38 will cause output to be to stdout.
40 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.
44 Suppresses program output.
48 Display version information.
50 Bits per sample. Valid values are 8 or 16.
51 .IP "-e n, --endian=n"
52 Set endianness for 16-bit output. 0 (default) is little-endian (Intel byte order). 1 is big-endian (sane byte order).
54 Output in raw format. If not specified, writes Wave file (RIFF headers).
56 Set signedness for output. 0 for unsigned, 1 (default) for signed.
57 .IP "-o filename, --output=filename"
58 Write output to specified filename. This option is only valid if one input [file] is specified, or if raw mode is used.
65 as little-endian unsigned 16-bit (default options):
74 as headerless little-endian unsigned 16-bit:
76 oggdec --raw=1 enabler.ogg
82 .B enabler.crazymonkey
85 oggdec -b 8 -s 0 -o enabler.crazymonkey enabler.ogg
92 as big-endian signed 16-bit (any of the following):
94 oggdec -R -e 1 -b 16 enabler.ogg
97 oggdec -R -e 1 -b 16 -o enabler.raw - < enabler.ogg
100 oggdec -R -e 1 -b 16 - < enabler.ogg > enabler.raw
103 Mass decoding (foo.ogg to foo.wav, bar.ogg to bar.wav, quux.ogg to quux.wav, etc.):
109 .SS "Program Authors"
110 Michael Smith <msmith@xiph.org>
111 .SS "Manpage Authors"
115 Frederick Lee <phaethon@linux.ucla.edu>, assisted by a few million monkeys armed with keyboards in irc://irc.openprojects.net/#vorbis
120 \fBogg123\fR(1), \fBoggenc\fR(1), \fBvorbiscomment\fR(1), \fBflac\fR(1), \fBspeexdec\fR(1)