top of page
Writer's pictureFahad H

How to Normalize AVI Video Files

Many occasions when I’ve created a DVD from an AVI file and performed it on my TV, I must increase the TV quantity nearly all the best way to most to be able to hear the actors. Then when the motion switched, the TV would blare out and nearly make me deaf so I must decrease the amount. Of course for quiet scenes I needed to increase the amount once more. This began to get very annoying. I instructed myself there needed to be a means the place I might normalize the AVI and have the amount degree at typical TV volumes in order that I’d not need to continually increase and decrease the amount relying on what a part of the film I used to be watching.

I had the same issues for my mp3 music information however I used to be in a position to equalize these in order that all of them performed on the similar quantity after I performed the CD in my automotive or audio system. The quantity from an AVI file can’t be handled the identical as a mp3 music, because the AVI has a a lot wider vary of sound. AVI sound can go from very low to very excessive the place mp3 quantity tends to be at a extra regular degree.

To see if I might do one thing comparable, I carried out an experiment with an AVI file, that after I created a DVD, had this very low quantity inflicting the TV quantity to be cranked up and cranked down continually.

The following had been the software program packages I used.

1) Audiograbber 1.83 by Jackie Franck 2) MP3gain by SourceForge 3) Normalize-0.253 by Manual Kasper 4) Pers-o-FrontEnd 4 Normalize Gui for Normalize-0.253 5) Pazera Audio Extractor 6) AVIcodec

All the above software program are free for obtain. Just Google and discover. The very first thing we have to do is to seek out out what sort of audio file is within the AVI. We do that by working the AVIcodec program. We choose the AVI in query after which click on on it in this system to see its traits.

In an AVI the audio is often mp3 and might be both of the next:

1) Bit price of 128 kbs, Sampling frequency of 44,100 hz and Channels 2-stereo, or 2) Bit price of 128 kbs, Sampling frequency of 48,000 hz and Channels 2-stereo

The very first thing we do is extract the audio file from the AVI utilizing Pazera. We extract one audio file as a PCM wav file. We then extract the audio file once more however as an mp3 file. The mp3 file is often the audio that’s encoded within the AVI vedio file. If the mp3 file is sampled at 48000 hz then it is advisable to extract it first at 44100 hz as that’s the means audiograbber expects the wav file to be.

We rename the information as:

1) TestPCM.wav for the PCM file 2) TestMP3.mp3 for the mp3 file

We now open Audiograbber and enter the normalize window. We enter the 44100 hz PCM wav TestPCM.wav after which press the take a look at button to see its peak and common (quantity) worth.

The following had been the outcomes:

Peak Value: 77.77 Average Value: 13.68

By mp3 quantity requirements the common could be thought-about to be on the acute low facet. We now open the MP3gain program and enter the mp3 file TestMP3.mp3 and carry out a observe evaluation which gave:

Volume: 82.6

Since this had been transformed to a DVD, it seems then that if the mp3 extracted audio file has a quantity of 82.6, then this may be thought-about too low for regular DVD conversion.

We now run the Pers-o-frontend GUI and enter the 44100 hz TestPCM.wav file. We use the -m parameter at 100% to set all peak audios to 100%. To get 100% this system indicated it had to make use of a acquire issue of two.184 dB

We now use audiograbber and enter the -m modified TestPCM.wav and do a take a look at run which gave the next:

Peaks: 100 Average: 17.58

We see that even with audio peaks all set to 100%, the amount was nonetheless on the low facet. I’ve discovered that making use of a acquire of about 12 db at all times appeared to present good quantity ranges. Since the -m possibility utilized about 2 db of acquire, then we solely want to use a acquire of 10 db to the modified TestPCM.wav to extend its general quantity. We run the Pers-o-frontend GUI and once more enter the -m modified TestPCM wav. This time, nevertheless, we select the -a possibility at 10 db. Now we run Audiograbber once more and this time enter the -a modified file and do a take a look at run.

The following values had been now proven for the -m and -a modified TestPCM.wav file:

Peak: 100% Average: 53.09

We see that the Average (Volume) degree elevated dramatically and is inside a very good quantity degree. Now we run Pazera once more and convert the -m and -a modified TestPCM.wav file to an mp3 file. We run MP3gain and enter this new modifed mp3 file and do a observe evaluation which gave:

Volume: 94.4

The MP3gain confirmed a quantity improve from 82.6 to 94.4, about 12 db of acquire which agreed with the two.184 db peak acquire and 10 db amplification acquire.

The AVI file was then coverted to DVD utilizing the -m and -a modified TestPCM.wav as its enter audio which might routinely change the audio that the AVI was made with. When performed on the TV, audio volumes had been fairly uniform and throughout the common TV quantity ranges. This was a dramatic enchancment over changing the AVI file with the audio it was made with.

We can now summarize the proper process to Normalize the AVI file previous to DVD conversion.

Step 1:

Using Pazera, extract the audio file first as an mp3 file, which is what it usually must be.

Step 2:

Using MP3gain, do a observe evaluation to find out the amount degree.

a) If the amount degree is round 82 then proceed to Step 3.

b) if the amount degree is round 92 db or larger then do the next:

i) Using Pazera, extract the audio as PCM wav, sampling frequency doesn’t matter

ii) Using the Pers-o-frontend GUI, modify the PCM wav with solely the -m 100 possibility

iv) Convert the AVI to DVD utilizing the -m modified PCM wav because the video audio supply.

Step 3:

i) Using Pazera, extract the audio once more as a PCM wav, sampling frequency doesn’t matter.

ii) Using the Pers-o-frontend GUI, modify the PCM wav with solely the -m 100 possibility. Take word of the acquire that this system makes use of to extend the peaks to 100%, say x db.

iii) Still utilizing the Pers-o-frontend GUI, enter the -m modifed PCM wav however now swap to the -a possibility set for a acquire of (12-x) db.

iv) Convert the AVI to DVD utilizing the -a modified PCM wav because the video audio supply.

So far this AVI normalization methodology has labored fairly nicely creating good DVD quantity ranges.

0 views0 comments

Comments


bottom of page