Hydrogenaudio Forums

Lossy Audio Compression => Opus => Topic started by: pr0m3th3u5 on 2019-08-16 16:35:11

Title: Linux app to calculate and tag ReplayGain in batches?
Post by: pr0m3th3u5 on 2019-08-16 16:35:11
Is there any app in Linux that can calculate and tag ReplayGain in batches?

Will the ones that work on Ogg Vorbis work on opus?

Can I tell ffmpeg to do it when it is converting an audio file to opus?
Title: Re: Linux app to calculate and tag ReplayGain in batches?
Post by: Moonbase on 2019-08-16 21:17:10
You could use my loudgain (https://github.com/Moonbase59/loudgain) and its companion script rgbpm for mass-tagging. It’ll work just fine on Opus files, but please read How I handle Opus (.opus) audio files (https://github.com/Moonbase59/loudgain#how-i-handle-opus-opus-audio-files).
Title: Re: Linux app to calculate and tag ReplayGain in batches?
Post by: dutch109 on 2019-08-17 01:33:26
Also: r128gain (https://github.com/desbma/r128gain) (I am the author).

I use it myself on Linux, for both Vorbis and Opus files.
Title: Re: Linux app to calculate and tag ReplayGain in batches?
Post by: pr0m3th3u5 on 2019-08-20 23:33:08
You could use my loudgain (https://github.com/Moonbase59/loudgain) and its companion script rgbpm for mass-tagging. It’ll work just fine on Opus files, but please read How I handle Opus (.opus) audio files (https://github.com/Moonbase59/loudgain#how-i-handle-opus-opus-audio-files).
Also: r128gain (https://github.com/desbma/r128gain) (I am the author).

I use it myself on Linux, for both Vorbis and Opus files.

I have posted about my thoughts on these two tools here (https://hydrogenaud.io/index.php/topic,118085.new.html).

I have found out that these two handle replay gain values differently for opus files as you can see in my post. Should there be any concern?
Title: Re: Linux app to calculate and tag ReplayGain in batches?
Post by: lithopsian on 2019-08-21 14:15:13
loudgain has (or used to have) some glitches when working with Opus files.  Very possibly fixed now, but you might want to "test on an inconspicuous location" before letting rip on your whole collection.
Title: Re: Linux app to calculate and tag ReplayGain in batches?
Post by: magicgoose on 2019-08-21 18:02:35
https://pypi.org/project/r128gain/
there's an okay Python lib for that, should work on GNU/Linux just fine (but not only on it)
my wife tested it a while ago, it seemed to be able to write RG tags in Opus files correctly (in a way that foobar2000 understands).
--
oops, this was already posted, sorry
so, yeah, I can confirm that r128gain is just fine
Title: Re: Linux app to calculate and tag ReplayGain in batches?
Post by: danadam on 2019-08-26 14:32:38
https://github.com/jiixyj/loudness-scanner

Code: [Select]
loudness tag -r ./
SimplePortal 1.0.0 RC1 © 2008-2019