Page 1 of 1

Jukebox transcode for ReplayGain not working

PostPosted: Wed Apr 10, 2019 7:12 am
by n0rdik
Hi! I was trying to make a custom format transcoding like this:

Code: Select all
ffmpeg -i %s -map 0:0 -ar 48000 -af volume=replaygain=track -c:a pcm_s16le -v 0 -f s16le -


so applying this to my jukebox, I can play normalized audio through my speakers. But it does nothing, when I play some files in jukebox, when y look into the process with "ps -ef" (ubuntu linux box) it shows:

Code: Select all
/var/subsonic/transcode/ffmpeg -i someaudiofile.mp3 -map 0:0 -v 0 -ar 44100 -ac 2 -f s16be -


Is there any way to change this for every jukebox player? It looks that jukebox mode has its own transcoding and doesn't honour the personal transcoding configuration. Thanks and sorry for my english.

Re: Jukebox transcode for ReplayGain not working

PostPosted: Thu Apr 11, 2019 9:44 am
by n0rdik
Well, I found that the ffmpeg command is hardcoded in SettingsService.java as a variable. I've made a request already.