Mirror of opus
Find a file
2011-09-26 23:58:23 -04:00
celt Avoiding more left shifts of negative values 2011-09-25 00:11:46 -04:00
doc Draft clean-ups and additions. 2011-09-26 23:58:23 -04:00
silk Making the left shift macros use unsigned to avoid undefined behaviour 2011-09-23 13:08:04 -04:00
src Fixes a decoder overflow on random input 2011-09-23 13:05:22 -04:00
win32 Adds many syntactically unnecessary parentheses to silence GCC -Wparentheses. 2011-08-30 20:16:23 -04:00
.gitignore renames the libcelt/ directory to celt/ 2011-09-13 18:21:18 -07: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 renames the libcelt/ directory to celt/ 2011-09-13 18:21:18 -07:00
celt_sources.mk renames the libcelt/ directory to celt/ 2011-09-13 18:21:18 -07:00
ChangeLog Build update 2010-07-08 11:52:49 -04:00
configure.ac Documentation and build script updates. 2011-09-15 11:33:18 -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 Moves opus_compare to the same base64 tar.gz as the rest of the code 2011-09-15 10:10:40 -07:00
Makefile.draft Some fixes for C89 builds. 2011-09-19 15:56:48 -04:00
NEWS Build update 2010-07-08 11:52:49 -04:00
opus-uninstalled.pc.in renames the libcelt/ directory to celt/ 2011-09-13 18:21:18 -07:00
opus.pc.in Add pkg-config support files. 2011-08-28 15:33:14 -04:00
opus.sln renames the libcelt/ directory to celt/ 2011-09-13 18:21:18 -07: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 Documentation updates. 2011-09-09 17:11:43 -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 Removed all the silk_ prefixes in source file names (not symbols) 2011-09-16 01:16:53 -07:00
silk_sources.mk Removed all the silk_ prefixes in source file names (not symbols) 2011-09-16 01:16:53 -07: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 top directory.

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

mode: voip | audio | restricted-lowdelay
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) or opus bitstreams
with simple test_opus propritary framing.