Re: [Savonet-users] Replay_gain in logs

2019-04-08 Thread Damian
Can anyone from the liquidsoap community tell me where to get the binary which is necessary for replaygain to work on mp3 files in Liquidsoap (using extract replaygain)? > On 26 Mar 2019, at 21:02, Damian wrote: > > Hi, > > I took a step away from this for while but need to try to solve it.

Re: [Savonet-users] [savonet/liquidsoap] Fixing the replaygain madness (#749)

2019-04-08 Thread Damian
Hi, can i clarify, does this script provide the necessary binaries for the extract replaygain script that comes with liquidsoap? Also, will it provide me with what I need to apply gain to mp3 files? > On 9 Apr 2019, at 04:13, Yamakaky wrote: > > @toots how would you implement the amp factor

Re: [Savonet-users] [savonet/liquidsoap] Ability to suppress metadata being sent to Icecast/SHOUTcast/etc? (#738)

2019-04-08 Thread SlvrEagle23
@toots Works like a charm. I don't know why it didn't occur to me to try that, since it's so similar to my existing code, but years of working in PHP has drilled into me the micro-optimization of avoiding "else"s on conditionals that return. Thanks for your help! -- You are receiving this

Re: [Savonet-users] Error when registering icy_update function

2019-04-08 Thread William Goldsmith
OK. I got this working -- although it appears that metadata updates via this method do not work on ogg/flac streams. I don't get an error (as I do when attempting a URL update on that mountpoint) but it does not register with Icecast. Updates to ogg/vorbis mountpoints via this method also cause

Re: [Savonet-users] [savonet/liquidsoap] Fixing the replaygain madness (#749)

2019-04-08 Thread Yamakaky
@toots how would you implement the amp factor calculation? I was thinking about using on_metadata + a global ref per source, but that's not very clean and we may use an incorrect amp factor for a few frames at the beginning of the file. We also have to deal with overlapping sources, which may

Re: [Savonet-users] [savonet/liquidsoap] Fixing the replaygain madness (#749)

2019-04-08 Thread Yamakaky
In fact, I was thinking of the power level ration of the signal with the amplitude ratio, which is used here. https://en.wikipedia.org/wiki/Decibel -- You are receiving this because you commented. Reply to this email directly or view it on GitHub:

Re: [Savonet-users] [savonet/liquidsoap] Fixing the replaygain madness (#749)

2019-04-08 Thread Yamakaky
Here it is: https://gist.github.com/Yamakaky/0f0546ea0aeb4ed220caa82d814b7d68. This will create the REPLAYGAIN_TRACK_PEAK and GAIN (-a is not implemented). It should support any codec supported by ffmpeg. It must be run one time ahead of time. In liquidsoap, a basic support is to use

Re: [Savonet-users] [savonet/liquidsoap] Fixing the replaygain madness (#749)

2019-04-08 Thread Damian
Is there any documentation that clearly outlines which binaries to install and from where? Obviously, the reason why it’s not working for me is because I haven’t set this up correctly. > On 8 Apr 2019, at 5:52 pm, Yamakaky wrote: > > This script works if the corresponding binaries are

Re: [Savonet-users] [savonet/liquidsoap] Fixing the replaygain madness (#749)

2019-04-08 Thread Yamakaky
This script works if the corresponding binaries are installed. If instead the mp3 files use ID3v2, the values are present in the Metadata, which are easier to manipulate in liquidsoap and doesn't require any extra binary. It does however require the preprocessing to be done ahead of time. --

Re: [Savonet-users] [savonet/liquidsoap] Fixing the replaygain madness (#749)

2019-04-08 Thread Damian
Hi Romain, Apologies for crashing this thread. I have been trying to get replay gain to work on my Debian setup without any luck. The last post to my ongoing thread (https://sourceforge.net/p/savonet/mailman/message/36622880/) went unanswered. I ran the test as suggested by Romain without luck