aacgain is ready, I finally finished it! |
![]() ![]() |
aacgain is ready, I finally finished it! |
Dec 20 2004, 02:57
Post
#1
|
|
![]() Group: Members Posts: 102 Joined: 1-August 04 From: San Francisco Member No.: 15951 |
As promised here, I finally completed aacgain.
aacgain is a modification to Glen Sawyer's excellent mp3gain program. It supports AAC (mp4/m4a/QuickTime) audio files in addtion to mp3 files. I am releasing it in source code only a) to avoid any MPEG royalty issues, and b) to ensure that early users have the knowledge to fix whatever bugs they find You can download the source code from http://altosdesign.com/aacgain/ Source code is for a Windows command line application. Contact me if you want to help make aacgain multi-platform or otherwise contribute to its development. Dave |
|
|
|
Dec 20 2004, 08:38
Post
#2
|
|
![]() Group: Members Posts: 322 Joined: 26-June 02 From: Marseille,France Member No.: 2400 |
Great news, thanks.....
Could someone make a compile ? -------------------- http://www.unite-video.com/phpbb/viewtopic.php?t=5412 :: An overview of all lossless Audio Formats (in french language ;-)
|
|
|
|
Dec 20 2004, 10:45
Post
#3
|
|
![]() Group: Members Posts: 110 Joined: 2-February 03 From: Nippon Member No.: 4834 |
Great program
aacgain works well, except a multichannel aac. I get an error message saying "Not enough samples in E:\temp\SURROUNDTEST.m4a to do analysis" -------------------- foobar2000 Wiki for Japanese Users
http://foobar.s53.xrea.com/fbwiki/ |
|
|
|
Dec 20 2004, 14:07
Post
#4
|
|
|
Group: Members Posts: 58 Joined: 26-February 04 Member No.: 12278 |
Great Work!
|
|
|
|
Dec 21 2004, 05:43
Post
#5
|
|
![]() Group: Members Posts: 102 Joined: 1-August 04 From: San Francisco Member No.: 15951 |
QUOTE (witt @ Dec 20 2004, 02:45 AM) Great program aacgain works well, except a multichannel aac. I get an error message saying "Not enough samples in E:\temp\SURROUNDTEST.m4a to do analysis" Witt gave me some multi-channel files to test with. I don't have time to debug it today but will look at it Wednesday. Thanks! Dave This post has been edited by davelasker: Dec 21 2004, 16:10 |
|
|
|
Dec 21 2004, 05:54
Post
#6
|
|
![]() Group: Members Posts: 1045 Joined: 28-June 03 From: on the dock of the bay Member No.: 7423 |
celtic_druid has uploaded an (untested) binary at Doom9.
http://forum.doom9.org/showthread.php?s=&threadid=86960 -------------------- Nothing but a Heartache - Since I found my Baby ;)
|
|
|
|
Dec 21 2004, 13:01
Post
#7
|
|
|
Group: Members Posts: 881 Joined: 11-October 02 Member No.: 3523 |
first of all: thanks a lot for this great tool
than of course i have the question for our aac pros about whether doing this is really a good idea (quality- and mpeg-4 compatibility wise)? -------------------- I know, that I know nothing (Socrates)
|
|
|
|
Dec 21 2004, 14:03
Post
#8
|
|
![]() Rarewares admin Group: Members Posts: 7515 Joined: 30-September 01 From: Brazil Member No.: 81 |
Just uploaded a version compiled by Dave himself to RareWares.
-------------------- Get up-to-date binaries of Lame, AAC, Vorbis and much more at RareWares:
http://www.rarewares.org |
|
|
|
Dec 21 2004, 15:29
Post
#9
|
|
|
Group: Members Posts: 97 Joined: 11-October 01 Member No.: 262 |
I have made an experimental linux compile. I don't know whether it works though, as it doesn't like my aac file. Do I need a mp4 container for it?
|
|
|
|
Dec 21 2004, 16:11
Post
#10
|
|
![]() Group: Members Posts: 102 Joined: 1-August 04 From: San Francisco Member No.: 15951 |
|
|
|
|
Dec 21 2004, 16:17
Post
#11
|
|
![]() Group: Members Posts: 1045 Joined: 28-June 03 From: on the dock of the bay Member No.: 7423 |
is this tool used with the same switches like MP3Gain, or how does one use this?
I tried running it with -h, --h, -help, --help etc, to no avail... can it be used with the MP3Gain gui, or a modifaction of it? cmdline-noob-mode.off -------------------- Nothing but a Heartache - Since I found my Baby ;)
|
|
|
|
Dec 21 2004, 16:28
Post
#12
|
|
![]() Group: Members Posts: 1075 Joined: 15-October 03 From: Memphis, TN Member No.: 9323 |
QUOTE (Digga @ Dec 21 2004, 09:17 AM) is this tool used with the same switches like MP3Gain, or how does one use this? I tried running it with -h, --h, -help, --help etc, to no avail... can it be used with the MP3Gain gui, or a modifaction of it? cmdline-noob-mode.off Try /? or /h instead. And it appears to be a modification of MP3Gain, so it probably would work with the GUI. It doesn't appear that he modified the switches any. -------------------- http://ottodestruct.com
|
|
|
|
Dec 21 2004, 16:43
Post
#13
|
|
![]() Group: Members Posts: 1045 Joined: 28-June 03 From: on the dock of the bay Member No.: 7423 |
just had a go with the MP3Gain gui (replaced mp3gain.exe with the renamed aacgain.exe).
after enableing 'no check for layer I or II', the gain was applied. however, using the nero and compaact! files from the m4a-bible thread results in uplayable files in Wa. undo changes or remove tags doesn't make it better either. btw, /? or /h doesn't work for me... -------------------- Nothing but a Heartache - Since I found my Baby ;)
|
|
|
|
Dec 22 2004, 00:34
Post
#14
|
|
![]() Group: Members Posts: 165 Joined: 31-January 04 Member No.: 11670 |
I tried mp3gain gui with aacgain.exe renamed to mp3gain.exe with a couple of m4a files produced by faac and it worked perfect! You can only add files by the "Add files" button and select "All files" in the next dialog. You can't select directories with m4a's though.
|
|
|
|
Dec 22 2004, 00:45
Post
#15
|
|
![]() Group: Members Posts: 1045 Joined: 28-June 03 From: on the dock of the bay Member No.: 7423 |
QUOTE (echo @ Dec 22 2004, 12:34 AM) I tried mp3gain gui with aacgain.exe renamed to mp3gain.exe with a couple of m4a files produced by faac and it worked perfect! hmm, that's strange. I'm gonna try it with selfencoded files again tomorrow.
-------------------- Nothing but a Heartache - Since I found my Baby ;)
|
|
|
|
Dec 22 2004, 04:52
Post
#16
|
|
![]() Group: Members Posts: 102 Joined: 1-August 04 From: San Francisco Member No.: 15951 |
QUOTE (Digga @ Dec 21 2004, 04:45 PM) Command line and help are the same as mp3gain. /? or /h if you compile for windoze, -? or -h otherwise. What's a "selfencoded" file? Dave This post has been edited by davelasker: Dec 22 2004, 04:55 |
|
|
|
Dec 22 2004, 13:11
Post
#17
|
|
|
Group: Members Posts: 97 Joined: 11-October 01 Member No.: 262 |
@davelasker
So I got the linux version running (completely ported - probably not the smartest way, though...), but I found a strange thing: In gain_analysis.c I had to make the buffers bigger, otherwise it would segfault. Using the windows compile on my file (using wine) works though. But after my adjustment linux and windows version do find the same values, so could you please check whether there is a hidden bug I may have stepped onto? I will send you a patch soon. This post has been edited by DarkAvenger: Dec 22 2004, 13:11 |
|
|
|
Dec 22 2004, 14:08
Post
#18
|
|
![]() Group: Members Posts: 1045 Joined: 28-June 03 From: on the dock of the bay Member No.: 7423 |
QUOTE (davelasker @ Dec 22 2004, 04:52 AM) What's a "selfencoded" file? audio files encoded by yourself, opposed to files encoded by someone else (as the files I tried it with before).I tried it again today and it works flawlessly with self encoded nero LC files. it chokes on the files talked above though. -------------------- Nothing but a Heartache - Since I found my Baby ;)
|
|
|
|
Dec 22 2004, 18:01
Post
#19
|
|
![]() Group: Members Posts: 102 Joined: 1-August 04 From: San Francisco Member No.: 15951 |
QUOTE (Digga @ Dec 21 2004, 08:43 AM) after enableing 'no check for layer I or II', the gain was applied. The no check for layer I or II option forces the file to be treated as mp3 (as in original mp3gain). This option should not be used for AAC files. Dave |
|
|
|
Dec 22 2004, 18:23
Post
#20
|
|
![]() Group: Members Posts: 948 Joined: 29-December 01 Member No.: 830 |
Is aacgain restricted to the same decibel steps as mp3gain? Haven't had a chance to check it yet, but I'm sensitive enough to volume fluctuations that a even a 1dB shift from album to album can seem jarring. (No criticism of your program intended... just trying to decide whether aacgain or wavegain is still my best option! There will obviously be times when one or the other is more appropriate, so I am grateful for both tools.)
- M. |
|
|
|
Dec 22 2004, 18:35
Post
#21
|
|
![]() Group: Members Posts: 1045 Joined: 28-June 03 From: on the dock of the bay Member No.: 7423 |
QUOTE (davelasker @ Dec 22 2004, 06:01 PM) QUOTE (Digga @ Dec 21 2004, 08:43 AM) after enableing 'no check for layer I or II', the gain was applied. The no check for layer I or II option forces the file to be treated as mp3 (as in original mp3gain). This option should not be used for AAC files.-------------------- Nothing but a Heartache - Since I found my Baby ;)
|
|
|
|
Dec 22 2004, 20:11
Post
#22
|
|
|
MP3Gain Developer Group: Developer Posts: 207 Joined: 30-December 01 Member No.: 846 |
QUOTE (echo @ Dec 21 2004, 04:34 PM) I tried mp3gain gui with aacgain.exe renamed to mp3gain.exe with a couple of m4a files produced by faac and it worked perfect! You can only add files by the "Add files" button and select "All files" in the next dialog. You can't select directories with m4a's though. Yeah, I'm tweaking the GUI to recognize the "m4a" and "mp4" file extensions. -Glen |
|
|
|
Dec 22 2004, 23:43
Post
#23
|
|
![]() Group: Members Posts: 165 Joined: 31-January 04 Member No.: 11670 |
|
|
|
|
Dec 23 2004, 06:15
Post
#24
|
|
![]() Group: Members Posts: 102 Joined: 1-August 04 From: San Francisco Member No.: 15951 |
QUOTE (M @ Dec 22 2004, 10:23 AM) Is aacgain restricted to the same decibel steps as mp3gain? Yes it is. Both mp3gain and aacgain work by altering the "global_gain" field of each audio sample. Each increment or decrement of global_gain alters the sound level by 1.5dB. So 1.5dB is the minimum resolution. Dave |
|
|
|
Dec 23 2004, 07:17
Post
#25
|
|
![]() Group: Members Posts: 948 Joined: 29-December 01 Member No.: 830 |
QUOTE (davelasker @ Dec 23 2004, 12:15 AM) QUOTE (M @ Dec 22 2004, 10:23 AM) Is aacgain restricted to the same decibel steps as mp3gain? Yes it is. Both mp3gain and aacgain work by altering the "global_gain" field of each audio sample. Each increment or decrement of global_gain alters the sound level by 1.5dB. So 1.5dB is the minimum resolution. Dave Thanks for the answer Dave. I suspected that might be the case, but I wasn't sure whether or not AAC utilized the same global_gain structure. - M. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 9th February 2010 - 19:28 |