Hi! I am facing a problem regarding Gstreamer-0.10. I need to convert stereo to mono and for that purpose I am unable to find the plugin stereo2mono. Can any body help me find the plugin or is there any other alternative???
This is the pipeline that I am trying to create: source ! mad ! stereo2mono ! speed ! osssink Thankyou!! BR Mazharf |
I think audioconvert is what you are looking for:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-audioconvert.html Audioconvert converts raw audio buffers between various possible formats. It supports integer to float conversion, width/depth conversion, signedness and endianness conversion and channel transformations. best regards, Katcipis On Wed, Jul 14, 2010 at 7:12 AM, mazharf <[hidden email]> wrote:
-- http://www.getgnulinux.org/windows ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Mon, 2010-07-19 at 09:53 -0300, Tiago Katcipis wrote:
> > This is the pipeline that I am trying to create: > > source ! mad ! stereo2mono ! speed ! osssink > > I think audioconvert is what you are looking for: Indeed, you can force mono output by putting a capsfilter after audioconvert, like this: ... ! mad ! audioconvert ! audio/x-raw-int,channels=1 ! ... However, usually it's best to just leave it at: .... ! mad ! audioconvert ! ... ! osssink and let audioconvert automatically convert to mono or not, depending on what the audio sink claims to support. Cheers -Tim ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thank you for your reply, it worked fine and now I am facing a new problem. Actually I am trying to play multiple files simultaneously. The following pipeline I have made
filesrc | decodebin | audioconvert | adder | autoaudiosink and with the help of adder element I am trying to add a new file, following is the pipeline filesrc | decodebin | audioconvert and further audioconvert is connected to the adder. These are the warnings that I am getting (out:2542): GStreamer-WARNING **: Element add already has parent (out:2542): GStreamer-WARNING **: Trying to connect elements that don't share a common ancestor: audio-converter and add (out:2542): GStreamer-WARNING **: Trying to connect elements that don't share a common ancestor: audio-converter and add Please guide me as I am new to gstreamer. B.R Mazharf |
In reply to this post by Tiago Katcipis
Thank you for your reply, it worked fine and now I am facing a new problem. Actually I am trying to play multiple files simultaneously. The following pipeline I have made
filesrc | decodebin | audioconvert | adder | autoaudiosink and with the help of adder element I am trying to add a new file, following is the pipeline filesrc | decodebin | audioconvert and further audioconvert is connected to the adder. These are the warnings that I am getting (out:2542): GStreamer-WARNING **: Element add already has parent (out:2542): GStreamer-WARNING **: Trying to connect elements that don't share a common ancestor: audio-converter and add (out:2542): GStreamer-WARNING **: Trying to connect elements that don't share a common ancestor: audio-converter and add Please guide me as I am new to gstreamer and also to this blogging stuff :) B.R Mazharf |
In reply to this post by mazharf
On Thu, Jul 22, 2010 at 2:52 AM, mazharf <[hidden email]> wrote:
You have already added the element "add" to another container.
This is because of the previous warning. Hope that helps. ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |