Gnome-mplayer default volume

Simple question, how do I set the default volume for gnome-mplayer?
My lack of googling skills aren't helping me.
I remember all I had to do in a previous version (8?) is go to edit>preferences and change a slider (or dropdown box, not sure) and that would let me select the default volume.
I'm using gnome-mplayer 0.9.2-1

gmplayer takes the same command-line arguments as mplayer, so you can do something like:
gmplayer -af volume=10:0 file.mp3
The volume is in decibels (dB), and generally I use a NEGATIVE number as that's the only way to decrease the default volume by any noticeable amount. On my laptop I use -30, since the default sound is horribly loud (-30 for me sets the volume at 3%, the lowest value in mplayer using default settings -- though I'm sure you could get it to 1% tweaking the various config options out there -- I haven't done the research myself yet on this fully). You will see that the volume slider is affected as desired with this setting. In the above example, the 10:0 means 10 dB, and the number following the colon sets soft clipping off (personally, I don't bother specifying soft clipping on or off; I just use volume=-30). See the manpage for mplayer (i.e., man mplayer) for details -- you need to go waaaay down to the "AUDIO FILTERS" section to see the info I just posted about volume.
Of course, if you want to do this by default every time you load up mplayer or gmplayer (or any other frontend), simply edit the config file as mentioned above (~/.mplayer/config) and put in af=volume=-30 or some other number.
EDIT: After doing some more research and testing, it looks like mplayer does not use the software mixer by default (this means that the af=volume parameter does not work, or even if it does, the volume cannot be changed later on via the '9' and '0' keyboard hotkeys). To correct this, put in your config file: softvol=1 to make sure that both mplayer and gmplayer turn on the software mixer by default. Also, to change your volume percentage increments from the default 3% to 1% increments, put in volstep=1. So my complete config file looks like this:
af=volume=-30 # use really low volume by default (only works if software mixer is turned on!!)
softvol=1 # use software mixer by default
volstep=1 # increment volume by 1% each step, instead of 3%
Hmm, I should put this into the Arch wiki sometime in the future, as I feel that this is not documented very well on the internet so far. I'll get around to it sometime, if no one else does.
Go Arch!
EDIT: Hmm, I just noticed that if I play multiple songs on a playlist, that after each song gmplayer defaults back to the 90% or so volume level on the software mixer (the volume meter on the gui display). Does anyone know how to fix this?
EDIT: I feel like I'm running the entire show here. The default volume/playlist "problem," if you google about it, is actually the way mplayer is supposed to behave. (See http://thread.gmane.org/gmane.comp.vide … ocus=57789) Anyway, I found a workaround: use mplayer instead of gmplayer (i.e., use mplayer from the command line instead of gmplayer). This is what mplayer's manpage says about the "-af volume" parameter: "NOTE: This filter is not reentrant and can therefore only be enabled once for every audio stream." So when gmplayer plays files in a playlist, it just resets back to the 90% volume mark. HOWEVER, mplayer itself does not behave like this. If you load up a playlist in mplayer (via "mplayer -playlist playlist.txt"), mplayer will consistently use the volume setting specified in your config file as shown above!! So now that mplayer uses the software mixer's volume consistently (if you change the software volume with '9' or '0' hotkeys, mplayer will "reset" back to the volume level specified in your config file, and not back to the 90% level), you can then use the master sound volume (I use my function keys on my laptop) to tweak the volume for your listening session (e.g., headphones vs. laptop speakers).
Too bad this only works on mplayer, and not gmplayer. Oh well.
Last edited by listdata (2009-01-17 21:39:25)

