Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using the gecko-mediaplayer plugin (formerly "mplayerplug-in"). The totem plugin was not always working correctly with Opera, and I'm actually depending on the [Copy URL] feature of gecko-mediaplayer.

However that plugin does some inept buffering of videos. It seems to default to 20% caching regardless of what you set in the preferences window. This is quite annoying for big video files. But appearantly it's by design http://groups.google.com/group/gecko-mediaplayer/browse_thread/thread/b7f0f5a3cedc8979
The Gentoo forums listed some workaround http://forums.gentoo.org/viewtopic-t-816690.html - but ~/.config/gecko-mediaplayer/gecko-mediaplayer.conf is not working in the Ubuntu version.

Does anyone know the actual way to configure the cache= size. Which is the real configuration filename under Ubuntu?


I've now tried that gconf registry, but apps > gecko-mediaplayer > preferenes > cache has no effect either.

share|improve this question

2 Answers 2

A quick glance at the source code suggests that the gconf setting is called "cache_size" not "cache", and that the default value is 2048.

If all else fails you could always change it in the plugin source code and rebuild the package. It's on line 280 of src/plugin.cpp.

share|improve this answer
    
Interesting +1, but it has no effect. My 10.04 version of that plugin does not seem to contain cache_size as per strings ../gecko-mediaplayer.so. Which version did you check out? (I would like to avoid any manual compilations nowadays.) –  mario Mar 15 '11 at 19:27
    
I checked the 10.10 version - gecko-mediaplayer-0.9.9.2 Also, since it appears to use dbus to fetch the config you could monitor what it is really doing with 'dbus-monitor --session' or similar. –  Alistair Buxton Mar 15 '11 at 19:33
    
My compiled version also does not have the string "cache_size" - but it is right there in the source code... –  Alistair Buxton Mar 15 '11 at 19:48
    
Identical version. Some things might be compiled out(?) I'm going to check out the source now too.. dbus-monitor was interesting, but inconclusive (displayed the buffering, but no config fetching). Thanks so far for your help! –  mario Mar 15 '11 at 19:55

It seems to me that the plugin takes its settings from /apps/gnome-mplayer/preferences (not from gecko-mediaplayer). You can try and change the settings there.

There is one problem though - it will only allow you to change the cache_size (overall size of the cache), not the cache_min (the percentage when it starts playing) key, which is probably more interesting for you.

share|improve this answer
    
Confusing, but yes, it seems to use both. The plugin corresponds to the disable_* settings in gecko-mediaplayer, but some of the other options turn up in gnome-mplayer. I'm looking into gconf/schemas/gnome-mplayer if there are other interesting options... –  mario Mar 15 '11 at 20:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.