try using alsasink . <br><br>
<div class="gmail_quote">On Tue, Dec 22, 2009 at 2:59 PM, gather bzbz <span dir="ltr">&lt;<a href="mailto:gbzbz@yahoo.com">gbzbz@yahoo.com</a>&gt;</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 &lt;<a href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>&gt; wrote:<br><br>&gt; From: sudarshan bisht &lt;<a href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>&gt;<br>
</div>
<div class="im">&gt; Subject: Re: [gst-devel] how to loop pipelines?<br></div>&gt; To: &quot;Discussion of the development of GStreamer&quot; &lt;<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
&gt; Date: Tuesday, December 22, 2009, 12:28 AM<br>
<div>
<div></div>
<div class="h5">&gt;  type the same command n times in terminal<br>&gt; . e.g   filesrc ! mad ! audioconvert ! osssink  filesrc !<br>&gt; mad ! audioconvert ! osssink  filesrc ! mad ! audioconvert<br>&gt; ! osssink  ........<br>
&gt;<br>&gt;<br>&gt; On Tue, Dec 22, 2009 at 1:53 PM,<br>&gt; gather bzbz &lt;<a href="mailto:gbzbz@yahoo.com">gbzbz@yahoo.com</a>&gt;<br>&gt; wrote:<br>&gt;<br>&gt;<br>&gt; Yeah, can do that. But any way to loop it from the pipeline<br>
&gt; script itself? I googled a little bit, someone was talking<br>&gt; about setting the pipe stages to get it done, but have not<br>&gt; found any samples yet. Anyone can kindly provide some?<br>&gt; Thanks.<br>&gt;<br>
&gt;<br>&gt; --- On Tue, 12/22/09, shinstar &lt;<a href="mailto:LiHsinChang@besta.com.tw">LiHsinChang@besta.com.tw</a>&gt;<br>&gt; wrote:<br>&gt;<br>&gt; &gt; From: shinstar &lt;<a href="mailto:LiHsinChang@besta.com.tw">LiHsinChang@besta.com.tw</a>&gt;<br>
&gt;<br>&gt; &gt; Subject: Re: [gst-devel] how to loop pipelines?<br>&gt; &gt; To: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>&gt; &gt; Date: Tuesday, December 22, 2009, 12:17 AM<br>
&gt;<br>&gt;<br>&gt;<br>&gt; &gt;<br>&gt; &gt; Hi,<br>&gt; &gt; Maybe you should write a simple shell script or build<br>&gt; your<br>&gt; &gt; own GStreamer<br>&gt; &gt; applications.<br>&gt; &gt;<br>&gt; &gt; regards,<br>
&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; gather bzbz wrote:<br>&gt; &gt; &gt;<br>&gt;<br>&gt; &gt; &gt; Say, if I have a mp3 file, I can play it with<br>&gt; &quot;filesrc<br>&gt; &gt; ! mad !<br>&gt; &gt; &gt; audioconvert ! osssink &quot;, how can I loop it<br>
&gt; so that<br>&gt; &gt; the same mp3 file gets<br>&gt; &gt; &gt; played again and again? idealy, the number of<br>&gt; loops<br>&gt;<br>&gt; &gt; can be controled by a<br>&gt; &gt; &gt; number. Thanks a ton!<br>&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; ------------------------------------------------------------------------------<br>&gt; &gt; &gt; This SF.Net email is sponsored by the Verizon<br>
&gt;<br>&gt; &gt; Developer Community<br>&gt; &gt; &gt; Take advantage of Verizon&#39;s best-in-class<br>&gt; app<br>&gt; &gt; development support<br>&gt; &gt; &gt; A streamlined, 14 day to market process makes<br>&gt; app<br>
&gt; &gt; distribution fast and<br>&gt; &gt; &gt; easy<br>&gt;<br>&gt; &gt; &gt; Join now and get one step closer to millions of<br>&gt; &gt; Verizon customers<br>&gt; &gt; &gt; <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
&gt; &gt; &gt; _______________________________________________<br>&gt;<br>&gt; &gt; &gt; gstreamer-devel mailing list<br>&gt; &gt; &gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; &gt; &gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>&gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>
&gt; &gt; --<br>&gt; &gt; 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>&gt;<br>
&gt; &gt; Sent from the GStreamer-devel mailing list archive at<br>&gt; &gt; Nabble.com.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; ------------------------------------------------------------------------------<br>&gt; &gt; This SF.Net email is sponsored by the Verizon<br>
&gt; Developer<br>&gt;<br>&gt; &gt; Community<br>&gt; &gt; Take advantage of Verizon&#39;s best-in-class app<br>&gt; development<br>&gt; &gt; support<br>&gt; &gt; A streamlined, 14 day to market process makes app<br>&gt; &gt; distribution fast and easy<br>
&gt; &gt; Join now and get one step closer to millions of<br>&gt; Verizon<br>&gt;<br>&gt; &gt; customers<br>&gt; &gt; <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
&gt; &gt; _______________________________________________<br>&gt; &gt; gstreamer-devel mailing list<br>&gt;<br>&gt; &gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; &gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>&gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------------<br>
&gt; This SF.Net email is sponsored by the Verizon Developer<br>&gt; Community<br>&gt; Take advantage of Verizon&#39;s best-in-class app<br>&gt; development support<br>&gt;<br>&gt; A streamlined, 14 day to market process makes app<br>
&gt; distribution fast and easy<br>&gt; Join now and get one step closer to millions of Verizon<br>&gt; customers<br>&gt; <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
&gt;<br>&gt; _______________________________________________<br>&gt; gstreamer-devel mailing list<br>&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Regards,<br>&gt;<br>&gt; Sudarshan Bisht<br>&gt;<br>&gt;<br></div></div>&gt; -----Inline Attachment Follows-----<br>
<div class="im">&gt;<br>&gt; ------------------------------------------------------------------------------<br>&gt; This SF.Net email is sponsored by the Verizon Developer<br>&gt; Community<br>&gt; Take advantage of Verizon&#39;s best-in-class app development<br>
&gt; support<br>&gt; A streamlined, 14 day to market process makes app<br>&gt; distribution fast and easy<br>&gt; Join now and get one step closer to millions of Verizon<br>&gt; customers<br>&gt; <a href="http://p.sf.net/sfu/verizon-dev2dev" target="_blank">http://p.sf.net/sfu/verizon-dev2dev</a><br>
</div>&gt; -----Inline Attachment Follows-----<br>
<div>
<div></div>
<div class="h5">&gt;<br>&gt; _______________________________________________<br>&gt; gstreamer-devel mailing list<br>&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>&gt;<br><br><br><br><br>------------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Verizon Developer Community<br>Take advantage of Verizon&#39;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>