News:

Current Full E-Touch Version: 10.2.0
Current Demo E-Touch Version: 10.0.0
Current Beta: 10.2.1 Beta 22 (09/02/23)

Main Menu

mp4 gain

Started by jukejohn, August 31, 2010, 12:20:57 PM

Previous topic - Next topic

jukejohn

does anybody know of a mp4 volume normalizer

coffee

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.
    

jukejohn

 ??? 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

coffee

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();  "
    

coffee

I'll post up a complete file system within the next week.
    

jukejohn


jukejohn

coffee
these are mainly for mp4 files ive downloaded and not dvd rips
if that makes any difference
cheers

alice

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!