Skip to main content

Topic: Getting AAC Gain To Work (Read 18797 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • tonynace
  • [*]
Getting AAC Gain To Work
Can anyone please tell me how to get AAC Gain to work so I can adjust volume levels on my AAC files? I've downloaded the zip file and opened it and see aacgain.exe in there, but when I click on it nothing happens. I read I need Mp3 Gain installed, which I have done, but it still does not recognize AAC files.

  • greynol
  • [*][*][*][*][*]
  • Global Moderator
Getting AAC Gain To Work
Reply #1
Nothing appears to happen because it's meant to be used via command line or within a batch script.

If you wish to get it to work with the MP3Gain GUI then you simply need to follow the instructions...

from mp3gain.sourceforge.net:
Quote
08 January 2005
AACGain: Dave Lasker has added AAC support to mp3gain.exe. He wrote aacgain.exe specifically so it would work with the existing MP3GainGUI without too much trouble.
To get it all to work, go download the latest MP3Gain (either "1.2.5 Stable" or "1.3.4 Beta"). Then download AACGain. Un-zip aacgain.exe, re-name it to "mp3gain.exe", and move it into the MP3Gain folder, copying over the existing mp3gain.exe.
That's all you have to do. Now MP3Gain should handle AAC files (.m4a or .mp4).

Please note that aacgain will not work on DRM-encoded files (i.e. music you buy from the iTunes store). It should work just fine with AAC file you create yourself using iTunes, though.

And a technical note for command-line users: As part of coordinating this release with Dave, I've finally fixed the program return codes in mp3gain.exe to match what everyone else in the world does. So as of version 1.4.6, 0 means success, and non-zero means failure.
13 February 2016: The world was blessed with the passing of a truly vile and wretched person.

Your eyes cannot hear.

  • tonynace
  • [*]
Getting AAC Gain To Work
Reply #2
Nothing appears to happen because it's meant to be used via command line or within a batch script.

If you wish to get it to work with the MP3Gain GUI then you simply need to follow the instructions...

from mp3gain.sourceforge.net:
Quote
08 January 2005
AACGain: Dave Lasker has added AAC support to mp3gain.exe. He wrote aacgain.exe specifically so it would work with the existing MP3GainGUI without too much trouble.
To get it all to work, go download the latest MP3Gain (either "1.2.5 Stable" or "1.3.4 Beta"). Then download AACGain. Un-zip aacgain.exe, re-name it to "mp3gain.exe", and move it into the MP3Gain folder, copying over the existing mp3gain.exe.
That's all you have to do. Now MP3Gain should handle AAC files (.m4a or .mp4).

Please note that aacgain will not work on DRM-encoded files (i.e. music you buy from the iTunes store). It should work just fine with AAC file you create yourself using iTunes, though.

And a technical note for command-line users: As part of coordinating this release with Dave, I've finally fixed the program return codes in mp3gain.exe to match what everyone else in the world does. So as of version 1.4.6, 0 means success, and non-zero means failure.


That's exactly what I did, but nothing happened.

  • saratoga
  • [*][*][*][*][*]
Getting AAC Gain To Work
Reply #3
That's exactly what I did, but nothing happened.


Explain in more detail what you did and maybe someone will be able to help you.

  • tonynace
  • [*]
Getting AAC Gain To Work
Reply #4
I've renamed the file to mp3gain.exe and put it in the folder of mp3gain and I run it and I can see me files in there, but when I select one and hit analyze, I get a message saying 1 error during processing, and asks if I want to view error log, but then it says it can find the log file and asks if I want to create one, and whatever I answer, there is no info in there. I am using Windows 7 64 bit. Could that be the problem?
  • Last Edit: 08 May, 2010, 11:01:23 PM by tonynace

  • me7
  • [*][*][*]
Getting AAC Gain To Work
Reply #5
I'm using Windows 7 64 bit too and it works here.
Have you installed the version with the Visual Basic runtime files ("mp3gain-win-full-1_2_5.exe" - the "full" indicates the full installer with the VB rutime)?

  • tonynace
  • [*]
Getting AAC Gain To Work
Reply #6
I'm using Windows 7 64 bit too and it works here.
Have you installed the version with the Visual Basic runtime files ("mp3gain-win-full-1_2_5.exe" - the "full" indicates the full installer with the VB rutime)?

Yes, I tried that too, but I keep getting a processing error for some reason.

  • me7
  • [*][*][*]
Getting AAC Gain To Work
Reply #7
The log is missing because of the virtualization of the programs folder since Vista. Try running mp3Gain as admin (right click -> runs as admin) and see if it can write and read the log file. It should explain the error.
  • Last Edit: 09 May, 2010, 04:49:16 PM by me7

  • tonynace
  • [*]
Getting AAC Gain To Work
Reply #8
The log is missing because of the virtualization of the programs folder since Vista. Try running mp3Gain as admin (right click -> runs as admin) and see if it can write and read the log file. It should explain the error.

OK, that worked to get an error message. It's saying that my files are not valid mp4/m4a files. I'm seeing what's happening now. I recorded them in Apple Lossless, which, from what I have found out, is different from AAC even though they have the same file extension, m4a. Kind of confusing that they would have the same extension, but don't work the same. Is there something to do the same with Apple Lossless files?

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Getting AAC Gain To Work
Reply #9
Decode your files to WAV, do what you want, encode back to ALAC.

  • me7
  • [*][*][*]
Getting AAC Gain To Work
Reply #10
There is WaveGain which is similar BUT it is not lossless.
If you use mp3Gain on mp3 or AAC files to say reduce the volume by 6 dB and some time later decide to revert the changes by raising the volume by 6 dB, then you will get a bit-exact file to the original file (prior to gaining). This is possible due to the structure of mp3 and AAC files. WaveGain is lossy, performing -6 dB followed by +6 dB will not reproduce the original file.
Try it if you can live with this limitation.
  • Last Edit: 10 May, 2010, 07:14:07 PM by me7

  • signum505
  • [*]
Getting AAC Gain To Work
Reply #11
Hi all

sorry for being such a numpty but i'm new to all this.
I got MP3GAIN up and running and as above it's not doing the m4a files created by iTunes.

But following the link above to http://www.rarewares.org/aac.php just takes me to a site where i can't see aacgain.zip or anything else like aacgain.

Can someone provide a link direct to the exe or zip?
I'm desperate now.

Thanks
signum

  • signum505
  • [*]
Getting AAC Gain To Work
Reply #12
further to above, I have already downloaded:

FAAD2v20100614 CVS snapshot for Win32
2010-06-14
FAAD2 is an AAC/MP4 command line audio decoder for Win32. It supports several profiles (LC, LTP, Main, LD, HE, HEv2...), and can playback AAC/MP4 streams.

which is the first on the list. i didnt think anything would happen, it's not a zip, i cant extract anything from it so it's obviously not what i'm looking for.
could it be that AACGAIN has been removed?

i can't see it in the DECODERS or ENCODERS.

Sorry and thanks

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
Getting AAC Gain To Work
Reply #13
Click AAC Encoders and Tools. Scroll down to AACGain.

  • pedlin
  • [*]
Getting AAC Gain To Work
Reply #14
The problem must be with the use of older version which is common and tends to happens. The new 1.9 version is very good and I have been using it for a while I didn’t had much of a trouble with it so far. The older version does happen to have problems and it can be fixed by editing the command line. Since the post is old I am assuming that you had it fixed, if not I really recommend you to use the latest version which is free from most of the troubles of the earlier version.