Skip to main content

Topic: Why *.aac files are not supported by aacgain? (Read 6133 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • kolpotoru
  • [*]
Why *.aac files are not supported by aacgain?
Why *.aac files are not supported by aacgain? Please add support for *.aac files in aacgain.

  • db1989
  • [*][*][*][*][*]
  • Global Moderator
Why *.aac files are not supported by aacgain?
Reply #1
Why are you asking us, as if we have any power over the software, instead of taking the more logical route of contacting the developer directly using the email address provided on the official site?

It states specifically that only MP4-contained AAC is supported, but perhaps you can get a reply with the rationale for this or have your name added to the list of people who want support for raw AAC.
  • Last Edit: 20 July, 2013, 07:59:10 AM by db1989

  • davelasker
  • [*][*][*]
Why *.aac files are not supported by aacgain?
Reply #2
Why *.aac files are not supported by aacgain? Please add support for *.aac files in aacgain.

I am the developer of aacgain. I built aacgain for the sole purpose of normalizing my iTunes music library. All these files are in mp4 containers. The mp4 container is used to store the undo information. I made the program free and open source so I could give something back to the developer community.

It is certainly possible to modify the program to have it work on aac files, but it would not be possible to undo the changes. I have neither the time nor the motivation to make these changes. Aacgain is open source, so anyone is welcome to make the changes themselves.

Another solution to your problem, which requires no changes to aacgain, is to use mp4box to encapsulate your aac file in an mp4 container, run aacgain on it, then use mp4box to extract the modified aac file. If you need to do this for multiple files, you can write a script to do it.

Thank you for your interest in aacgain.
  • Last Edit: 21 July, 2013, 01:58:57 AM by davelasker

  • saratoga
  • [*][*][*][*][*]
Why *.aac files are not supported by aacgain?
Reply #3
If its critically important you could probably just process them as M4As, and then convert to raw AAC after.

  • Porcus
  • [*][*][*][*][*]
Why *.aac files are not supported by aacgain?
Reply #4
Another solution to your problem, which requires no changes to aacgain, is to use mp4box to encapsulate your aac file in an mp4 container, run aacgain on it, then use mp4box to extract the modified aac file. If you need to do this for multiple files, you can write a script to do it.


Windows users:
A simple .bat file could do for %%f in (*.aac) DO  ffmpeg.exe -i "%%f" -acodec copy "%%f.m4a" (that's only for a single folder, modify accordingly to traverse directories) which dumps every filename.aac to filename.aac.m4a. Then post processing, a .bat file could run for %%f in (*.aac.m4a) DO  ffmpeg.exe -i "%%f" -acodec copy "%%f.aac" outputting filename.aac.m4a.aac. 

(Why multiple suffixes? Keeps you from running aacgain on wrong files. If you already have .aac.m4a files, fit in a string like .tobeaacgained.m4a. Wanna get rid of that? http://www.bulkrenameutility.co.uk )


I do not really understand why using raw .aac though.
  • Last Edit: 21 July, 2013, 05:44:28 AM by Porcus