[gst-devel] how to maximize the system sound

laomie hnlaomie at gmail.com
Fri Oct 15 16:24:10 CEST 2010


On Thu, 14 Oct 2010 11:09:03 +0530
sudarshan bisht <bisht.sudarshan at gmail.com> wrote:

>  There is "volume" plugin to control the audio volume in
> gst-plugins-base .
> 
> 
> 
> On Wed, Oct 13, 2010 at 9:33 PM, laomie <hnlaomie at gmail.com> wrote:
> 
> > Hi,
> >
> > I'm newbie of gstreamer. I use python gstreamer to play a mp3 file,
> > I could follow the Python GStreamer Reference Manual and play the
> > file. But I have a problem, I don't know how to maximize the system
> > sound. I hope I could use python code to achieve it.
> >
> > Which gst-plugins-base Element shall I get to solve the problem?
> > Should I use "alsamixer" element to set the output volume? any
> > idea? any help will be appreciated.
> >
> > Thanks for your time,
> > -laomie
> >
> >
> > ------------------------------------------------------------------------------
> > Beautiful is writing same markup. Internet Explorer 9 supports
> > standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> > Spend less time writing and  rewriting code and more time creating
> > great experiences on the web. Be a part of the beta today.
> > http://p.sf.net/sfu/beautyoftheweb
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> 
> 
> 

thanks for reply. I had used "volume" as following code to achieve it.

  self.player = gst.element_factory_make("playbin2", "player")
  fakesink = gst.element_factory_make("fakesink", "fakesink")
  self.player.set_property("video-sink", fakesink)
  # output volume from 0.0 to 10.0
  self.player.set_property("volume", 1.0)




More information about the gstreamer-devel mailing list