Skip to content

[Feature]: Add Opus replay gain support #2568

Description

@Amonoman

Is your feature request related to a problem?

Opus files aren't covered by the current replay gain handling, so
they play back without loudness normalization even when gain metadata
is present in the file.

Describe the solution you'd like

Parse replay gain for Opus files from R128_TRACK_GAIN /
R128_ALBUM_GAIN Vorbis comment tags (the common case for most
encoders), falling back to Opus's built-in header output gain field
if comment tags aren't present. Convert to the same internal gain
format used for other codecs.

Describe alternatives you've considered

Header output gain alone would be simpler, but misses tags from most
common encoders (opusenc, ffmpeg), which write R128 comment tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions