Mirror of opus
Find a file
Gregory Maxwell 16b25e908a Eliminate the last non-static pointer from the LPC-mode encoder structures.
The API permits the caller to freely copy the codec state on their
own, but this can't work if there are any any position dependant pointers
in the codec state.
2011-09-06 23:22:01 -04:00
doc Rotation wip 2011-09-06 08:03:38 -04:00
libcelt s/OPUS_CORRUPTED_DATA/OPUS_INVALID_PACKET/ 2011-09-06 14:30:19 -04:00
silk Eliminate the last non-static pointer from the LPC-mode encoder structures. 2011-09-06 23:22:01 -04:00
src Sanitize input to opus_en/decoder_get_size. 2011-09-06 16:38:25 -04:00
win32 Adds many syntactically unnecessary parentheses to silence GCC -Wparentheses. 2011-08-30 20:16:23 -04:00
.gitignore Fix dump_modes for the api change and move it into a subdirectory 2011-09-01 14:17:26 -04:00
AUTHORS missing files 2011-02-14 21:18:08 -05:00
autogen.sh Tell automake to put object files in subdirectories. 2011-08-02 11:43:43 -07:00
celt_headers.txt Fix tarball builds. 2011-09-02 17:28:06 -04:00
celt_sources.mk Fixes the build of the draft 2011-04-28 16:41:47 -04:00
ChangeLog Build update 2010-07-08 11:52:49 -04:00
configure.ac Fix the 'distclean' target. 2011-09-03 16:34:51 -07:00
COPYING Fixes a bunch of valgrind errors when decoding random junk 2011-07-05 13:33:45 -04:00
INSTALL draft update, instructions 2010-07-08 13:40:07 -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 Fix the 'distclean' target. 2011-09-03 16:34:51 -07:00
Makefile.draft Use alloca() for dynamic storage in the draft makefile. 2011-09-03 15:58:57 -07:00
NEWS Build update 2010-07-08 11:52:49 -04:00
opus-uninstalled.pc.in Add pkg-config support files. 2011-08-28 15:33:14 -04:00
opus.pc.in Add pkg-config support files. 2011-08-28 15:33:14 -04:00
opus.sln Squashed commit of the following: 2011-05-19 17:17:44 -04:00
opus_headers.txt Adds support for multi-stream encoding/decoding 2011-08-27 01:15:43 -04:00
opus_sources.mk Adds support for multi-stream encoding/decoding 2011-08-27 01:15:43 -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)