Freebox Jukebox

E-Touch General Category => General Discussion => Topic started by: jukejohn on August 31, 2010, 12:20:57 PM

Title: mp4 gain
Post by: jukejohn on August 31, 2010, 12:20:57 PM
does anybody know of a mp4 volume normalizer
Title: Re: mp4 gain
Post by: coffee on August 31, 2010, 11:03:34 PM
MP4 uses mp3 audio right?
If so you can create a small bat file to extract the audio with AVI2WAV , normalize it with MP3Gain and compile it again using a JOBS folder with VirtualDub. All of this with the command line switches.
I not sure if VirtualDub will be able to proses MP4 files but if not you just need a app that does.
Title: Re: mp4 gain
Post by: jukejohn on September 01, 2010, 10:38:54 AM
 ??? thanks coffee but still lost
i take it you mean i can take out the audio and use mp3gain
and put it back again
never used virtualdub or av12wave
is there a help full guide or could you to put a basic guide
together
cheers
Title: Re: mp4 gain
Post by: coffee on September 01, 2010, 10:57:29 AM
I'll upload a sample of this within the next week and you can take a look at it.
The bat file should look something like this:

"@echo on

echo convert %1

copy %1 ..\aa.avi
cd ..

start /wait avi2wavcmd aa.avi aa.mp3
start /wait mp3gain /r /f /c aa.mp3
start /wait VirtualDub /s"VirtualDub.jobs" /x /r
del aa.mp3
del aa.avi

cd out
move ..\bb.avi %1
cd ..

cd in"

And the virtualDub JOBS file should look something like this:

"VirtualDub.Open("C:\\Normalize\\aa.avi",0,0);
VirtualDub.audio.SetSource(1);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.EnableFilterGraph(0);
VirtualDub.video.SetInputFormat(0);
VirtualDub.video.SetOutputFormat(7);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.audio.filters.Clear();
VirtualDub.audio.SetSource("C:\\Normalize\\aa.mp3");
VirtualDub.SaveAVI("C:\\Normalize\\bb.avi");
VirtualDub.Close();  "
Title: Re: mp4 gain
Post by: coffee on September 01, 2010, 10:58:42 AM
I'll post up a complete file system within the next week.
Title: Re: mp4 gain
Post by: jukejohn on September 01, 2010, 11:27:28 AM
 :beer cheers coffee
Title: Re: mp4 gain
Post by: jukejohn on September 01, 2010, 12:44:38 PM
coffee
these are mainly for mp4 files ive downloaded and not dvd rips
if that makes any difference
cheers
Title: Re: mp4 gain
Post by: alice on April 21, 2011, 04:16:46 AM
You can try bvcsoft mp4 video converter,It can not only convert video to mp4 ,but also normalize any videos to the same sound level.support mp3 gain,mp4 gain.
It works great for me.
good luck!