[opus] Regarding opus audio codec's build & run

Jean-Marc Valin jmvalin at jmvalin.ca
Mon Mar 4 06:40:01 PST 2013


Hi,

I see at least two things you're doing wrong:

1) opus_demo is not designed to handle wav files, but raw 16-bit
little-endian PCM.

2) opus_demo outputs files that are not compatible with opusenc/opusdec.
Use of opus_demo is not recommended other than for testing purposes. Its
file format should not be used to distribute files.

	Jean-Marc

On 03/04/2013 09:32 AM, Deepthi Raychoti wrote:
> Hi,
> 
> I have downloaded the latest stable version *1.0.2 opus audio codec*
> from the following link:
> http://www.opus-codec.org/downloads/
> 
> *Details of OS & CPU:*
> OS    : Microsoft Windows XP
> CPU  :  intel core 2 Duo cpu
> 
> I am using Microsoft visual C++ 2010 Express to build the codec
> (opus.vcxproj available in the package downloaded). I am able to build
> it & could generate the application opus_demo.exe.
> 
> With this executable, I tried to encode 'input_48k.wav" file with the
> below command & "input_48k.opus" file got generated.Please check the
> attached folder which contains input file,encoded file& decoded file.
> 
> *Encoder command line :   opus_demo -e audio 48000 2 94840 -cbr
> input_48k.wav input_48k.opus*
> 
> Similarly, I tried to decode "input_48k.opus" file with the below
> command line. I am getting noisy output here.
> *
> Decoder command line :   opus_demo -d 48000 2 input_48k.opus
> input_48k_decoded.wav
> *
> 
> *Experiments done:
> *
> I have downloaded opus tools  opus-tools-0.1.6-win32.zip
> <https://ftp.mozilla.org/pub/mozilla.org/opus/win32/opus-tools-0.1.6-win32.zip>
> from http://www.opus-codec.org/downloads/ link.
> With the available executables in this folder (opusenc.exe ,
> opusdec.exe) , I am able to get noise free output.
> 
> *Case 1:  checking the codec's encoder:*
> 
> With the codec's encoded "*input_48k.opus*" file as input,I have run
> Opus tool's decoder (which is working fine).
> With this, I am getting error message like "This doesn't look like a
> Opus file".
> 
> *Case 2:*  *checking the codec's decoder:*
> 
> With the tools's generated encoded output (opus file which is proper), I
> have run codec's decoder to generate the decoded output.
> It is not generating any output(0 bytes output).
> 
> Can you please help me here.
> 
> Regards,
> Deepthi
> 
> 
> _______________________________________________
> opus mailing list
> opus at xiph.org
> http://lists.xiph.org/mailman/listinfo/opus
> 



More information about the opus mailing list