Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:


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

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

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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .