Mirror of opus
Find a file
Jean-Marc Valin fa869134da draft update
2011-03-31 02:29:23 +02:00
celt@d25dd2bff9 draft update 2011-03-31 02:29:23 +02:00
doc draft update 2011-03-31 02:29:23 +02:00
silk@0d73d676d7 Project files update 2011-03-18 01:30:36 -04:00
src draft update 2011-03-31 02:29:23 +02:00
win32 Win32 config.h 2011-02-14 23:14:23 -05:00
.gitmodules Added SILK submodule 2010-06-29 23:40:56 -04:00
AUTHORS missing files 2011-02-14 21:18:08 -05:00
autogen.sh Build fixes 2011-03-23 06:51:36 -04:00
celt_headers.txt file list update 2011-02-03 12:34:02 -05:00
celt_sources.mk Update Opus range coder due to CELT refactoring. 2011-02-03 22:32:27 -05:00
ChangeLog Build update 2010-07-08 11:52:49 -04:00
configure.ac Making mode switching use the same window as CELT (squared) 2011-03-21 13:53:40 -04:00
COPYING Minor draft distribution update 2011-03-09 13:24:24 -05:00
INSTALL draft update, instructions 2010-07-08 13:40:07 -04:00
LICENSE_PLEASE_READ.txt Licensing stuff 2010-07-06 20:51:46 -04:00
Makefile.am missing files 2011-02-14 21:18:08 -05:00
Makefile.draft Draft Makefile update 2011-03-09 14:15:32 -05:00
NEWS Build update 2010-07-08 11:52:49 -04:00
opus.sln missing files 2011-02-14 21:18:08 -05:00
opus_headers.txt Header list 2011-02-03 12:31:20 -05:00
opus_sources.mk A simpler build system for the draft 2011-02-03 11:34:11 -05:00
README Minor draft distribution update 2011-03-09 13:24:24 -05:00
README.draft Draft Makefile update 2011-03-09 14:15:32 -05:00
silk_headers.txt Updating the build of the draft and adding fixed-point support 2011-03-09 11:42:15 -05:00
silk_sources.mk Updating the build of the draft and adding fixed-point support 2011-03-09 11:42:15 -05:00

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)