[opus] OPUS encoding mono sine wave

Kolesov, Alexander
Tue, 02 Aug 2016 16:29:55 -0000

Jean-Mark,

Yes, you are right with the "bitrate" parameter should be in the
command line, it works with it.
The "opus_demo" utility does not complain about the absence of this
parameter in the command line, since I was able to encode multiple audio files
without it I was under impression that this parameter is optional with a default
value assigned in "opus_demo".
Thank you for your help.

     Alexander.

-----Original Message-----
From: Jean-Marc Valin [mailto:jmvalin at jmvalin.ca]
Sent: Tuesday, August 02, 2016 11:42 AM
To: Kolesov, Alexander <Alexander.Kolesov at echostar.com>; opus at
xiph.org
Subject: Re: [opus] OPUS encoding mono sine wave

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.

	Jean-Marc