View Full Version : AGK v2.40 - Does not normalize audio - Sound too low - HELP
mob
13th January 2007, 22:43
Hi everyone,
I am using tha latest stable version of autogk (v2.40).
I'm encoding to MP3 audio and for some reason it is not normalizing. This is giving me very low/quiet sound unless I crank up the speakers to full volume.
Is there any reason why AGK isn't normalizing the audio?
BigDid
13th January 2007, 23:56
... I'm encoding to MP3 audio and for some reason it is not normalizing. This is giving me very low/quiet sound unless I crank up the speakers to full volume....
It should normalize, can you post your logfile?
Did
mob
14th January 2007, 00:13
Sure, here is the log. Thanks for the quick reply btw.
I have no idea what might be wrong :(
[1/11/2007 11:26:45 PM] AutoGK 2.40
[1/11/2007 11:26:45 PM] OS: WinXP (5.1.2600).2
[1/11/2007 11:26:45 PM] Job started.
[1/11/2007 11:26:45 PM] Input file: D:\sdf\test.414s.vob
[1/11/2007 11:26:45 PM] Output file: D:\sdf\test.414s.avi
[1/11/2007 11:26:45 PM] Output codec: XviD
[1/11/2007 11:26:45 PM] Audio 1: Audio Stream 0 MPEG
[1/11/2007 11:26:45 PM] Subtitles: none
[1/11/2007 11:26:45 PM] Format: AVI
[1/11/2007 11:26:45 PM] Target size: 59Mb
[1/11/2007 11:26:45 PM] Audio 1 settings: VBR MP3 with average bitrate: 128Kbps
[1/11/2007 11:26:45 PM] Started encoding.
[1/11/2007 11:26:45 PM] Demuxing and indexing.
[1/11/2007 11:26:53 PM] Processing file: D:\sdf\test.414s.vob
[1/11/2007 11:26:53 PM] Source resolution: 720x480
[1/11/2007 11:26:53 PM] Found NTSC source.
[1/11/2007 11:26:53 PM] Source aspect ratio: 4:3
[1/11/2007 11:26:53 PM] Color correction enabled.
[1/11/2007 11:26:53 PM] Analyzing source.
[1/11/2007 11:27:31 PM] Source has percentage of interlacing in motion areas: 63.33
[1/11/2007 11:27:31 PM] Source has percentage of telecined patterns: 64.98
[1/11/2007 11:27:31 PM] Source has percentage of progressive patterns: 0.34
[1/11/2007 11:27:31 PM] Source has percentage of interlaced patterns: 34.68
[1/11/2007 11:27:31 PM] Source is considered to be hybrid (mostly FILM).
[1/11/2007 11:27:31 PM] Looking for optimal hybrid thresholds.
[1/11/2007 11:27:44 PM] Found threshold of: 0.69
[1/11/2007 11:27:44 PM] Output will contain 10263 frames
[1/11/2007 11:27:44 PM] Encoding audio.
[1/11/2007 11:28:48 PM] Audio1 size: 5,785,296 bytes (5.52 Mb)
[1/11/2007 11:28:48 PM] Overhead: 410,496 bytes (0.39 Mb)
[1/11/2007 11:28:48 PM] Video size: 55,670,192 bytes (53.09 Mb)
[1/11/2007 11:28:48 PM] Running compressibility test.
[1/11/2007 11:28:48 PM] Writing the following script to D:\sdf\agk_tmp\test.414s_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
movie = mpeg2source("D:\sdf\agk_tmp\test.414s.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 0.888888888888889
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 640
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
Telecide(movie,guide=1,post=2).Decimate(mode=3,threshold=0.69)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false)
SelectRangeEvery(75,15)
===========================================================
[1/11/2007 11:30:58 PM] Duration was: 2 minutes 10 seconds
[1/11/2007 11:30:58 PM] Speed was: 15.73 fps.
[1/11/2007 11:30:58 PM] Compressibility percentage is: 59.50
[1/11/2007 11:30:58 PM] Chosen resolution is: 576x432 ( AR: 1.33 )
[1/11/2007 11:30:58 PM] Predicted comptest value is: 73.46%
[1/11/2007 11:30:58 PM] Running first pass.
[1/11/2007 11:30:58 PM] Writing the following script to D:\sdf\agk_tmp\test.414s_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\decomb.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
movie = mpeg2source("D:\sdf\agk_tmp\test.414s.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 0.888888888888889
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 576
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
Telecide(movie,guide=1,post=2).Decimate(mode=3,threshold=0.69)
autocrop(mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false)
===========================================================
[1/11/2007 11:36:18 PM] Duration was: 5 minutes 19 seconds
[1/11/2007 11:36:18 PM] Speed was: 32.12 fps.
[1/11/2007 11:36:18 PM] Expected quality of first pass size: 73.75%
[1/11/2007 11:36:18 PM] Running second pass.
[1/11/2007 11:43:06 PM] Duration was: 6 minutes 47 seconds
[1/11/2007 11:43:06 PM] Speed was: 25.16 fps.
[1/11/2007 11:43:06 PM] Job finished. Total time: 16 minutes 20 seconds
mob
14th January 2007, 02:03
As a work-around, I took the final avi that AGK created and loaded it up in vdubmod. Then I demuxed the mp3 audio from it, ran it through MP3Gain to boost the volume, and remuxed it back with vdubmod.
Is there anything wrong with this method or am I doing fine?
I would also like to know why AGK is not doing the normalizing for me. It would make this job I'm working on a lot easier if I could somehow fix this :)
EDIT:
Also I get this message in vdubmod everytime I load the final avi created by AGK:
http://img180.imageshack.us/img180/4918/vbrma3.png
http://img104.imagevenue.com/loc549/th_49092_vbr_122_549lo.jpg (http://img104.imagevenue.com/img.php?image=49092_vbr_122_549lo.jpg)
http://img104.imagevenue.com/img.php?image=49092_vbr_122_549lo.jpg
What should I press? Yes/No? I always choose No but I want to make sure I am doing the right thing. Thanks. Why do I get this message anyways? Is AGK doing something wrong to the audio maybe?
BigDid
14th January 2007, 05:25
As a work-around, I took the final avi that AGK created and loaded it up in vdubmod. Then I demuxed the mp3 audio from it, ran it through MP3Gain to boost the volume, and remuxed it back with vdubmod.
Is there anything wrong with this method or am I doing fine?
Hi,
Nothing wrong with Mp3gain except it should not be needed.
Compare the original audio volume (should be in the agk_tmp folder) with the one created by agk and the one with MP3 gain. If the one created by AGK is not louder than the original there could be an install problem cause the log seems fine.
Is this audio problem happening for this file only or for every file? If yes, you could try a complete uninstall and a clean install (nothing more, nothing less) of the 2.40 AGK
EDIT:
Also I get this message in vdubmod everytime I load the final avi created by AGK:
http://img180.imageshack.us/img180/4918/vbrma3.png
No link visible and the pic is blank in imageshack ?
What should I press? Yes/No? I always choose No but I want to make sure I am doing the right thing. Thanks. Why do I g gainet this message anyways? Is AGK doing something wrong to the audio maybe?
If my supposition is good, in VdubMod preferences open the AVI tab and check "Do not correct Mpeg layerIII audio streams" it should stop the pop-up.
Did
mob
14th January 2007, 05:38
Hi BigDid, thanks for helping me. It seems like you are always helping me with my questions. I appreciate it.
Nothing wrong with Mp3gain except it should not be needed.
Compare the original audio volume (should be in the agk_tmp folder) with the one created by agk and the one with MP3 gain. If the one created by AGK is not louder than the original there could be an install problem cause the log seems fine.
The original audio and the one created by autogk are exactly the same volume (very low... about 71dB). I need to use MP3Gain to get it to 90dB which sounds good. BTW, the log doesn't say anything about normalizing so are you sure it is ok? :(
Is this audio problem happening for this file only or for every file? If yes, you could try a complete uninstall and a clean install (nothing more, nothing less) of the 2.40 AGK
This is a clean install. I even did a clean windows xp installation before installing AGK. I have no other software/codecs that can conflict with AGK.
No link visible and the pic is blank in imageshack
Maybe because the pic is a PNG. Here is a JPG hosted with another server:
http://img104.imagevenue.com/loc549/th_49092_vbr_122_549lo.jpg (http://img104.imagevenue.com/img.php?image=49092_vbr_122_549lo.jpg)
http://img104.imagevenue.com/img.php?image=49092_vbr_122_549lo.jpg
If my supposition is good, in VdubMod preferences open the AVI tab and check "Do not correct Mpeg layerIII audio streams" it should stop the pop-up.
OK I tried it but I still get the pop-up. But why do I get this message anyways? Is that normal? Maybe something is wrong.
BigDid
14th January 2007, 06:02
Hi BigDid, thanks for helping me. It seems like you are always helping me with my questions. I appreciate it.
You are welcome, nothing personal :D , I try to help whenever possible
BTW, the log doesn't say anything about normalizing so are you sure it is ok? :(
If you want to verify by yourself you'll have to watch the screen for the normalize commandline after the source analysing by VDM and before the audio encoding commandline.
OK I tried it but I still get the pop-up. But why do I get this message anyways? Is that normal? Maybe something is wrong.
In addition to the last suggestion try in preferences/Vdubmod "Keep corrupted data (Mp3/ac3/dts)"
The pop-up is related to VBR MP3 header, I never had any problem with a bad header.
Did
mob
14th January 2007, 06:17
If you want to verify by yourself you'll have to watch the screen for the normalize commandline after the source analysing by VDM and before the audio encoding commandline.
Yep it definitely doesn't do the normalizing step. I watch the log on the screen while the process is happening and there is no sign that normalizing is happening :(
In addition to the last suggestion try in preferences/Vdubmod "Keep corrupted data (Mp3/ac3/dts)"
Hmmm. this message still pops up no matter what :(
The pop-up is related to VBR MP3 header, I never had any problem with a bad header.
Do you mean that you never get this message before? Or you do get the message but it is not a problem?
I mean, I don't know why AGK doesn't normalize for me but I dont mind as long as I can use mp3gain to do my normalizing after AGK is complete. The only problem is this message I am getting and I don't know why I get it or how to answer it. :(
BigDid
14th January 2007, 06:36
Yep it definitely doesn't do the normalizing step. I watch the log on the screen while the process is happening and there is no sign that normalizing is happening :(
Please try with a standard ac3 audio from a DVD source to Mp3 VBR
Or you do get the message but it is not a problem?
Edited: When i had this pop-up, I answered NO and had no problem afterward.
Did
mob
14th January 2007, 07:49
Please try with a standard ac3 audio from a DVD source to Mp3 VBR
Yes, in the past when I did DVD to avi with AGK I was able to have AGK normalize the audio for me with no problems.
Right now this is the first time I am trying to do it with *.mpa audio. The source is MPA (I don't know what is MPA but that is what it is). Maybe MPA cannot be normalized?
It is not a problem (for me)
LOL I am still confused :D
Lets rephrase the question. When you encode VBR mp3 audio with AGK and then load your final avi file in vdubmod... do you get that message pop-up that I showed in the screenshot?
Thanks for helping me man, and i'm sorry for all the questions but it seems like when one thing goes wrong it always leads to another problem :(
CWR03
14th January 2007, 08:18
The .MPA stream is probably being muxed directly back into the new file without being changed. The same is done when re-encoding an .AVI with .MP3 audio, and since most .MPA is MPEG-2 layer 3 audio (just like MP3), it's not getting normalized. You'll have to do it manually.
mob
14th January 2007, 09:50
The .MPA stream is probably being muxed directly back into the new file without being changed. The same is done when re-encoding an .AVI with .MP3 audio, and since most .MPA is MPEG-2 layer 3 audio (just like MP3), it's not getting normalized. You'll have to do it manually.
Hi CWR03. Thanks for your input.
The MPA is clearly being encoded to MP3. I start off with a 60mb MPA audio which AGK is encoding infront of my eyes to a 20mb MP3 file that is muxed in with the AVI. No normalization occurs though.
It's very strange... :(
Anyways, I understand that I have to do it manually for whatever the reason may be. And I have no problem doing it manually. But the only thing that bothers me is that message I get in vdubmod when I load the avi that AGK creates. I need to load this avi into vdubmod so I can remove the audio track and replace it with a normalized version that I make with MP3Gain. But why do I get this message and what does it mean and how should I answer it?
http://img104.imagevenue.com/loc549/th_49092_vbr_122_549lo.jpg (http://img104.imagevenue.com/img.php?image=49092_vbr_122_549lo.jpg)
http://img104.imagevenue.com/img.php?image=49092_vbr_122_549lo.jpg
mob
14th January 2007, 11:49
Well I've done some searching and I figured out that Vdubmod gives me that message because I am using VBR mp3 instead of CBR mp3. And according to what I found out, VBR mp3 is not supported in the AVI container.
But i still don't know if I should press Yes or NO.
Maybe I should use nandub to replace the audio? what do you guys think?
buzzqw
14th January 2007, 11:54
simple click NO, no need to rewrite header
BHH
CWR03
14th January 2007, 13:12
buzzqw is right, clicking "No" will work. VBR MP3 is most definitely supported in the .AVI container. Nandub doesn't support VBR MP3.
BigDid
14th January 2007, 19:00
Another hint, is the advanced audio enabled (in Ctrl/F11)?
If yes, try without...
Did
mob
15th January 2007, 08:57
Thanks to all.
Now that I know this message I am getting is normal as well as how to answer it, I think my problem is solved.
We still don't know why AGK isn't normalizing the audio for me, but at least I can do it manually.
Thanks again. :)
btw BigDid, I wasn't using any of the advanced audio options so it must be something else ;)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.