how to maximize the system sound

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

how to maximize the system sound

laomie
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to maximize the system sound

Sudarshan Bisht
 
 There is "volume" plugin to control the audio volume in gst-plugins-base .


 
On Wed, Oct 13, 2010 at 9:33 PM, laomie <[hidden email]> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



--
Regards,

Sudarshan Bisht

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to maximize the system sound

praveen pandey-2
In reply to this post by laomie
yes! you can use alsamixer

On Wed, Oct 13, 2010 at 9:33 PM, laomie <[hidden email]> 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to maximize the system sound

laomie
In reply to this post by Sudarshan Bisht
On Thu, 14 Oct 2010 11:09:03 +0530
sudarshan bisht <[hidden email]> wrote:

>  There is "volume" plugin to control the audio volume in
> gst-plugins-base .
>
>
>
> On Wed, Oct 13, 2010 at 9:33 PM, laomie <[hidden email]> 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
> > [hidden email]
> > 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)

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel