About Opus container, for the next update [ Opus NoLace ]

Music Converter | CD Ripper | Disc Burner
General discussion / Request help
Post Reply
celona
New User
Posts: 7
Joined: Sun Aug 23, 2020 5:16 am
Contact:

About Opus container, for the next update [ Opus NoLace ]

Post by celona » Sun Apr 07, 2024 7:25 pm

Enabled Non-Linear adaptive coding enhancer (NoLACE) when (and only when) decoding opus in MP4 container (see https://github.com/nu774/qaac/releases/tag/v2.82 ).

Since Opus works perfectly, I ask you to add the ISO container for this format too, so you can appreciate the recent improvements.

For now I've tried with FFMPEG and haven't found any problems

Code: Select all

ffmpeg -i input.opus -c copy output.mp4
Thank you in advance.
User avatar
poiko
Site Admin
Site Admin
Posts: 4810
Joined: Sat Mar 11, 2006 8:31 pm
Location: https://www.poikosoft.com
Contact:

Re: About Opus container, for the next update

Post by poiko » Mon Apr 08, 2024 11:53 am

I updated my Opus 1.5.1 encoder and decoder for the next EZ CD update. Works in .opus (ogg) container.
- Opus 1.5.1 codec update
- Enabled Non-Linear Adaptive Coding Enhancer (NoLACE) (improved decoder speech quality at very low bit-rates down to 6 kbit/s)
- Enabled AVX2 optimizations (significantly improved encoding & decoding performance on processors that support AVX2 instruction set)
User avatar
poiko
Site Admin
Site Admin
Posts: 4810
Joined: Sat Mar 11, 2006 8:31 pm
Location: https://www.poikosoft.com
Contact:

Re: About Opus container, for the next update

Post by poiko » Mon Apr 08, 2024 3:17 pm

You can try it by yourself

Put "decm_opus.dll" to C:\Program Files\EZ CD Audio Converter\
decm_opus_nolace_x64.zip
(1.68 MiB) Downloaded 28 times
Please note that NoLace is not always enabled
NoLACE are currently only applied when the frame size is 20 ms
I tested with VBR 12 kbit/s seem to work fine

More info:
https://opus-codec.org/demo/opus-1.5/
yamasakiross
Bronze
Bronze
Posts: 39
Joined: Sat Jan 22, 2022 10:59 pm
Contact:

Re: About Opus container, for the next update

Post by yamasakiross » Thu Apr 11, 2024 11:44 pm

poiko wrote: Mon Apr 08, 2024 3:17 pm You can try it by yourself

Put "decm_opus.dll" to C:\Program Files\EZ CD Audio Converter\
decm_opus_nolace_x64.zip

Please note that NoLace is not always enabled
NoLACE are currently only applied when the frame size is 20 ms
I tested with VBR 12 kbit/s seem to work fine

More info:
https://opus-codec.org/demo/opus-1.5/
Hi, Poiko. How do we use NoLACE in EZ?
Just by choosing VBR/CBR at low bitrates (6, 8, 12 etc) with any audio sample?

And another question: can we use Opus with the .ogg extension? Because I only see .ogg(Vorbis).
User avatar
poiko
Site Admin
Site Admin
Posts: 4810
Joined: Sat Mar 11, 2006 8:31 pm
Location: https://www.poikosoft.com
Contact:

Re: About Opus container, for the next update [ Opus NoLace ]

Post by poiko » Fri Apr 12, 2024 11:21 am

NoLace is automatic in Opus decoder and it is currently implemented only when the frame size is 20 mS. The enhancement algorithm does it for floating point PCM data. I have no more information on how it works but it seem to enhance and amplify the speech making its perceived quality a bit better.

More info & demos: https://opus-codec.org/demo/opus-1.5/

When it is enabled (Opus decoder)
/* enhancement only implemented for 20 ms frame at 16kHz */
if (psDec->fs_kHz != 16 || psDec->nb_subfr != 4)
{
// not enabled
osce_reset(&psDec->osce, psDec->osce.method);
return;
}
// do OSCE enhanced frame
Opus uses the Ogg file format and the official extension for Opus-encoded audio is .opus. EZ CD Audio Converter can also decode Opus with .ogg extension.
Post Reply