I don't know if an automatic volume gain component exists -- sorry. There's a nice pygst tutorial at http://pygstdocs.berlios.de/pygst-tutorial/index.html . Specially check http://pygstdocs.berlios.de/pygst-tutorial/playbin.html . It should be better, but seems using it may be more complex than your initial idea.