try using alsasink . <br><br>
<div class="gmail_quote">On Tue, Dec 22, 2009 at 2:59 PM, gather bzbz <span dir="ltr"><<a href="mailto:gbzbz@yahoo.com">gbzbz@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">Thanks. Tried, but failed with<br><br>ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could not open audio device for playback. Device is being used by another application.<br><br>I guess all the pipes are executed in competition....Any suggestions?<br>
<br>--- On Tue, 12/22/09, sudarshan bisht <<a href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>> wrote:<br><br>> From: sudarshan bisht <<a href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>><br>
</div>
<div class="im">> Subject: Re: [gst-devel] how to loop pipelines?<br></div>> To: "Discussion of the development of GStreamer" <<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>><br>
> Date: Tuesday, December 22, 2009, 12:28 AM<br>
<div>
<div></div>
<div class="h5">> type the same command n times in terminal<br>> . e.g filesrc ! mad ! audioconvert ! osssink filesrc !<br>> mad ! audioconvert ! osssink filesrc ! mad ! audioconvert<br>> ! osssink ........<br>
><br>><br>> On Tue, Dec 22, 2009 at 1:53 PM,<br>> gather bzbz <<a href="mailto:gbzbz@yahoo.com">gbzbz@yahoo.com</a>><br>> wrote:<br>><br>><br>> Yeah, can do that. But any way to loop it from the pipeline<br>
> script itself? I googled a little bit, someone was talking<br>> about setting the pipe stages to get it done, but have not<br>> found any samples yet. Anyone can kindly provide some?<br>> Thanks.<br>><br>
><br>> --- On Tue, 12/22/09, shinstar <<a href="mailto:LiHsinChang@besta.com.tw">LiHsinChang@besta.com.tw</a>><br>> wrote:<br>><br>> > From: shinstar <<a href="mailto:LiHsinChang@besta.com.tw">LiHsinChang@besta.com.tw</a>><br>
><br>> > Subject: Re: [gst-devel] how to loop pipelines?<br>> > To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>> > Date: Tuesday, December 22, 2009, 12:17 AM<br>
><br>><br>><br>> ><br>> > Hi,<br>> > Maybe you should write a simple shell script or build<br>> your<br>> > own GStreamer<br>> > applications.<br>> ><br>> > regards,<br>
> ><br>> ><br>> > gather bzbz wrote:<br>> > ><br>><br>> > > Say, if I have a mp3 file, I can play it with<br>> "filesrc<br>> > ! mad !<br>> > > audioconvert ! osssink ", how can I loop it<br>
> so that<br>> > the same mp3 file gets<br>> > > played again and again? idealy, the number of<br>> loops<br>><br>> > can be controled by a<br>> > > number. Thanks a ton!<br>> > ><br>
> > ><br>> > ><br>> > ><br>> > ><br>> ><br>> ------------------------------------------------------------------------------<br>> > > This SF.Net email is sponsored by the Verizon<br>
><br>> > Developer Community<br>> > > Take advantage of Verizon's best-in-class<br>> app<br>> > development support<br>> > > A streamlined, 14 day to market process makes<br>> app<br>
> > distribution fast and<br>> > > easy<br>><br>> > > Join now and get one step closer to millions of<br>> > Verizon customers<br>> > > <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
> > > _______________________________________________<br>><br>> > > gstreamer-devel mailing list<br>> > > <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> > > <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>><br>> > ><br>> > ><br>> ><br>
> > --<br>> > View this message in context: <a href="http://n4.nabble.com/how-to-loop-pipelines-tp976779p976785.html" target="_blank">http://n4.nabble.com/how-to-loop-pipelines-tp976779p976785.html</a><br>><br>
> > Sent from the GStreamer-devel mailing list archive at<br>> > Nabble.com.<br>> ><br>> ><br>> ------------------------------------------------------------------------------<br>> > This SF.Net email is sponsored by the Verizon<br>
> Developer<br>><br>> > Community<br>> > Take advantage of Verizon's best-in-class app<br>> development<br>> > support<br>> > A streamlined, 14 day to market process makes app<br>> > distribution fast and easy<br>
> > Join now and get one step closer to millions of<br>> Verizon<br>><br>> > customers<br>> > <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
> > _______________________________________________<br>> > gstreamer-devel mailing list<br>><br>> > <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> > <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>><br>> ><br>><br>><br>><br>><br>> ------------------------------------------------------------------------------<br>
> This SF.Net email is sponsored by the Verizon Developer<br>> Community<br>> Take advantage of Verizon's best-in-class app<br>> development support<br>><br>> A streamlined, 14 day to market process makes app<br>
> distribution fast and easy<br>> Join now and get one step closer to millions of Verizon<br>> customers<br>> <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
><br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
><br>><br>><br>><br>> --<br>> Regards,<br>><br>> Sudarshan Bisht<br>><br>><br></div></div>> -----Inline Attachment Follows-----<br>
<div class="im">><br>> ------------------------------------------------------------------------------<br>> This SF.Net email is sponsored by the Verizon Developer<br>> Community<br>> Take advantage of Verizon's best-in-class app development<br>
> support<br>> A streamlined, 14 day to market process makes app<br>> distribution fast and easy<br>> Join now and get one step closer to millions of Verizon<br>> customers<br>> <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
</div>> -----Inline Attachment Follows-----<br>
<div>
<div></div>
<div class="h5">><br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>><br><br><br><br><br>------------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Verizon Developer Community<br>Take advantage of Verizon's best-in-class app development support<br>A streamlined, 14 day to market process makes app distribution fast and easy<br>
Join now and get one step closer to millions of Verizon customers<br><a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>