这是只读镜像,开发在 GitLab 上进行,不要在此仓库提 PR;安装步骤需另见 INSTALL 文件,README 未给出具体依赖
% speexenc [options] input_file.wav compressed_file.spx
% speexdec [options] compressed_file.spx output_file.wavREADME 未说明
免专利的开源语音编解码器,专为 2-45 kbps 低码率语音压缩设计
Speex 语音编解码器,用于低带宽语音压缩与解压,适合 VoIP 和语音通信场景。
核心能力
- 在 2-45 kbps 码率范围内压缩语音
- 免专利,可自由用于 VoIP 等场景
- 提供 speexenc 命令行工具编码 WAV 为 spx
- 提供 speexdec 命令行工具解码 spx 为 WAV
- 与 Ogg Vorbis 互补,专注语音而非音乐
容易踩的坑
- Speex-1.2.1最新正式版2022-06-17 · 2022-06-17 21:22 UTC
- Check for _WIN32 instead of WIN32 in preprocessor checks
- wav_io: check for EOF when seeking in wav (fixes hang discovered by fuzzing, see https://github.com/xiph/speex/issues/9)
- CI: add gitlab CI integration
- fixed-point: make left shift macros use unsigned to avoid undefined behaviour
- math_approx: use unsigned int for LCG pseudorandom generator (avoids integer overflow)
- oss-fuzz: add integration and fuzzing target
- speexenc: guard against invalid channel numbers (see https://github.com/xiph/speex/issues/13)
- speexdec: make left shift macros use unsigned to avoid undefined behaviour
- autotools: do not use deprecated macros
Thanks to Ralph Giles, Martin Storsjo, Luca Barbato, Michael Fink, Tyson Smith and orbea for your contributions.
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
See INSTALL file for instruction on how to install Speex.
The Speex is a patent-free, Open Source/Free Software voice codec. Unlike other codecs like MP3 and Ogg Vorbis, Speex is designed to compress voice at bitrates in the 2-45 kbps range. Possible applications include VoIP, internet audio streaming, archiving of speech data (e.g. voice mail), and audio books. In some sense, it is meant to be complementary to the Ogg Vorbis codec.
To use the Speex command line tools:
% speexenc [options] input_file.wav compressed_file.spx
% speexdec [options] compressed_file.spx output_file.wav