Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926174 - media-libs/opus 1.5.x version bump
Summary: media-libs/opus 1.5.x version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-04 23:32 UTC by Mark
Modified: 2024-03-05 11:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2024-03-04 23:32:10 UTC
opus 1.5.1 was released: https://opus-codec.org/demo/opus-1.5/
They write that it remains compatible but offers many new features, including machine learning features with build time switches and use of CPU extensions, that probably require a new USE flag.

"Opus now has support and run-time detection for AVX2"

"We have been careful to avoid huge models [...], most users should not notice the extra cost, but people using older (5+ years) phones or microcontrollers might. For that reason, all new ML-based features are disabled by default in Opus 1.5. They require both a compile-time switch (for size reasons) and then a run-time switch (for CPU reasons)."

It looks like these are the configure options (I have not compared with 1.4, just guessing):

  --enable-dred           Use Deep REDundancy (DRED)
  --enable-deep-plc       Use deep PLC for SILK
  --enable-osce-training-data   enables feature output for SILK enhancement
  --enable-osce           enables speech coding enhancement

Regarding the size: the .so of 1.4 is about 344K, the .so of a manual (stripped) build of 1.5.1 is about 5MB.

The configure run detected AVX2 automatically:

      Intrinsics Optimizations: ...... x86 SSE SSE2 SSE4.1 AVX2
      Run-time CPU detection: ........ x86 SSE4.1 AVX2


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-04 23:37:12 UTC
https://wiki.gentoo.org/wiki/Zero-day_bump_requests

But that said, I appreciate the excitement, and I'll see if I can look at it tonight.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-05 11:30:22 UTC
commit 8fb2cabb56f09d08be29dc24e07ac3ddfc86f885 (HEAD -> master, origin/master, origin/HEAD)
Author: Miroslav Šulc <fordfrog@gentoo.org>
Date:   Tue Mar 5 12:26:25 2024 +0100

    media-libs/opus: bump to 1.5.1

    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

Thanks!
Comment 3 Larry the Git Cow gentoo-dev 2024-03-05 11:35:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7df49c9e536286449adc6704508a2510d54a5a7e

commit 7df49c9e536286449adc6704508a2510d54a5a7e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-05 11:35:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-05 11:35:09 +0000

    media-libs/opus: activate new options in 1.5.1
    
    Activate new options mentioned in https://opus-codec.org/demo/opus-1.5/.
    
    They all have runtime toggles and can be overridden via MYMESONARGS if people
    really need.
    
    Bug: https://bugs.gentoo.org/926174
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/opus/opus-1.5.1-r1.ebuild | 69 ++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)