[opus] OPUS encoding mono sine wave

Tristan Matthews tmatth at videolan.org
Tue Aug 2 16:01:43 UTC 2016


On Tue, Aug 2, 2016 at 11:41 AM, Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:
> On 02/08/16 10:59 AM, Kolesov, Alexander wrote:
>>   opus_demo -e audio 48000 1 2min_1kHz_Sine_16bit_48kHz.wave
>>  2min_1kHz_Sine_16bit_48kHz.opus_raw
>
> You're missing the "bitrate" argument to opus_demo... Though I'm
> surprised it didn't complain about it.

Works for me, even without the bitrate argument. Note that encoding
with opus_demo outputs a raw opus bitstream, and that decoding that
same bitstream with opus_demo will produce a raw PCM file. You can
import raw PCM into Audacity, for example.

Best,
Tristan


More information about the opus mailing list