View previous topic :: View next topic |
Author |
Message |
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1558 Location: Adelaide/Australia
|
Posted: Tue Mar 20, 2018 6:35 am Post subject: [Copied to Local]mp3gain and aacgain masked. Now what? |
|
|
So, I see in the latest news that both aacgain and mp3gain have been masked and slated for removal.
I use both of these in a cron job that updates my new podcast audio files.
So, given they are going away, what options do I have to replace them? Any? _________________ ...Lyall
Last edited by lyallp on Fri Mar 23, 2018 6:45 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Tue Mar 20, 2018 6:56 am Post subject: |
|
|
/usr/portage/package.mask: | # Pacho Ramos <pacho@gentoo.org> (18 Mar 2018)
# Security vulnerable (#630954, #635548). Removal in a month.
media-sound/mp3gain
media-sound/aacgain |
Maybe
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1558 Location: Adelaide/Australia
|
Posted: Tue Mar 20, 2018 7:24 am Post subject: |
|
|
Hmm. Had a quick look.
Having trouble figuring out how to convince sox to keep id3 tags in it's output.
Settled on Code: | rm soxed.mp3; time sox orig.mp3 --replay-gain track soxed.mp3; id3cp orig.mp3 soxed.mp3 | as a test case.
Problem is, it appears that sox is re-encoding the audio file, whilst the equivalent Code: | rm gained.mp3; cp orig.mp3 gained.mp3; time mp3gain -r gained.mp3 | (and aacgain) simply analyse the file and update the tags. This is indicated by the fact that sox takes over 30 seconds on my test file whilst mp3gain only takes 11.
The fact that I have to resort to using id3cp to copy the tags from the original file to the new file, when using sox, is a pain.
Of course, I am more than happy to be shown the error of my ways. _________________ ...Lyall |
|
Back to top |
|
|
fcl Tux's lil' helper
Joined: 31 Dec 2016 Posts: 77
|
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 724 Location: /home
|
Posted: Wed Mar 21, 2018 8:06 am Post subject: |
|
|
They will be removed from portage tree but not from your computer. You can still take the ebuilds to your local overlay and/or unmask them in your system. |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1558 Location: Adelaide/Australia
|
Posted: Wed Mar 21, 2018 8:25 am Post subject: |
|
|
Juippisi wrote: | They will be removed from portage tree but not from your computer. You can still take the ebuilds to your local overlay and/or unmask them in your system. |
Good point _________________ ...Lyall |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Thu Mar 22, 2018 3:04 pm Post subject: |
|
|
As I understand it, mp3gain and aacgain do not affect in any way the digitised audio; they only add meta tags for ReplayGain. Does ffmpeg do the same, or, as I suspect, is it actually changing the digitised audio itself? One of the advantages of the ReplayGain approach is that it doesn't touch the digitised audio at all. _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1558 Location: Adelaide/Australia
|
Posted: Fri Mar 23, 2018 12:28 am Post subject: |
|
|
mp3gain and aacgain analyse the audio and then apply id3 tags indicating the volume adjustment required for playback.
They don't change the audio track at all, which, imho, is a good thing. _________________ ...Lyall |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Fri Mar 23, 2018 12:48 am Post subject: |
|
|
lyallp wrote: | mp3gain and aacgain analyse the audio and then apply id3 tags indicating the volume adjustment required for playback.
They don't change the audio track at all, which, imho, is a good thing. |
Agreed. Coincidentally I used aacgain yesterday on 100 assorted dance tracks for a party. Did a good job of normalizing the volume. ReplayGain is a nice concept. By the way, I've already copied the mp3gain and aacgain ebuilds to my local overlay and merged them from there now that those ebuilds are masked in the Portage main tree. Pity they are being removed, as they are important tools. I assume the fundamental problem is that there is currently no Gentoo developer to maintain the ebuilds. _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1558 Location: Adelaide/Australia
|
Posted: Fri Mar 23, 2018 12:52 am Post subject: |
|
|
Fitzcarraldo wrote: | As I understand it, mp3gain and aacgain do not affect in any way the digitised audio; they only add meta tags for ReplayGain. Does ffmpeg do the same, or, as I suspect, is it actually changing the digitised audio itself? One of the advantages of the ReplayGain approach is that it doesn't touch the digitised audio at all. |
Problem is ffmpeg re-encodes the audio, which I am not keen on. Prefer analysis of existing audio with addition of id3 tags. _________________ ...Lyall |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Fri Mar 23, 2018 7:49 am Post subject: |
|
|
ffmpeg knows how to calculate and print replaygain (ffmpeg -c mp3float -i meow.mp3 -af replaygain -f null /dev/null) and it can definitely edit file metadata without re-encoding the audio. I'm not seeing any way to combine the two in one command though, sorry... |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Fri Mar 23, 2018 1:42 pm Post subject: |
|
|
audiodef wrote: | As these are audio tools still in demand, I would be happy to maintain these ebuilds in the Gentoo Studio overlay. |
That's a nice offer, and I think you should do that, although I think they should also remain in the main Portage tree even if you do. They are extremely useful. mp3gain does a great ReplayGain job for just mp3 audio files; aacgain does something similar for AAC (mp4/m4a/QuickTime) audio files in addition to mp3 files. So they are very much mainstream utilities in my opinion. The latest version of mp3gain was uploaded to the upstream package repository only a couple of months ago, so it's definitely not dead. _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Fri Mar 23, 2018 3:55 pm Post subject: |
|
|
Of course.
https://packages.gentoo.org wrote: | mp3gain
A program to analyze and adjust MP3 files to same volume
http://mp3gain.sourceforge.net/
Available Versions
Code: | Version amd64 x86 alpha arm hppa ia64 ppc ppc64 sparc
1.5.2 : 0 + + + + + + + |
This package is masked and could be removed soon!
The mask comment indicates that this package is scheduled for removal from our package repository.
Please review the mask information below for more details. |
Code: | # eix mp3gain
* media-sound/mp3gain
Available versions: {M}1.5.2 {M}1.5.2[1]
Homepage: http://mp3gain.sourceforge.net/
Description: A program to analyze and adjust MP3 files to same volume
[1] "local_overlay" /usr/local/portage |
https://packages.gentoo.org wrote: | aacgain
AACGain normalizes the volume of music files using the Replay Gain algorithm
http://aacgain.altosdesign.com/
Available Versions
Code: | Version amd64 x86 alpha arm hppa ia64 ppc ppc64 sparc
1.9-r2 : 0 + + |
This package is masked and could be removed soon!
The mask comment indicates that this package is scheduled for removal from our package repository.
Please review the mask information below for more details. |
Code: | # eix aacgain
[I] media-sound/aacgain
Available versions: {M}1.9-r2 {M}1.9-r2[1]
Installed versions: 1.9-r2[1](20:06:07 22/03/18)
Homepage: http://aacgain.altosdesign.com/
Description: AACGain normalizes the volume of music files using the Replay Gain algorithm
[1] "local_overlay" /usr/local/portage |
_________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
Tyrus Guru
Joined: 03 Feb 2018 Posts: 300
|
Posted: Fri Mar 23, 2018 6:26 pm Post subject: |
|
|
Tested this: media-sound/rgain - https://bitbucket.org/fk/rgain
For me it works. replaygain just added tags. And you get only one tool for Vorbis, Flac, WavPack, AAC, MP3. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Fri Mar 23, 2018 6:53 pm Post subject: |
|
|
The mask messages are coming from portage, that compares the masked packages in profiles/package.mask with your installed packages.
News are not used to announce last-rites except for really big ones requiring migration (think Plasma-4). |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Fri Mar 23, 2018 9:00 pm Post subject: |
|
|
Tyrus wrote: | Tested this: media-sound/rgain - https://bitbucket.org/fk/rgain
For me it works. replaygain just added tags. And you get only one tool for Vorbis, Flac, WavPack, AAC, MP3. |
Thanks for the tip, but I noticed the following at that link:
_________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Fri Mar 23, 2018 9:03 pm Post subject: |
|
|
Fitzcarraldo wrote: | The latest version of mp3gain was uploaded to the upstream package repository only a couple of months ago, so it's definitely not dead. |
If that is the case, then all we need is someone to step up and pick up maintenance of the package. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 724 Location: /home
|
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
|