9

I want to configure mplayer conf so that the player's default volume is not 25%. I have to increase the volume via the keyboard with every song/flick. I can only find solutions that simply over-pushing the soundcard...

7

You can run mplayer with the -af flag:

mplayer -af volume=10:1

where the value 10 means the sound is amplified by 10dB

To set this, edit the mplayer configuration file:

 ~/.mplayer/config

add the option:

af=volume=10:1

The af flag alters the hardware volume. If this doesn't work, you can try specifying the software mixer, and altering the software volume with the options:

softvol=yes
softvol-max=1000
| improve this answer | |
  • appears that -af volume=10:1 avoids using a software mixer at all, which allows mutes to work better than using softvol. Thanks for the tip! – rogerdpack Dec 27 '12 at 0:48
5

The -volume option sets the volume between 0 and 100.

mplayer -volume 40 MyMusicVideo.mp4
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy