You are not logged in.

#1 2024-01-02 18:00:09

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

[SOLVED] ReplayGain for MP3s

I've used mp3gain (in AUR) for years to do ReplayGain analysis and tag editing for mp3s. It seems like it's working but I just realized, ffprobe isn't seeing the tags added to my mp3s by mp3gain. Maybe they're in an old format or something? What's more, it doesn't look like mp3gain has been maintained since 2018. So now I'm wondering if there are any better (and currently-maintained) command-line tools for my task...

Last edited by tony5429 (2024-01-05 03:56:10)

Offline

#2 2024-01-02 21:07:38

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: [SOLVED] ReplayGain for MP3s

You could normalize the volume on playback, also do you care about ffprobe?
Isn't the main question whether the player honors the tags?

https://man.archlinux.org/man/extra/mpv … ack_album_

Offline

#3 2024-01-02 21:19:33

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: [SOLVED] ReplayGain for MP3s

i highly recommend kid3-qt for editing id3 tags, very quick and easy for batch editing albums

Offline

#4 2024-01-02 21:21:36

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: [SOLVED] ReplayGain for MP3s

The OP seeks to normalize the volume, does kid3-qt support that (even if it can write the relevant tags, does it analyze the audio)?

Offline

#5 2024-01-02 21:36:05

jonno2002
Member
Registered: 2016-11-21
Posts: 684

Re: [SOLVED] ReplayGain for MP3s

i may have interpreted his question wrong reguarding "tags" i thought i he meant id3 tags but maybe hes referring to replaygain tags, my bad
but he still may be interested in that program if he hasnt seen it cause its excellent at what it does.
as for normalising audio, i gave up on that years ago, theres far too many factors involved to get it right, especially if your dealing with a wide range of music from new to old, cause back in the good old days music actually had this thing called dynamic range and headroom, and these days its all compressed and brick wall limited to hell and back and sounds terrible. trying to get all your music at the same volume just isnt possible without destroying the sound of it.

Offline

#6 2024-01-02 22:01:24

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: [SOLVED] ReplayGain for MP3s

Thanks, all. Seth is correct - I'm looking for a tool to analyze my MP3 music files and apply ReplayGain tags so compatible music players will adjust the volume accordingly. MP3gain has worked well for me for this purpose, for years (on both modern/heavily-compressed music and older more dynamic-volume music; ReplayGain is a pretty neat technology and adjusts for both frequency- and time-related affects on perceived volume). However, upon seeing that ffprobe isn't detecting the mp3gain-generated ReplayGain tags (whereas it easily detects metaflac-generated ReplayGain tags on flac files), I'm wondering if mp3gain isn't using an older standard which might not be as readily compatible with current music players). The fact that the project had its last release in 2018 suggests this is possible. Finally, I had intended to note that I'm looking for a command-line solution. I updated the original post accordingly.

Last edited by tony5429 (2024-01-03 20:53:17)

Offline

#7 2024-01-02 22:52:34

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: [SOLVED] ReplayGain for MP3s

I just tried to "-g 10" a file and both ffplay and mpv certainly interpret that here - I'd not be concerned about what or whatnot ffprobe displays, that's rather an ffprobe issue.
mp3 is 32 years, the last version of id3v2.4 is 23 years old, there're not gonna be drastic format changes anymore…

Offline

#8 2024-01-02 22:59:36

Fuxino
Member
From: Slovakia
Registered: 2014-09-26
Posts: 184

Re: [SOLVED] ReplayGain for MP3s

For ReplayGain analysis and tagging you can use rsgain (in AUR), it seems to be actively maintained.


Arch + XMonad

Dotfiles: https://github.com/Fuxino/dotfiles

Offline

#9 2024-01-05 03:55:51

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: [SOLVED] ReplayGain for MP3s

rsgain is exactly what I was looking for; thanks! (Also noticed after all this that ffprobe does detect the replaygain info generated by mp3gain - it's just different and lowercase so it was easy to miss. Nonetheless, rsgain is actively maintained, operates on both flac and mp3 files so I can use one tool for my whole music collection, uses the newer ReplayGain 2 standard, and has good documentation, so I've switched to it.)

Offline

Board footer

Powered by FluxBB