Subscribe to RSS

Audio Boost in mplayer

Back to MainPage.  Back to LinuxStuff.

I watch technical lectures from various sources, and often they have very quiet sound.  mplayer can boost the volume through software amplification, using one of two methods.

Note that if the input was recorded too softly, distortion when using software amplification at high gain is hard to avoid.  This will be particularly noticeable for any loud sounds or audio peaks.

Method 1: Use the software volume audio filter

mplayer -af volume=<gain>:<soft_clipping>   <filetoplay>

For a 20dB gain, without soft-clipping, use:

mplayer -af volume=20:0  <filetoplay>

Method 2: Use software mixing, and change the scale of the software volume scaler

mplayer -softvol -softvol-max 300

This commands mplayer to use software mixing, and to let the user increase the sound to 300% of the normal max.

Back to MainPage.  Back to LinuxStuff.

Edited on Sun, Nov 15, 2009 at 3:44 a.m.