[gst-devel] how to loop pipelines?
Kapil Agrawal
kapil.agl at gmail.com
Thu Dec 24 12:55:53 CET 2009
I suggest write a simple C application, and whenever you get EOS set the
pipeline to READY state and then PLAYING.
On Tue, Dec 22, 2009 at 3:04 PM, sudarshan bisht
<bisht.sudarshan at gmail.com>wrote:
> try using alsasink .
>
> On Tue, Dec 22, 2009 at 2:59 PM, gather bzbz <gbzbz at yahoo.com> wrote:
>
>> Thanks. Tried, but failed with
>>
>> ERROR: from element /GstPipeline:pipeline0/GstOssSink:osssink0: Could not
>> open audio device for playback. Device is being used by another application.
>>
>> I guess all the pipes are executed in competition....Any suggestions?
>>
>> --- On Tue, 12/22/09, sudarshan bisht <bisht.sudarshan at gmail.com> wrote:
>>
>> > From: sudarshan bisht <bisht.sudarshan at gmail.com>
>> > Subject: Re: [gst-devel] how to loop pipelines?
>> > To: "Discussion of the development of GStreamer" <
>> gstreamer-devel at lists.sourceforge.net>
>> > Date: Tuesday, December 22, 2009, 12:28 AM
>> > type the same command n times in terminal
>> > . e.g filesrc ! mad ! audioconvert ! osssink filesrc !
>> > mad ! audioconvert ! osssink filesrc ! mad ! audioconvert
>> > ! osssink ........
>> >
>> >
>> > On Tue, Dec 22, 2009 at 1:53 PM,
>> > gather bzbz <gbzbz at yahoo.com>
>> > wrote:
>> >
>> >
>> > Yeah, can do that. But any way to loop it from the pipeline
>> > script itself? I googled a little bit, someone was talking
>> > about setting the pipe stages to get it done, but have not
>> > found any samples yet. Anyone can kindly provide some?
>> > Thanks.
>> >
>> >
>> > --- On Tue, 12/22/09, shinstar <LiHsinChang at besta.com.tw>
>> > wrote:
>> >
>> > > From: shinstar <LiHsinChang at besta.com.tw>
>> >
>> > > Subject: Re: [gst-devel] how to loop pipelines?
>> > > To: gstreamer-devel at lists.sourceforge.net
>> > > Date: Tuesday, December 22, 2009, 12:17 AM
>> >
>> >
>> >
>> > >
>> > > Hi,
>> > > Maybe you should write a simple shell script or build
>> > your
>> > > own GStreamer
>> > > applications.
>> > >
>> > > regards,
>> > >
>> > >
>> > > gather bzbz wrote:
>> > > >
>> >
>> > > > Say, if I have a mp3 file, I can play it with
>> > "filesrc
>> > > ! mad !
>> > > > audioconvert ! osssink ", how can I loop it
>> > so that
>> > > the same mp3 file gets
>> > > > played again and again? idealy, the number of
>> > loops
>> >
>> > > can be controled by a
>> > > > number. Thanks a ton!
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> ------------------------------------------------------------------------------
>> > > > This SF.Net email is sponsored by the Verizon
>> >
>> > > Developer Community
>> > > > Take advantage of Verizon's best-in-class
>> > app
>> > > development support
>> > > > A streamlined, 14 day to market process makes
>> > app
>> > > distribution fast and
>> > > > easy
>> >
>> > > > Join now and get one step closer to millions of
>> > > Verizon customers
>> > > > http://p.sf.net/sfu/verizon-dev2dev
>> > > > _______________________________________________
>> >
>> > > > gstreamer-devel mailing list
>> > > > gstreamer-devel at lists.sourceforge.net
>> > > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >
>> > > >
>> > > >
>> > >
>> > > --
>> > > View this message in context:
>> http://n4.nabble.com/how-to-loop-pipelines-tp976779p976785.html
>> >
>> > > Sent from the GStreamer-devel mailing list archive at
>> > > Nabble.com.
>> > >
>> > >
>> >
>> ------------------------------------------------------------------------------
>> > > This SF.Net email is sponsored by the Verizon
>> > Developer
>> >
>> > > Community
>> > > Take advantage of Verizon's best-in-class app
>> > development
>> > > support
>> > > A streamlined, 14 day to market process makes app
>> > > distribution fast and easy
>> > > Join now and get one step closer to millions of
>> > Verizon
>> >
>> > > customers
>> > > http://p.sf.net/sfu/verizon-dev2dev
>> > > _______________________________________________
>> > > gstreamer-devel mailing list
>> >
>> > > gstreamer-devel at lists.sourceforge.net
>> > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >
>> > >
>> >
>> >
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > This SF.Net email is sponsored by the Verizon Developer
>> > Community
>> > Take advantage of Verizon's best-in-class app
>> > development support
>> >
>> > A streamlined, 14 day to market process makes app
>> > distribution fast and easy
>> > Join now and get one step closer to millions of Verizon
>> > customers
>> > http://p.sf.net/sfu/verizon-dev2dev
>> >
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > gstreamer-devel at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >
>> >
>> >
>> >
>> > --
>> > Regards,
>> >
>> > Sudarshan Bisht
>> >
>> >
>> > -----Inline Attachment Follows-----
>> >
>> >
>> ------------------------------------------------------------------------------
>> > This SF.Net email is sponsored by the Verizon Developer
>> > Community
>> > Take advantage of Verizon's best-in-class app development
>> > support
>> > A streamlined, 14 day to market process makes app
>> > distribution fast and easy
>> > Join now and get one step closer to millions of Verizon
>> > customers
>> > http://p.sf.net/sfu/verizon-dev2dev
>> > -----Inline Attachment Follows-----
>> >
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > gstreamer-devel at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>> >
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and
>> easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
>
> --
> Regards,
>
> Sudarshan Bisht
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
--
http://www.linkedin.com/in/kapilagrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091224/c8a20e08/attachment.htm>
More information about the gstreamer-devel
mailing list