Replaygain volume settings have no effect on MP3 files

Need help? Post your questions here.

Moderator: moderators

Replaygain volume settings have no effect on MP3 files

Postby innerspaceboy » Tue Oct 08, 2019 3:49 pm

Problem Description: Volume Normalization - Replaygain volume settings have no effect on MP3 files.

I queue several dozen albums every evening for an ambient drone sleep playlist but have to keep getting up to adjust the volume. Adjusting replaygain_track_gain and replaygain_album_gain values on the server have no effect.

Troubleshooting Steps:
  • I read every thread I could find on replaygain support in Subsonic. From this previous thread I see that an expression has to be entered for FLAC files in the transcoding settings of Subsonic but it looks like replaygain_track_gain values are automatically read and the volume adjusted for MP3 formatted files when values are set in advance on the server.
  • I verified that my Subsonic max bitrate settings were set to unlimited so no transcoding is occurring - the tracks are simply buffering and playing.
  • I took note of tracks with significantly higher volume in the playlist. I then recorded the replaygain_track_gain and replaygain_album_gain values for each in gmusicbrowser on my Ubuntu server desktop.
  • I then radically adjusted those values on my server by manually setting them to -99 dB in gmusicbrowser.
  • I tested audio playback on the desktop hosting the files using VLC player and they played silently, confirming that the values took effect.
  • I then cleared the test songs from my Subsonic queue and cache on both my tablet and cell phone, and emptied the devices’ respective recycle bins.
  • Next I opened the Subsonic interface on my desktop server and viewed the transcoding menu to ensure that no unnecessary transcoding was occuring for MP3 files.
  • I then selected the Media Folders menu and rescanned my library on the server to make sure it was reading the latest ID3 info from the newly-adjusted tracks.
  • Next I re-buffered the test tracks on both my Android cell phone and Google Nexus 7 tablet. The songs played at full volume with no change.
  • Finally, I altered the parent folder path and test track file names in case Subsonic was holding onto the old data. I repeated each of the steps above thereafter but still found no change in output volume on my mobile devices.
    I performed these tests on both the Google Nexus 7 tablet and an LG Android cell phone with the same results for each device.
I appreciate any insight which will result in a sound night’s sleep with Subsonic accompaniment!

Playback Application and version: v4.8 on both the tablet and the cell phone
Subsonic Version: 6.1.3 (build e408c9) – October 31, 2017
Server Version: jetty-6.1.x, java 1.8.0_181, HSQLDB, Linux
Hardware Platform: Ubuntu 18.04.3 LTS
Problem Filename: All media tracks affected
Output from ffmpeg -i:
Code: Select all
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mp3, from '57 - Flowered Knife Shadows for Simon Raymonde.mp3':
  Metadata:
    album           : (1986) Lovely Thunder
    artist          : Harold Budd
    title           : Flowered Knife Shadows (for Simon Raymonde)
    track           : 5/7
    date            : 1986
    genre           : Ambient
    replaygain_track_peak: 0.739319
    replaygain_track_gain: -99 dB
    replaygain_reference_level: 89
    encoder         : LAME v3.96.1
    replaygain_album_gain: -99 dB
  Duration: 00:07:15.12, start: 0.025056, bitrate: 320 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
    Metadata:
      encoder         : LAME3.96r
    Side data:
      replaygain: track gain - -99.000000, track peak - 0.000017, album gain - -99.000000, album peak - unknown,
    Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 200x195 [SAR 300:300 DAR 40:39], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Other
At least one output file must be specified


Last ten log file lines:
Code: Select all
[10/8/19 11:11:37 AM EDT]   INFO   MediaScannerService   Scanned media library with 146500 entries.
[10/8/19 11:11:37 AM EDT]   INFO   MediaScannerService   Scanned media library with 146750 entries.
[10/8/19 11:11:37 AM EDT]   INFO   MediaScannerService   Scanned media library with 146792 entries.
[10/8/19 11:11:37 AM EDT]   INFO   MediaScannerService   Marking non-present files.
[10/8/19 11:11:42 AM EDT]   INFO   MediaScannerService   Marking non-present artists.
[10/8/19 11:11:42 AM EDT]   INFO   MediaScannerService   Marking non-present albums.
[10/8/19 11:11:43 AM EDT]   INFO   MediaScannerService   Completed media library scan.
[10/8/19 11:11:43 AM EDT]   INFO   PlaylistService   Starting playlist import.
[10/8/19 11:11:43 AM EDT]   WARN   PlaylistService   Failed to auto-import playlist /media/innerspacelabs/Classy Bastard/Playlists/The Piano Has Been Drinking: The Complete Recordings of Tom Waits - 63 LPs (1973-2011).m3u. No songs in the playlist were found.
[10/8/19 11:11:43 AM EDT]   INFO   PlaylistService   Completed playlist import.
innerspaceboy
 
Posts: 36
Joined: Mon Jun 06, 2011 11:20 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 5 guests