speexenc (1) - Linux Manuals

speexenc: The reference implementation speex encoder.


speexenc - The reference implementation speex encoder.


speexenc [options] input_file output_file


Encodes input_file using Speex. It can read the WAV or raw files.

input_file can be:

wav file
Raw PCM file (any extension other than .wav)

output_file can be:

Speex file


-n, --narrowband
Narrowband (8 kHz) input file
-w, --wideband
Wideband (16 kHz) input file
-u, --ultra-wideband "Ultra-wideband" (32 kHz) input file
--quality n
Encoding quality (0-10), default 8
--bitrate n
Encoding bit-rate (use bit-rate n or lower)
Enable variable bit-rate (VBR)
--abr rate
Enable average bit-rate (ABR) at rate bps
Enable voice activity detection (VAD)
Enable file-based discontinuous transmission (DTX)
--comp n
Set encoding complexity (0-10), default 3
--nframes n
Number of frames per Ogg packet (1-10), default 1
Add the given string as an extra comment. This may be used multiple times
Author of this track
Title for this track
-h, --help
This help
-v, --version
Version information
Verbose mode (show bit-rate)

Raw input options:

--rate n
Sampling rate for raw input
Consider raw input as stereo
Raw input is little-endian
Raw input is big-endian
Raw input is 8-bit unsigned
Raw input is 16-bit signed

Default raw PCM input is 16-bit, little-endian, mono

More information is available from the Speex site: http://www.speex.org

Please report bugs to the mailing list `speex-dev [at] xiph.org'.


Copyright © 2002 Jean-Marc Valin