gecko-mediaplayer muted

82 views
Skip to first unread message

netboy

unread,
Jun 10, 2012, 12:37:29 PM6/10/12
to gecko-mediaplayer
Hello,

I'm using gecko-mediaplayer in the firefox to play online radio. My
OS is Trisquel GNU/Linux.

The volume is muted, in the gecko-mediaplayer plugin, when I start
playing the radio for the first time. As I am using a read-only
filesystem (squashfs), this happens on every booting of the OS. So is
it possible to make the volume 'not muted' by default ? Is it possible
to specify that in some settings file ?

Please help.

Thanks.

Kevin DeKorte

unread,
Jun 10, 2012, 1:07:05 PM6/10/12
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Can you open gnome-mplayer and see what sound device you have selected
in Edit-Preferences? Just select one that works and it should be fine.
It is possible that the preferences are not being loaded and saved
right because of your r/o filesystem. So you may need to set the
preferences to a default value with the filesystem r/w and then switch
it back to r/o

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/U1DkACgkQ6w2kMH0L1dFWmgCfa9C4IOPyZNb1HoJWELdvMqJJ
hW0Anj4gvU2NYZDiU70/LKRsw1SHVhVs
=Ij1d
-----END PGP SIGNATURE-----

Jos Collin

unread,
Jun 10, 2012, 10:31:19 PM6/10/12
to gecko-me...@googlegroups.com
Hello Kevin,

Thanks  for the reply.

Can you open gnome-mplayer and see what sound device you have selected in Edit-Preferences? Just select one that works and it should be fine.
When the radio is playing, I selected Preferences from the context menu. There is nothing called "sound device" in the Gnome Mplayer Configuration window. Can you tell me in which tab ? I don't find anything similar.

It is possible that the preferences are not being loaded and saved
right because of your r/o filesystem. So you may need to set the
preferences to a default value with the filesystem r/w and then switch
it back to r/o
Yes, that’s right. I can set those preferences in the appropriate file and then build the squashfs r/o filesystem. Can you tell me where the Preferences are stored and how to unmute, so that I can set the values manually from the console and then build the squashfs.

Thanks,
Jos Collin

Kevin DeKorte

unread,
Jun 10, 2012, 10:36:14 PM6/10/12
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/10/2012 08:31 PM, Jos Collin wrote:
> Hello Kevin,
>
> Thanks for the reply.
>
> Can you open gnome-mplayer and see what sound device you have
> selected in Edit-Preferences? Just select one that works and it
> should be fine.
>
> When the radio is playing, I selected Preferences from the context
> menu. There is nothing called "sound device" in the Gnome Mplayer
> Configuration window. Can you tell me in which tab ? I don't find
> anything similar.


Jos,

It is under Edit -> Preferences

Player tab

Choose the drop down for Audio Output, it should look like the
attached picture.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/VWZ4ACgkQ6w2kMH0L1dHtvQCfexriHJylbvBZW6YCmDFkNXvm
GzQAn3UEnRS+QyIOBrSZD9vc86ZhU0Hi
=8D2z
-----END PGP SIGNATURE-----
Screenshot at 2012-06-10 20:35:58.png

Jos Collin

unread,
Jun 10, 2012, 10:49:11 PM6/10/12
to gecko-me...@googlegroups.com
Kevin,

It is under Edit -> Preferences

Player tab

Choose the drop down for Audio Output, it should look like the
attached picture.
 
I can see, There is no Audio Output value selected by default. I can select one right now, but it will be reverted on next reboot, as it is r/o filesystem.

Can you tell me a command line way of doing it (the preferences settings file), so that I can store the setting permanently ?

Thanks

Kevin DeKorte

unread,
Jun 10, 2012, 11:28:11 PM6/10/12
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It depends on what type of configuration file you are using. There are
three options that can be set in gmtk

keystore
gconf
dconf (gsettings)

This can be found with the following command, if you have dev libaries
installed

pkg-config --variable=preference_backend gmlib

- From there the changes are different per backend.

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/VZcsACgkQ6w2kMH0L1dGxHACfZVCwkIYzGaQ62jed1GEcSVAM
wAsAnj+6yd4zESgCYnHQphBXUfaJ1L9m
=evdr
-----END PGP SIGNATURE-----

Jos Collin

unread,
Jun 11, 2012, 12:04:32 AM6/11/12
to gecko-me...@googlegroups.com
Kevin,

pkg-config is not installed in this system. I am using the squashfs based Trisquel-Mini.

I have also made some settings in /etc/mplayerplug-in.conf. But there is no parameter in it to unmute the volume.

http://mplayerplug-in.sourceforge.net/config.php

Will that softvol help ?

THanks


--
You received this message because you are subscribed to the Google Groups "gecko-mediaplayer" group.
To post to this group, send email to gecko-me...@googlegroups.com.
To unsubscribe from this group, send email to gecko-mediapla...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gecko-mediaplayer?hl=en.


