[MPlayer-users] volume control problem

The Wanderer inverseparadox at comcast.net
Tue Sep 9 14:39:07 CEST 2008


legolas eragon wrote:

> Hi I am facing a problem while playing songs on mplayer. I have
> created a playlist using "find <dir> -name *.mp3 -playlist >
> playlist.txt" command.
> 
> Now I am able to play the songs thus formed in this playlist. Problem
> comes when I am changing the volume through '9' key to 50% for a
> song, it gets reset to 100% for all subsequent songs.
> 
> If I want to set the volume to 50% as default value for all the songs
> in the playlist, which command line options should be provided while
> playing the songs in the playlist.

Add the '-softvol' option (if you have a hardware sound mixer, which you
probably don't if you're seeing the effect you describe) and play around
with the '-af volume=VALUE' option until you find the right volume
level. Then make sure that these options appear on the command line
before any filename.

If the options appear before any filename, they will be applied to all
files specified. If they appear after a specific filename, they will be
applied only to that one file.

There is no command-line option which will allow software volume changes
and so forth to persist between files. Hardware volume changes will
persist (and in fact will affect other programs as well), but are only
available if the computer actually has a hardware mixer device.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.



More information about the MPlayer-users mailing list