Similar Messages

  • [Solved] Gnome-mplayer configuration?

    Hi all. i am trying to configure mplayer, specifically gnome-mplayer to play dvd's but it doesn't seem to work. If I run
    mplayer dvd://
    things run fine, however I am trying to set it up so anyone in the house can just go to gnome-mplayer and start playing a dvd from there. When I try to configure gnome-mplayer through Preferences in the menu, it doesn't stick. So I tried looking into configuring it through the file at $HOME/.mplayer/config and then trying to play the dvd through different gnome-mplayer options through the "Disc" menu, but it doesn't play. The man page is a little daunting and slightly confusing as well, for example I don't know what it's talking about when it mentions "gmplayer," also there is no "gui.conf" file anywhere by default as far as I can tell. The wiki page says nothing about gnome-mplayer which doesn't help either.
    Reading from the man page, if I had to take a guess I have to create a section
    [gnome-mplayer]
    and put the options for it under there. If I had to take futher guesses, all the options that say "Mplayer Only" on the man page won't work with a GUI such as gnome-mplayer? I need someone to point me in the right direction.
    Last edited by felixculpa (2013-07-19 00:45:25)

    So the preferences in gnome-mplayer live in RAM without being written to a file? See if there's some permission problem preventing it from making the preferences stick, because this sounds like a bug.
    Oh and gmplayer is a crappier GUI that used to come with the mplayer package. You can try it by recompiling with --enable-gui.

  • Gnome update broke volume control, bkgd setting, etc.

    on my lenovo laptop (runs arch-64) things like the volume up/down buttons used to work, and i used to have a wallpaper background with my openbox desktops.  after the latest gnome update now all of these things are broken.  i also can't adjust the system alert volume via the gnome control center.  does anyone know if these are common issues that will probably be solved soon in a future update, or whether i should start digging and hacking?

    Fully upgraded is simply
    # pacman -Syu
    with [testing] [core] [extra] [community-testing] [community] [multilib-testing[ ]multilib] enabled.
    Here is my pacman -Q | grep gnome
    gnome-applets 3.2.0-1
    gnome-backgrounds 3.2.0-1
    gnome-bluetooth 3.2.0-1
    gnome-common 2.34.0-1
    gnome-contacts 3.2.0.1-1
    gnome-control-center 3.2.0-1
    gnome-desktop 3.2.0-1
    gnome-disk-utility 3.0.2-2
    gnome-doc-utils 0.20.6-1
    gnome-games 3.2.0-2
    gnome-games-extra-data 3.2.0-1
    gnome-icon-theme 3.2.0-1
    gnome-icon-theme-extras 3.0.0-1
    gnome-icon-theme-symbolic 3.2.0-1
    gnome-js-common 0.1.2-1
    gnome-keyring 3.2.0-1
    gnome-mag 0.16.3-1
    gnome-media 2.91.2-3
    gnome-menus 3.2.0.1-1
    gnome-mime-data 2.18.0-5
    gnome-mplayer 1.0.4-1
    gnome-nettool 3.0.0-1
    gnome-online-accounts 3.2.0.1-1
    gnome-packagekit 3.2.0-2
    gnome-panel 3.2.0-1
    gnome-screensaver 3.2.0-1
    gnome-session 3.2.0-1
    gnome-settings-daemon 3.2.0-2
    gnome-settings-daemon-updates 3.2.0-1
    gnome-sharp 2.24.2-1
    gnome-shell 3.2.0-2
    gnome-shell-extension-alternative-status-menu 3.2.0-1
    gnome-shell-extension-dock 3.2.0-1
    gnome-shell-extension-drive-menu 3.2.0-1
    gnome-shell-extension-places-menu 3.2.0-1
    gnome-shell-extensions-common 3.2.0-1
    gnome-shell-extension-weather-git 20111004-1
    gnome-sound-theme-git 20111003-1
    gnome-speech 0.4.25-2
    gnome-system-monitor 3.2.0-1
    gnome-terminal 3.2.0-1
    gnome-themes-standard 3.2.0.2-1
    gnome-tweak-tool 3.2.0-1
    gnome-user-docs 3.2.0.1-1
    gnome-utils 3.2.0-1
    gnome-vfs 2.24.4-6
    gnome-vfs-sharp 2.24.2-1
    gnome-video-effects 0.3.0-1
    libgnome 2.32.1-2
    libgnomecanvas 2.30.3-1
    libgnome-data 2.32.1-2
    libgnomekbd 3.2.0-1
    libgnome-keyring 3.2.0-1
    libgnome-media-profiles 3.0.0-2
    libgnome-sharp 2.24.2-1
    libgnomeui 2.24.4-1
    libreoffice-gnome 3.4.3-3
    libsoup-gnome 2.36.0-1
    polkit-gnome 0.103-1
    python2-gnomecanvas 2.28.1-7
    python2-gnomevfs 2.28.1-7
    python2-libgnome 2.28.1-7
    Note that I have all shell extensions turned off except for weather.
    Neal

  • Remote...How can you set the your amplifier to be the default volume?

    Does anyone know how to set your amp to be the default volume control without have to switch between devices to change the volume?
    Can you have 2 devices on the screen at the same time. Like cable box and the amp?
    i've had other sony remotes that would do it.
    Solved!
    Go to Solution.

    I think sony should keep working on improving universal remote app.
    here's little sugestion from me allow sort off split screen option on 1 side one remote and on another side another remote with seperate scrolling perhaps.
    or tiny area dedicated to just program and volume buttons that can switch while having main remote on having tiny volume remote in tiny area on screen from any remote you choose like amplifier.
    anyway maybe this is already possible anyway.
    using main remote app and mini remote app at same time.
    having tv remote as normal remote and small mini app remote having amp controls aka volume
    Just tested works fine can even hit both power buttons at same time will power on my tv and amp at same time no problem.

  • Sound working randomly in flash, vlc, gnome-mplayer since today

    Hello,
    My sound setup worked perfectly since my Arch install, but I see today that now my sound setup works randomly in flashplayer, vlc media player, and gnome-mplayer :S
    My channels aren't muted in alsamixer, of course my speakers are on...
    I don't see where the problem is :s
    Any idea ?
    Thank you

    Okay, I found the problem:
    I thought that this bug happened randomly, but it's not the case
    In fact, I don't lost the sound, but every time I start playing a file with gnome-mplayer, the PCM channel of my sound configuration is significantly decreased
    I saw that by running alsamixer when I noticed a sound problem
    Is that a "feature" or a bug ?

  • [SOLVED] Gnome Mplayer Won't Work

    I have Gnome mplayer and gecko player installed on my maching with the mplayer-mt Aur package.  Gnome-mplayer won't play any files and just says "Stopped" on the bottom.  Can't figure it out, I've tried re-installing it and the regular mplayer package too without any luck.  Anybody know what the problem might be?
    Thx
    Last edited by leberyo (2010-09-24 19:35:43)

    anonymous_user wrote:
    Did you try deleting the config for gnome-mplayer?
    rm -r ~/.config/gnome-mplayer
    Also try running gnome-mplayer from a terminal and post its output when trying to play a file.
    Deleting the gnome-mplayer folder did the job.  It works now thanks.
    The only thing is, if I change any settings whatsoever in gnome-mplayer preferences, it stops again.  I guess I'll just stick to all the stock settings...

  • (!apple video) with gnome-mplayer & gecko-mediaplayer

    I'm trying to watch these video lectures for my trig class. Can't get them to play. installed firefox 3 (branded) along with gecko-mediaplayer and gnome-mplayer. I'm running arch32 and am having the same problem in kde as I had in gnome. Not sure what the deal is since it appears to start playing but stops almost immediately. Firefox doesnt crash or anything, but the video window just opens gnome-mplayer and displays stopped in the status bar.
    Here is a link to the video
    http://asp.mathxl.com/info/mmlib_mov.as … 4_MSTR.mov
    BTW arch rocks.
    - Rusty

    Yepp, this doesn't seem to work... If you try to download the file, it actually only downloads a file named mmlib_mov.asp, which contains the following test
    <html>
    <head>
    <title>quicktimemovie</title>
    </head>
    <body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <embed src="http://quicktime.pearsoncmg.com/aw/mml/hat04/hat04_0904_MSTR.mov" width="100%" height="100%" bgcolor="000000" pluginspage="http://www.apple.com/quicktime/download/" autoplay="true" controller="true" scale="aspect">
    </embed>
    </body>
    </html>
    What a piece of bullcrap!

  • How do I change default volume for bluetooth heads...

    I've just set my e71 up with my car bluetooth system.  When I make a call the volume is too low.  Is there a way I can adjust the default volume on my phone for bluetooth headset calls - without affecting the normal volume?

    My bluetooth set has its own volume **bleep**. Doesn't yours have one?
    mgoksoy

  • Changing OSX default volume setting to a higher level in sound preferences

    When I change the default volume setting to a higher level in sound preferences within OSX, it is back at the lower level at the next listening session the following time I use iTunes on my Mac Mini. Within System Preferences there is a section that lets you "choose a device for sound output" but the only choice I have is "line-out" and under the "port" heading there is only "built-in output"--no other choices are shown. I have external speakers attached which I like to use for listening to music as I work. What is the problem? Why won't the higher volume I set remain? Also, shouldn't more than one choice be shown for sound output?

    This sounds like the problem that I'm experiencing and <a href-"http://discussions.apple.com/message.jspa?messageID=2694517#2694517">aske d about a couple of days ago. The sound level resets to 50% after shutdown.
    I tried setting the levels in Audio MIDI Set Up as suggested above, but that hasn't changed anything.
    In answer to B_web, I am running my external speakers through the headphone jack.
    So, any other suggestions?

  • Setting default volume level.

    I have a 2nd Gen Nano which I am using in my car. I have an OEM adapter which connects to the iPod through the dock adapter and allows the car's stereo controls to operate the iPod. (The stereo thinks it's a really big CD changer.)
    My problem is that the sound level from the iPod is significantly lower than that from either the radio or the actual CD changer, so when I have finished listening to the iPod I have to be careful and remember to crank the volume way down or else the radio blasts when I select a different source.
    Looking at the iPod I have made sure that the volume limit is set to maximum, and I am confident that I don't have a EU crippled unit since the sound level through the earbuds is plenty loud even at half volume and keeps going up from there.
    The thing is that when it first wakes up the volume level is always set to 50% on the slider. I cannot manually change the volume level when connected to the car because when it's connected to the adapter the iPod's controls don't work (besides it is mounted in a fairly inaccessible location), but I don't even know if doing so would help since it communicates with the stereo through the dock connector.
    My question is: Does the iPod's volume control have any effect on the signal level out through the dock connector, and if so is there a way to permanently adjust the default volume level the unit uses when it starts up? What I'd like to do is set the default volume level on the iPod to, say, 75% or whatever will balance it with the other source input levels that the car stereo uses. I tried adjusting the volume manually and then sliding the lock switch to 'Lock' but it didn't work.
    Thanks in advance.

    This sounds like the problem that I'm experiencing and <a href-"http://discussions.apple.com/message.jspa?messageID=2694517#2694517">aske d about a couple of days ago. The sound level resets to 50% after shutdown.
    I tried setting the levels in Audio MIDI Set Up as suggested above, but that hasn't changed anything.
    In answer to B_web, I am running my external speakers through the headphone jack.
    So, any other suggestions?

  • No button icons in GNOME MPlayer

    My MPlayer has no button Icons.
    A screenshot is worth a thousand words:
    I use gnome-mplayer 1.0.7
    Thanks for your help.
    Last edited by TheGatorade (2013-02-03 19:22:22)

    ConnorBehan wrote:Did you try downgrading libpng? The libpng upgrade was known to break some images. Maybe these are ones that slipped through the cracks.
    I upgraded my libpng yesterday, and some software got crash. The error informations are: "libpng15.so.15 was not found".
    Then I installed libpng15 from AUR and solved this problem. But I found that some icons of my gnome3 became strange or not display.
    So how can I recover my icons?
    Here is my current libpng version.
    local/libpng 1.6.2-3
    A collection of routines used to create PNG format graphics files
    local/libpng12 1.2.50-2
    A collection of routines used to create PNG format graphics files
    local/libpng15 1.5.15-2
    A collection of routines used to create PNG format graphics files (1.5
    branch)

  • I was working on numerous songs in Logic Pro 9, and for some reason 2 of the songs would not bounce. I get an error message: Error in parameter list / Not an existing volume, and no default volume / Bad positioning information / Bad drive number

    I was doing some minor editing in Logic Pro 9.1.8, like adding some plug-ins to audio and midi tracks on numerous songs. Most of the songs I had no problem bouncing. For some reason 2 of the songs I tried to bounce kept showing me this error message:
    "Error in parameter list / Not an existing volume, and no default volume / Bad positioning information / Bad drive number" result code=-50.
    The songs open and play fine, but won't let me bounce. I've worked with Logic for a few years and this has never happened. Any suggestions?
    Thanks,
    Johnny

    Fixed! Ran disk utilities and repaired my external HD.

  • Setting default volume level for Java Desktop

    Hello,
    I am running Sol 10 11/06 for sparc. How do I permanently set the default volume level for the Java desktop? If I change the volume manually and "save settings" on logoff, the saved setting is not saved after a reboot, after which I have to set it again.
    Thank you......

    Annoying, isn't it?
    Unfortunately the only thing you can do is lower your system volume before opening those pages. The volume could be controlled by the Web page author but most are clueless.

  • Default Volume Name

    What is the default volume name on the drives shipping with the new AirPort Time Capsule? Thank you!

    The name is Data
    This can be easily edited in AirPort Utility if you want to assign a different name.

  • [Cinnamon] Default volume level

    So the default volume in Cinnamon seems to be set to max (but muted), even if it was a different level in my previous session. So when I forget about this and unmute, I am slowly driving myself up the wall.
    How can I change the default volume in Cinnamon?
    Last edited by abstracted (2014-08-26 05:00:24)

    Try changing the state of any auto-mute settings in alsamixer.  If it is enabled, disable it or vice versa.   I had a problem identical to that -- in addition, the headset was not muted.  if you plugged in a headset, it would mute the headset and unmute the speakers.
    Edit: Note that this was a general issue -- not one specific to Cinnamon (which I do not use)
    Last edited by ewaller (2014-08-26 05:22:09)

Maybe you are looking for

  • 500 Internal Server Error in FiletoFile Scenario

    Hi All, Here we are doing FiletoFile Scenario but not on our Central Instance we are using LocalPlainJ2SE Adapters for both sender and receiever so we configured PlainJ2SEFile Adapters in both ends.In the ID of XI i configured th *XI recievr adapter*

  • Signing out and back in does not fix CC apps crashing on launch problem.

    I have installed Illustrator CC, Indesign CC, and Photoshop CC. All three of these crash upon launch. Sometimes they go unresponsive during the loading screen, sometimes they get past that but crash within seconds before I can even try to use it. I'm

  • Cannot open PSE 8 Error Code 15

    After upgrading from Windows Vista to Windows 7 I cannot open PSE8 and get a error code 15

  • SCCM 2012 Hierarchy design

    Hi I am designing an SCCM 2012 environment at the moment. We have 7 locations.  2 are data centers and have excellent links between them.  our main office is well connected to the DCs 100MB link. All other offices have between 50 and 200 users.  All

  • Access sql table

    Hi How do you access sql table to get data reflected in planning forms (apart from the HAL or via API) , Here we are using Planning 9.3.1. Is there any other way to access data. regards M.V