Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Why *.aac files are not supported by aacgain? (Read 8218 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Why *.aac files are not supported by aacgain?

Why *.aac files are not supported by aacgain? Please add support for *.aac files in aacgain.

 

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.

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.

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.

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.