ffmpeg's -vol parameter is confusing me.

256 => normal (i guess meaning same as input volume, no change)
512 => (double the volume - read this somewhere).

So what to do for 3 times the volume? 1.5 times the volume?

Basically, lets say I have the max sound amplitudes (audacity levels) in 3 files as:

0.8
0.6
0.9

I want to amplify in the first two files, so that max=0.9 in all files. What parameters of -vol I would use?

link|improve this question
Where is the description of that parameter? man ffmpeg doesn't show it. – slhck May 18 '11 at 6:29
Same issue. I'm confused too. – JamesM-SiteGen May 26 '11 at 10:40
feedback

1 Answer

Well, this is really elementary school maths, I suppose.

If 256 is norm (0.8), then you simply have to divide it by normative level and multiply with required level, e.g.

256 * 0.9/0.8 = 288
256 * 0.9/0.6 = 384

See cross multiplication.

The real question is, how to make ffmpeg output all audio normalized to 1, regardless of current amplitude level.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.