ReplayGain adjustments not being applied if REPLAYGAIN_REFERENCE_LOUDNESS tag is present
Describe your issue
GStreamer doesn't apply any volume adjustments in vorbis comments if the REPLAYGAIN_REFERENCE_LOUDNESS
comment is present in any way. Many loudness calculators like Loudgain apply this tag for extra context on what value the other ReplayGain tags are relative to. It's not required for proper volume adjustment, and can usually be ignored
Expected Behavior
GStreamer applies the volume adjustments to playback if the tag is present
Observed Behavior
GStreamer seemingly ignores any ReplayGain vorbis comments if the tag is present
Setup
- Operating System: Void Linux
- Device: Computer
- GStreamer Version: 1.20.3
-
Command line:
gst-launch-1.0 filesrc location=<File> ! decodebin ! audioconvert ! rgvolume ! audioconvert ! audioresample ! alsasink
Steps to reproduce the bug
- Add
REPLAYGAIN_REFERENCE_LOUDNESS
tag to any ogg/flac file with ReplayGain tags. Any value of the tag will do, even nonsense like 'asdf' - Play the file
How reproducible is the bug?
Always
Solutions you have tried
Both upper and lower case tags are affected, yet work without the reference loudness tag. No solution I've found apart from deleting the tag