Re: [Savonet-users] Replay_gain in logs

2019-04-10 Thread Damian
Okay, I run a test with the following and it returned 3.44dB ~/.opam/default/lib/liquidsoap/lib/liquidsoap/1.3.6/extract-replaygain /ssr/uploads/test.mp3 3.44 dB I assume this means it should work. I have telnet setup but because this was run manually (not inside a liq file) I am not sure how t

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] Replay_gain in logs

2019-03-26 Thread Damian
Hi, I took a step away from this for while but need to try to solve it. I followed Romain's instructions below in order to test whether replaygain is working on the version of liquidsoap I am running (1.3.6) on Debian 9. I also have aacgain installed via the apt packet manager. I assume I have f

Re: [Savonet-users] Replay_gain in logs

2019-02-21 Thread Romain Beauxis
Hey Damian, Your script looks good to me. Support for aacgain was only added in 1.3.6 I believe. The step to diagnose your issue would be: - Run manually the extra script. Something like this: ~/.opam/default/lib/liquidsoap/lib/liquidsoap/1.3.6/extract-replaygain /path/to/file.mp3 - Connect to t

Re: [Savonet-users] Replay_gain in logs

2019-02-20 Thread Damian
Can anyone help? I know replaygain should work in version 1.3.6 but I am stuck trying to test this or get it to work on my setup On 17.02.2019 14:41, Damian wrote: > Hi, > > I realise there’s a lot going on so I’m sorry for still asking > about this. > I’ve followed Gilles advice below but I’m n

Re: [Savonet-users] Replay_gain in logs

2019-02-16 Thread Damian
Hi, I realise there’s a lot going on so I’m sorry for still asking about this. I’ve followed Gilles advice below but I’m not really able to reach any conclusion about what this means. I also can’t find any doc on how to run either mp3gain, replaygain, or aacgain with the script snippet in this

Re: [Savonet-users] Replay_gain in logs

2019-02-14 Thread Damian
Hi Gilles, Thanks for the reply. So I changed directory into ~/.opam/default/lib/liquidsoap/lib/liquidsoap/1.3.6/ and then ran extract-replaygain /ssr/uploads/Interlude.mp3 and it returned ... -bash: extract-replaygain: command not found > On 9 Feb 2019, at 9:35 pm, Gilou wrote: > > Le 0

Re: [Savonet-users] Replay_gain in logs

2019-02-14 Thread Gilou
Le 14/02/2019 à 12:15, Damian a écrit : > Hi Gilles, > > Not sure if you saw my last reply, but I’m still not sure on how to implement > your suggestion. I figure that you want me to test whether replaygain is > simply working in my Debian environment but I’m unclear about how to run > extract-

Re: [Savonet-users] Replay_gain in logs

2019-02-14 Thread Damian
Hi Gilles, Not sure if you saw my last reply, but I’m still not sure on how to implement your suggestion. I figure that you want me to test whether replaygain is simply working in my Debian environment but I’m unclear about how to run extract-replaygain on a file as you suggested. Any further

Re: [Savonet-users] Replay_gain in logs

