Opus is an internet audio codec suitable for music and voice, real time and distribution. RFC 6716. https://opus-codec.org/

Jean-Marc Valin ec2802210c Removes code that became useless with the Opus-level highpass il y a 13 ans
doc 06237d7b8c Implements the OpusCustom modes (mostly) properly il y a 13 ans
libcelt 3870ddb665 Only export the CELT calls when CUSTOM_MODES is defined il y a 13 ans
silk ec2802210c Removes code that became useless with the Opus-level highpass il y a 13 ans
src ec2802210c Removes code that became useless with the Opus-level highpass il y a 13 ans
win32 d6335abedc Adds many syntactically unnecessary parentheses to silence GCC -Wparentheses. il y a 13 ans
.gitignore 6cd4e2cd01 Fix dump_modes for the api change and move it into a subdirectory il y a 13 ans
AUTHORS e7a2a03170 missing files il y a 14 ans
COPYING a0653ed1e7 Fixes a bunch of valgrind errors when decoding random junk il y a 13 ans
ChangeLog 63c325acf6 Build update il y a 14 ans
INSTALL 4468c75adb draft update, instructions il y a 14 ans
LICENSE_PLEASE_READ.txt 8891068b24 Update licensing file with current IPR disclosures; remove outdated Skype text. il y a 13 ans
Makefile.am 06237d7b8c Implements the OpusCustom modes (mostly) properly il y a 13 ans
Makefile.draft b2c00d2751 Makefile fixes il y a 13 ans
NEWS 63c325acf6 Build update il y a 14 ans
README 3269dcec2f Updated README files to reflect current output of tool and tweaked punctuation and wording. Corrected typo in test_opus ("constraint"->"constrained"). il y a 13 ans
README.draft 3269dcec2f Updated README files to reflect current output of tool and tweaked punctuation and wording. Corrected typo in test_opus ("constraint"->"constrained"). il y a 13 ans
autogen.sh 2852cb1486 Tell automake to put object files in subdirectories. il y a 13 ans
celt_headers.txt 63fd63d665 Rename libcelt/static_modes_(fixed|float).c to .h to better reflect il y a 13 ans
celt_sources.mk 79f303909a Fixes the build of the draft il y a 13 ans
configure.ac 06237d7b8c Implements the OpusCustom modes (mostly) properly il y a 13 ans
opus-uninstalled.pc.in 9f71309abe Add pkg-config support files. il y a 13 ans
opus.pc.in 9f71309abe Add pkg-config support files. il y a 13 ans
opus.sln 103302b375 Squashed commit of the following: il y a 13 ans
opus_headers.txt d4e9340591 Adds support for multi-stream encoding/decoding il y a 13 ans
opus_sources.mk d4e9340591 Adds support for multi-stream encoding/decoding il y a 13 ans
silk_headers.txt 3596fedb65 fix autotools build, bump version number il y a 13 ans
silk_sources.mk b2c00d2751 Makefile fixes il y a 13 ans

README

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] (1/2)> [options]

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 : 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 : maximum payload size in bytes, default: 1024
-complexity : 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 : simulate packet loss, in percent (0-100); default: 0

input and output are 16-bit PCM files (machine endian)