Opus codec is based on the IETF RFC 6716 standard. An opus-tools package provides encoding and decoding of Ogg encapsulated Opus files and includes many useful features. For more information, see Opus codec web page.
Git clone is the Opus codec repository for the libopus and test vectors.
Compile the source code by executing
/autogen.sh,./configure
, and make commands with necessary porting on to
the RISC-V architecture.
Install the codec libraries with make install.
To execute and get the throughput, compare the code with the following test vectors:
curl -OL
. See Opus codec test vectors.tar -zxf opus_testvectors-rfc8251.tar.gz
./tests/run_vectors.sh / opus_newvectors 48000
(execute test vectors with various sampling rates ranging from 8000, 12000, 16000,
24000, or 48000).