Mirror of opus
Find a file
Jean-Marc Valin 222494f3ea Adds a floating-point API to Opus
The high-level Opus encoder and decoder can now be compiled as
either fixed or float. Also, we now use the stack_alloc.h macros
in the top-level Opus code.
2011-08-17 15:53:37 -04:00
doc Date change on the draft 2011-08-16 23:32:20 -04:00
libcelt Adds a floating-point API to Opus 2011-08-17 15:53:37 -04:00
silk In silk_dec_API.c a memcpy was blindly copying data of differing types (opus_int16[2] to opus_int[2]). 2011-08-15 18:22:32 -04:00
src Adds a floating-point API to Opus 2011-08-17 15:53:37 -04:00
win32 Renamed celt_word* to opus_val* 2011-07-29 18:59:12 -04:00
.gitignore gitignore update 2010-07-03 09:28:15 -04:00
AUTHORS Leaving just libcelt 2011-04-28 15:06:25 -04:00
autogen.sh Tell automake to put object files in subdirectories. 2011-08-02 11:43:43 -07:00
celt_headers.txt Rename libcelt/static_modes_(fixed|float).c to .h to better reflect 2011-08-02 17:13:06 -04:00
celt_sources.mk Fixes the build of the draft 2011-04-28 16:41:47 -04:00
ChangeLog Leaving just libcelt 2011-04-28 15:06:25 -04:00
configure.ac Adds a fuzzing mode that causes the encoder to make random decisions 2011-08-11 16:48:05 -04:00
COPYING Fixes a bunch of valgrind errors when decoding random junk 2011-07-05 13:33:45 -04:00
INSTALL Leaving just libcelt 2011-04-28 15:06:25 -04:00
LICENSE_PLEASE_READ.txt Update licensing file with current IPR disclosures; remove outdated Skype text. 2011-08-16 00:07:44 -04:00
Makefile.am Adds a test_repacketizer tool and fixes a few of the bugs in the repacketizer 2011-08-10 09:47:30 -04:00
Makefile.draft Makefile fixes 2011-08-02 08:13:42 -04:00
NEWS Leaving just libcelt 2011-04-28 15:06:25 -04:00
opus.sln Squashed commit of the following: 2011-05-19 17:17:44 -04:00
opus_headers.txt fix autotools build, bump version number 2011-07-09 09:42:12 -04:00
opus_sources.mk Repacketization code (untested) 2011-08-10 08:54:49 -04:00
README Updated README files to reflect current output of tool and tweaked punctuation and wording. Corrected typo in test_opus ("constraint"->"constrained"). 2011-08-16 00:07:44 -04:00
README.draft Updated README files to reflect current output of tool and tweaked punctuation and wording. Corrected typo in test_opus ("constraint"->"constrained"). 2011-08-16 00:07:44 -04:00
silk_headers.txt fix autotools build, bump version number 2011-07-09 09:42:12 -04:00
silk_sources.mk Makefile fixes 2011-08-02 08:13:42 -04: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
% make

To build from the git repository, the following steps are necessary:

1) Clone the repository:

% git clone git://git.opus-codec.org/opus.git
% cd opus

1) Compiling

% ./autogen.sh
% ./configure
% make


Once you have compiled the codec, there will be a test_opus executable in
the src/ directory.

Usage: ./test_opus [-e | -d] <application (0/1)> <sampling rate (Hz)> <channels 
(1/2)> <bits per second>  [options] <input> <output>

mode: 0 for VoIP, 1 for audio:
options:
-e                   : only runs the encoder (output the bit-stream)
-d                   : only runs the decoder (reads the bit-stream as input)
-cbr                 : enable constant bitrate; default: variable bitrate
-cvbr                : enable constrained variable bitrate;
                       default: unconstrained
-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
-forcemono           : force mono encoding, even for stereo input
-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)