next up previous contents
Next: Programming with Speex (the Up: The Speex Codec Manual Previous: Speex wideband mode (sub-band   Contents

Subsections

Command-line encoder/decoder

The base Speex distribution includes a command-line encoder (speexenc) and decoder (speexdec).

speexenc

The encoder takes the following options:

-narrowband (-n)
Tells Speex to treat the input as narrowband (8 kHz). This is the default
-wideband (-w)
Tells Speex to treat the input as wideband (16 kHz)
-quality n
Set the encoding quality (0-10)
-vbr
Enable VBR (Variable Bit-Rate), disabled by default
-nframes n
Pack n frames in each Ogg packet (this saves space at low bit-rates)
-comp n
Set encoding speed/quality tradeoff. The higher the value of n, the slower the encoding (default is 3)
-V
Verbose operation, print bit-rate currently in use
-help (-h)
Print the help
-version (-v)
Pring version information

speexdec

The decoder takes the following options:

-enh
enable post-filter
-no-enh
disable post-filter (default)
-V
Verbose operation, print bit-rate currently in use
-help (-h)
Print the help
-version (-v)
Pring version information


next up previous contents
Next: Programming with Speex (the Up: The Speex Codec Manual Previous: Speex wideband mode (sub-band   Contents
Jean-Marc Valin 2002-08-27