Kevin DeKorte

unread,
Jun 11, 2012, 9:11:05 AM6/11/12
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/10/2012 10:04 PM, Jos Collin wrote:
> Kevin,
>
> pkg-config is not installed in this system. I am using the
> squashfs based Trisquel-Mini.
>
> I have also made some settings in /etc/mplayerplug-in.conf. But
> there is no parameter in it to unmute the volume.
>
> http://mplayerplug-in.sourceforge.net/config.php
>
> Will that softvol help ?
>
> THanks

mplayerplug-in is a different project and uses different config files.
So are you using gecko-mediaplayer or mplayerplug-in?

Without knowing what your preference backend is, I really can't help
out much.

With the keystore backend the config file is stored in

$HOME/.config/gnome-mplayer/gnome-mplayer.conf

in GConf and DConf the config options is in

/apps/gnome-mplayer/preferences

Which you can change using gconf-editor or dconf-editor respectively.

There is no option to "unmute" or "mute" the sound by default, so it
is most likely an mplayer audio configuration issues on your setup.

You might try just setting $HOME/.mplayer/config and set

ao=alsa

in that file so that mplayer defaults to alsa and that may fix it. But
you haven't provided any logs or any output as to what is going wrong
so I'm just guessing at this point.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/V7mkACgkQ6w2kMH0L1dEq6wCgiR3AwqxhC6z83G4m7nWMKsIc
thwAoILLfgP+AhOLkY1ufskJrEO/8TZt
=yvoc
-----END PGP SIGNATURE-----

Kevin DeKorte

unread,
Jun 12, 2012, 12:35:49 AM6/12/12
to Jos Collin, gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/11/2012 10:27 PM, Jos Collin wrote:
> Kevin,
>
> The attached is the about:plugins and the debug info. I have
> noticed that when the system is booted up, the Volume Applet (on
> the Gnome panel) is muted by default. So I took the debug info by
> keeping the 'Volume Applet' and the 'gecko volume' muted.
>
> Please let me know if you need anything more. Thanks for helping.
>
> Jos Collin.

Please upgrade gnome-mplayer to something current. The version you are
using is gnome-mplayer 0.9.9.2 which is over 2 years old.

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/WxyUACgkQ6w2kMH0L1dGdbwCdE/Yp29walu0xIUqlj+yzRupo
2n4AnjJAJq9MXD4lGc7N68NzE+76Pgbz
=Wuy2
-----END PGP SIGNATURE-----

Kevin DeKorte

unread,
Jun 12, 2012, 8:57:33 AM6/12/12
to Jos Collin, gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/11/2012 10:54 PM, Jos Collin wrote:
>
>
> Please upgrade gnome-mplayer to something current. The version you
> are using is gnome-mplayer 0.9.9.2 which is over 2 years old.
>
>
> That was available by default in the Trisquel-Mini (4.5 Slaine)
> distro, which I am using. The product that I am working on is based
> on that distro. I am thinking of pulling out a later version of
> gnome-mplayer from the latest repository of Trisquel.
>
> I was wondering, will the older version of the gnome-mplayer cause
> the problem? I am sorry, if it is a bad question. Just curious to
> know the reason.
>
> Thanks,
>


Jos,

Please keep the conversation on the mailing list so that everyone can
learn.

Well the code tries to get the volume from the default device and then
uses that volume to set mplayer's volume. So if the system volume is
set to "muted" or 0% like you said in your other email. That is why it
is being set to muted in the application. Newer versions of the code
do a better job of this, but still if the system volume is 0% that is
why you are not hearing anything.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/XPL0ACgkQ6w2kMH0L1dHyHQCeLtyEsUy3+DoM8vCPjYnaBEwJ
AEwAoIMfVRXlhJqU4U8jsculyqfB+F5O
=Ktk4
-----END PGP SIGNATURE-----

Jos Collin

unread,
Jun 12, 2012, 9:33:05 AM6/12/12
to Kevin DeKorte, gecko-me...@googlegroups.com
Kevin,


Well the code tries to get the volume from the default device and then
uses that volume to set mplayer's volume. So if the system volume is
set to "muted" or 0% like you said in your other email. That is why it
is being set to muted in the application. Newer versions of the code
do a better job of this, but still if the system volume is 0% that is
why you are not hearing anything.


The system volume is muted by default, when the OS is booted up. I have tried unmute the Volume Applet (everything in the alsamixer also), then opened the browser and played a radio station. But still the volume is shown as muted in the plugin application. So it looks like there is no dependency between the system volume and the plugin's volume.

You said that it is handled better in the newer versions of gnome-mplayer. So I will upgrade gnome-mplayer to a newer version and see how it works. I can automate the unmuting of the system volume. But to solve my problem, the plugin should depend on the system volume.

Thanks,
Reply all
Reply to author
Forward
0 new messages