replaygain tagger for Stretch

Everything about X, Gnome, KDE, ... and everything running on it

replaygain tagger for Stretch

Postby mrjayviper » 2017-09-26 02:50

as above.

I've looked at the packages available and mp3gain was last available in wheezy? The only thing that I found that may work is a python script (python-rgain) but reading the description, it's not a tagger. it modifies the actual music data to implement replaygain.

Thanks! :)
mrjayviper
 
Posts: 2
Joined: 2017-09-26 02:17

Re: replaygain tagger for Stretch

Postby debiman » 2017-09-26 06:07

ffmpeg?

that said, you will need some backports in any case, and maybe some stevepusser stuff.
User avatar
debiman
 
Posts: 1310
Joined: 2013-03-12 07:18

Re: replaygain tagger for Stretch

Postby stevepusser » 2017-09-26 17:41

Wikipedia says Debian and Ubuntu dropped it because of "lack of an active maintainer". Sometimes this means it won't build on the gcc version in the newer release, sometimes it's just an orphan. If a gcc problem, I can try to cherry-pick patches from a PPA or the Arch AUR to get it to build...just did that yesterday to get easystroke to build on Stretch, in fact. Let's see what happens when I try it in my multimedia repo.

For what it's worth, it's not in deb-multimedia either, which is a bit suspicious.

Update: deb-multimedia does have aacgain, which seems to supplant mp3gain--in fact it builds an internal version of mp3gain. The mp3gain build in my own multimedia repo was successful: https://build.opensuse.org/package/show ... rt/mp3gain, but I'll add aacgain, too. Thread for my own repo: viewtopic.php?f=6&t=127574

The description for aacgain:

Description: Lossless mp4 normalizer with statistical analysis
AACGain normalizes the volume of digital music files using the Replay Gain
algorithm. It works by modifying the global_gain fields in the mp4 samples.
Free-form metadata tags are added to the file to save undo information,
making the normalization process reversible. It supports AAC
(mp4/m4a/QuickTime) audio files in addition to mp3 files.
.
AACGain uses the same command-line user interface as mp3gain


However, looking by what the DMO aacgain uses to build and depends on, that version is also safe to install on vanilla Debian. It just uses straight C or C++ code, and won't drag in any outside ffmpeg libraries that have so troublesome in the past.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.1.0, Pale Moon 27.5.0, Liquorix kernel 4.12-10, mpv 0.27.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8802
Joined: 2009-10-06 05:53

Re: replaygain tagger for Stretch

Postby mrjayviper » 2017-09-26 20:54

Thank you so much
mrjayviper
 
Posts: 2
Joined: 2017-09-26 02:17

Re: replaygain tagger for Stretch

Postby tynman » 2017-09-26 21:25

OP said:
The only thing that I found that may work is a python script (python-rgain) but reading the description, it's not a tagger. it modifies the actual music data to implement replaygain.

I don't believe this is true. Not sure what description you found. The man page for the replaygain program (implemented by the python-rgain Debian package) says:

Code: Select all
DESCRIPTION
       replaygain  applies or displays Replay Gain information for audio files. By default, all given files be assumed to be part of a single album
       and album gain data will be calculated for them.

By definition, "Replay Gain" is a "tagging" thing, not a "modify the music data" thing. I have seen nothing that would indicate otherwise about the behavior of the python-rgain package.
tynman
 
Posts: 37
Joined: 2016-05-03 19:48
Location: British Columbia, Canada

Re: replaygain tagger for Stretch

Postby sunrat » 2017-09-26 22:13

I'll tell you a secret, don't tell anyone. Promise? It's not recommended practice.
You can download mp3gain package from Wheezy repo and use it by installing with dpkg -i. It has no dependencies apart from libc6 which is a core package anyway.
I'm using it in Sid ( :o ) as it's required for mp3 replaygain in SoundKonverter (which can also use aacgain). SoundKonverter is the only program I know which can analyse and tag replaygain for thousands of mixed format audio files in one hit. I wouldn't recommend SoundKonverter unless you use KDE though, as it has numerous KDE dependencies.
Also useful is DeadBeef with replaygain plugins although it only does one album at a time. It's not in Debian repo but the .deb from their website works perfectly. I believe QuodLibet can also do replaygain.
That said, have you actually tried python-rgain? It may do exactly what you want.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2016
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: replaygain tagger for Stretch

Postby stevepusser » 2017-09-26 22:30

Or you can get Deadbeef from my multimedia repo. :) It's also in deb-multimedia, but that would drag in some of the problematic dependencies from there.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.1.0, Pale Moon 27.5.0, Liquorix kernel 4.12-10, mpv 0.27.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8802
Joined: 2009-10-06 05:53


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable