Playing different songs on different channels

Thiago Sousa Santos thiago.sousa.santos at collabora.com
Mon Dec 26 04:07:06 PST 2011


On Mon, 2011-12-26 at 04:00 +0000, PragyaRai wrote:
> hi thiago,
> i am struggling with the pipeline syntax .can u please tell me the correct syntax because its throwing so many errors.
> >It says audioconvert cant be linked to interleave.
> 

Are you doing this in gst-launch? Or are you coding it?

Please paste you gst-launch line or a sample code reproducing the issue.
Also paste the full error.

--
Thiago

> 
> 
> ________________________________________
> From: gstreamer-devel-bounces+pragya.rai=lnties.com at lists.freedesktop.org [gstreamer-devel-bounces+pragya.rai=lnties.com at lists.freedesktop.org] on behalf of Thiago Sousa Santos [thiago.sousa.santos at collabora.com]
> Sent: Friday, December 23, 2011 9:31 PM
> To: gstreamer-devel at lists.freedesktop.org
> Subject: RE: Playing different songs on different channels
> 
> On Fri, 2011-12-23 at 09:17 +0000, PragyaRai wrote:
> > hi Thiago,
> >              Thanx foe your reply.i was expecting Interleave as in plugin to be used.But i tried it in my pipeline and getting lots of errors. I am new to gstreamer so can you please help me with the correct pipeline structure.
> >
> > I have test1.mp3 and test2.mp3 which i need to play seperately on left and right earplugs.
> 
> What pipeline are you using and what errors are you getting?
> 
> --
> Thiago
> 
> >
> > hope to get a reply soon
> > Warm regards
> >
> >
> > ________________________________________
> > From: gstreamer-devel-bounces+pragya.rai=lnties.com at lists.freedesktop.org [gstreamer-devel-bounces+pragya.rai=lnties.com at lists.freedesktop.org] on behalf of Thiago Sousa Santos [thiago.sousa.santos at collabora.com]
> > Sent: Friday, December 23, 2011 3:44 AM
> > To: Discussion of the development of and with GStreamer
> > Subject: Re: Playing different songs on different channels
> >
> > On Wed, 2011-12-21 at 11:03 +0000, PragyaRai wrote:
> > > how to play one song in left earphone and one song in right earphone
> > > through gstreamer ?
> > > is there any plugin for this?
> >
> > You can do that by interleaving the 2 audios into a single stream and
> > playing it as usual.
> >
> > Use something like:
> >
> > uridecodebin ! audioconvert ! audioresample ! capsfilter
> > caps="audio/x-raw-int, channels=1" ! ...
> >
> > to convert a multiple channel input into a single channel.
> >
> > Then link 2 branches like that into a interleave element.
> > You should have something like this:
> >
> > uridecodebin ! audioconvert ! audioresample ! capsfilter
> > caps="audio/x-raw-int, channels=1" ! queue ! ileave. uridecodebin !
> > audioconvert ! audioresample ! capsfilter caps="audio/x-raw-int,
> > channels=1" ! queue ! ileave. interleave name=ileave ! queue !
> > audioconvert ! autoaudiosink
> >
> > Hope this helps.
> >
> > PS.: please add a subject to your emails
> >
> > --
> > Thiago
> >
> > >
> > >
> > >
> > > Larsen & Toubro Limited
> > >
> > > www.larsentoubro.com
> > >
> > > This Email may contain confidential or privileged information for the
> > > intended recipient (s) If you are not the intended recipient, please
> > > do not use or disseminate the information, notify the sender and
> > > delete it from your system.
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > gstreamer-devel at lists.freedesktop.org
> > > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> >
> > Larsen & Toubro Limited
> >
> > www.larsentoubro.com
> >
> > This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> Larsen & Toubro Limited
> 
> www.larsentoubro.com
> 
> This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list