Hi, I have found differences in quality between opus_demo and opusenc/opusdec. I used for both applications the same raw pcm file,16 bit,48khz,litle endian. i use libopus 1.1-beta and opus-tools-0.1.7. The command for opus_demo is: opus_demo audio 48000 1 64000 -cvbr -framesize 10 in.pcm out.pcm For opusenc/dec: opusenc --raw --raw-chan 1 bitrate 64 -cvbr --framesize 10 in.pcm in.opus opusdec in.opus out.pcm the PEAQ value for opus_demo is -0.152 and for opus-tools is -0.449 Should I expect the same quality or are opus_demo and opusenc/dec different by definition? Thanks, Quilino
Hello! I would like to ask if the decoder is completely finished and done, or if we can expect speed improvements in the future. Thank you.
I suspect the main difference is due to time alignment of the samples and the exact trimming at the beginning and at the end of the encoded files. I also note that there's a missing "--" in front of "bitrate" and only one "-" instead of two for cvbr in your opusenc command line. Make sure both are also linked to the same libopus (opusenc could be using the system libopus 1.0.x while opus_demo is from git). In the end, the quality should be almost the same, but the files won't be identical due to minor differences in the way the first and last frame are handled. Cheers, Jean-Marc On 10/15/2013 05:22 AM, Quilino Cifuentes wrote:> Hi, > I have found differences in quality between opus_demo and opusenc/opusdec. > > I used for both applications the same raw pcm file,16 bit,48khz,litle > endian. i use libopus 1.1-beta and opus-tools-0.1.7. > > The command for opus_demo is: > > opus_demo audio 48000 1 64000 -cvbr -framesize 10 in.pcm out.pcm > > For opusenc/dec: > > opusenc --raw --raw-chan 1 bitrate 64 -cvbr --framesize 10 in.pcm in.opus > > opusdec in.opus out.pcm > > the PEAQ value for opus_demo is -0.152 and for opus-tools is -0.449 > > Should I expect the same quality or are opus_demo and opusenc/dec > different by definition? > > Thanks, > Quilino > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus >
We're working on it. See http://xiph.org/~xiphmont/demo/opus/demo3.shtml (scroll to the end) for details. Jean-Marc On 10/15/2013 06:26 AM, Hermann Weber wrote:> Hello! > > I would like to ask if the decoder is completely finished and done, or > if we can expect speed improvements in the future. > > Thank you. > > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus >
Hi, I am interested in this part of the answer: "Make sure both are also linked to the same libopus (opusenc could be using the system libopus 1.0.x while opus_demo is from git)" I dowloaded a tarball distrib of libopus (1.1-beta),build and installed it,and afterwards did the same with opus-tools (0.1.7),using the former installed libopus library (also using libogg 1.3.1). When I execute opus-demo it says it uses libopus 1.1-beta; when I execute opusenc,it says "Encoding using libopus-1.1-beta". Should I assume that my installation is correct and that both utilities use my locally intalled version of libopus? Thanks, Quilino On 10/15/13, Jean-Marc Valin <jmvalin at jmvalin.ca> wrote:> I suspect the main difference is due to time alignment of the samples > and the exact trimming at the beginning and at the end of the encoded > files. I also note that there's a missing "--" in front of "bitrate" and > only one "-" instead of two for cvbr in your opusenc command line. Make > sure both are also linked to the same libopus (opusenc could be using > the system libopus 1.0.x while opus_demo is from git). In the end, the > quality should be almost the same, but the files won't be identical due > to minor differences in the way the first and last frame are handled. > > Cheers, > > Jean-Marc > > On 10/15/2013 05:22 AM, Quilino Cifuentes wrote: >> Hi, >> I have found differences in quality between opus_demo and >> opusenc/opusdec. >> >> I used for both applications the same raw pcm file,16 bit,48khz,litle >> endian. i use libopus 1.1-beta and opus-tools-0.1.7. >> >> The command for opus_demo is: >> >> opus_demo audio 48000 1 64000 -cvbr -framesize 10 in.pcm out.pcm >> >> For opusenc/dec: >> >> opusenc --raw --raw-chan 1 bitrate 64 -cvbr --framesize 10 in.pcm in.opus >> >> opusdec in.opus out.pcm >> >> the PEAQ value for opus_demo is -0.152 and for opus-tools is -0.449 >> >> Should I expect the same quality or are opus_demo and opusenc/dec >> different by definition? >> >> Thanks, >> Quilino >> _______________________________________________ >> opus mailing list >> opus at xiph.org >> http://lists.xiph.org/mailman/listinfo/opus >> > >