2019-02-10 Thread Damian
Hi > try to run extract-replaygain from the opam liq dir on a file. > > You can find it this way: > liquidsoap --conf-descr-key protocol.replay_gain.path > > (probably in > ~/.opam/default/lib/liquidsoap/lib/liquidsoap/1.3.6/extract-replaygain I’ve located it. It was in the place you said...but

Re: [Savonet-users] Replay_gain in logs

2019-02-09 Thread Gilou
Le 09/02/2019 à 09:42, Damian a écrit : > > >> On 3 Feb 2019, at 12:13 am, Romain Beauxis > > wrote: >> >> Hi Damian, >> >> You should still see logs of this form if it works: >>   Overriding amplification: 0.367705. >> >> Romain > > > Hi again, > > In this rec

Re: [Savonet-users] Replay_gain in logs

2019-02-09 Thread Damian
> On 3 Feb 2019, at 12:13 am, Romain Beauxis wrote: > > Hi Damian, > > You should still see logs of this form if it works: > Overriding amplification: 0.367705. > > Romain Hi again, In this recent thread https://sourceforge.net/p/savonet/mailman/message/36581441/

Re: [Savonet-users] Replay_gain in logs

2019-02-02 Thread Romain Beauxis
Hi Damian, You should still see logs of this form if it works: Overriding amplification: 0.367705. Romain Le ven. 1 févr. 2019 à 17:20, Damian a écrit : > Hi Gilles, > > Thanks for that. I managed to find it before you posted which is good > because you confirmed that I’ve got the right prog

Re: [Savonet-users] Replay_gain in logs

2019-02-01 Thread Damian
Hi Gilles, Thanks for that. I managed to find it before you posted which is good because you confirmed that I’ve got the right program. So, I should now have all I need to make normalisation work with an mp3 stream. I guess I just need to wait for the next bug fix release to see the replay gain

Re: [Savonet-users] Replay_gain in logs

2019-02-01 Thread Gilou
Le 01/02/2019 à 00:35, Damian a écrit : > Hi, > > So I assumed that replay_gain was somehow built in to liquidsoap. I run > my stream on a Debian9 VPS. Up until recently. I was using mp3gain on my > Mac locally to normalise the mp3s before uploading them to the server.  > > As far as I can see mp

Re: [Savonet-users] Replay_gain in logs

2019-01-31 Thread Damian
Hi, So I assumed that replay_gain was somehow built in to liquidsoap. I run my stream on a Debian9 VPS. Up until recently. I was using mp3gain on my Mac locally to normalise the mp3s before uploading them to the server. As far as I can see mp3gain has been removed from the repositories for Deb

Re: [Savonet-users] Replay_gain in logs

2019-01-31 Thread Romain Beauxis
Hey, So, I did a little investigation. At the moment, there isn't much log from the replaygain resolver. I've added that to the latest master branch. One thing you might want to make sure is that you have one of the actual program for extracting that data available. These are: mp3gain, aacgain (l

Re: [Savonet-users] Replay_gain in logs

2019-01-31 Thread Damian
Thanks gentlemen for the quick reply. Romain, I’ve shifted enable_replaygain_metadata ()to the top of the script and set logging to level 4 as you and Gilles recommended and I see the following. Not sure if the metadata resolver you speak of is visible however. Should there be more? 2019/01/

Re: [Savonet-users] Replay_gain in logs

2019-01-30 Thread Romain Beauxis
Hi all, Reading the code, it looks like the call to enable_replaygain_metadata can be done where ever you want though it's usually a good practice to put it on top. If you increase the log level to 4 you should see the replay gain metadata resolver in action if it's properly enabled/installed: s

Re: [Savonet-users] Replay_gain in logs

2019-01-30 Thread John Warburton
On Wed, Jan 30, 2019 at 5:09 PM Gilles Pietri wrote: > > Le 30/01/2019 à 12:53, Damian a écrit : > > Hi, > > > > I am running liquidsoap 1.3.6 and I have followed the instructions for > > applying replay_gain in the docs here > > https://www.liquidsoap.info/doc-1.3.3/replay_gain.html > > I believe

Re: [Savonet-users] Replay_gain in logs

2019-01-30 Thread Gilles Pietri
Le 30/01/2019 à 12:53, Damian a écrit : > Hi, > > I am running liquidsoap 1.3.6 and I have followed the instructions for > applying replay_gain in the docs here > https://www.liquidsoap.info/doc-1.3.3/replay_gain.html > I believe that I have added the code for replay_gain correctly in my > short s

[Savonet-users] Replay_gain in logs

2019-01-30 Thread Damian
Hi, I am running liquidsoap 1.3.6 and I have followed the instructions for applying replay_gain in the docs here https://www.liquidsoap.info/doc-1.3.3/replay_gain.html I believe that I have added the code for replay_gain correctly in my short script below, but volume is uneven across tracks in