Mirror of opus
Find a file
2011-09-02 19:31:08 -04:00
doc Some doc on spreading 2011-09-02 18:47:13 -04:00
libcelt Avoid left-shift by 32 on int32 in ectest. 2011-09-02 19:31:08 -04:00
silk Corrects many places where int was used where opus_int32 was needed. 2011-09-02 12:16:22 -04:00
src Merge remote-tracking branch 'greg/master' 2011-09-02 17:23:22 -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 Various minor cleanups (removing dead arguments, macros) to libcelt/. Reinstate -Wunused-parameter. 2011-09-01 19:42:37 -04: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 tarball builds. 2011-09-02 17:28:06 -04:00
Makefile.draft Makefile fixes 2011-08-02 08:13:42 -04: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)