mirror of
https://github.com/xiph/opus.git
synced 2025-05-28 06:09:15 +00:00
Mirror of opus
celt@6f6e8b3984 | ||
doc | ||
silk@20832a6c95 | ||
src | ||
win32 | ||
.gitmodules | ||
AUTHORS | ||
autogen.sh | ||
celt_headers.txt | ||
celt_sources.mk | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
LICENSE_PLEASE_READ.txt | ||
Makefile.am | ||
Makefile.draft | ||
NEWS | ||
opus.sln | ||
opus_headers.txt | ||
opus_sources.mk | ||
README | ||
README.draft | ||
silk_headers.txt | ||
silk_sources.mk |
This is a prototype codec and for now it has limited functionality. To build from a distribution tarball, you only need to do the following: % ./configure --disable-shared % make To build from the git repository, the following steps are necessary 0) Clone the repository: % git clone git://git.xiph.org/users/jm/ietfcodec.git % cd ietfcodec 1) Get the celt and silk submodules: % git submodule update --init 2) Compiling % ./autogen.sh % ./configure --disable-shared % make Once you have compiled the codec, there will be a test_opus executable in the src/ directory. This can be in the following way: % ./test_opus <mode (0/1/2)> <sampling rate (Hz)> <channels> <bits per second> [options] <input> <output> mode: 0 for audo, 1 for voice, 2 for audio: options: -cbr : enable constant bitrate; default: VBR -bandwidth <NB|MB|WB|SWB|FB> : audio bandwidth (from narrowband to fullband); default: sampling rate -framesize <2.5|5|10|20|40|60> : frame size in ms; default: 20 -max_payload <bytes> : maximum payload size in bytes, default: 1024 -complexity <comp> : complexity, 0 (lowest) ... 10 (highest); default: 10 -inbandfec : enable SILK inband FEC -dtx : enable SILK DTX -loss <perc> : simulate packet loss, in percent (0-100); default: 0 input and output are 16-bit PCM files (machine endian)