[gst-devel] Stopping a gst-launch-ed pipeline

Stefan Kost ensonic at hora-obscura.de
Wed Apr 14 14:05:44 CEST 2010


lorenzo centurelli wrote:
> Hi all,
> My target is to close the pipe without the use of the keyboard...
> Is it possible to close the pipe automatically, when it isn't feed by
> the v4lsrc,without the use of CTRL-C?
Normaly the source sends EOS if it knows that the stream has ended. The
ctrl-c on gst-launch also sends a eos (when using -e).
Using num-buffers on a source sends eos after that many buffers have
been pushed. There is no send-eos-after-n-secs-of-inactivity feature in
source yet. You will need to write an application to do that.

Stefan

> Thank you
>
> Lorenzo
>
> 2010/4/9 Kapil Agrawal <kapil.agl at gmail.com <mailto:kapil.agl at gmail.com>>
>
>     It causes gst-launch to intercept and send EOS
>
>     On Thu, Apr 8, 2010 at 11:22 PM, Wes Miller <wmiller at sdr.com
>     <mailto:wmiller at sdr.com>> wrote:
>
>
>         Not sure what this means.  Does the -e cause gst-launch to
>         intercept ctrl-c
>         and send an EOS or does it just send only EOS?
>
>         Wes
>         --
>         View this message in context:
>         http://n4.nabble.com/Stopping-a-gst-launch-ed-pipeline-tp1774202p1774989.html
>         Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
>         ------------------------------------------------------------------------------
>         Download Intel&#174; Parallel Studio Eval
>         Try the new software tools for yourself. Speed compiling, find
>         bugs
>         proactively, and fine-tune applications for parallel performance.
>         See why Intel Parallel Studio got high marks during beta.
>         http://p.sf.net/sfu/intel-sw-dev
>         _______________________________________________
>         gstreamer-devel mailing list
>         gstreamer-devel at lists.sourceforge.net
>         <mailto:gstreamer-devel at lists.sourceforge.net>
>         https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
>
>     -- 
>     http://www.linkedin.com/in/kapilagrawal
>
>     ------------------------------------------------------------------------------
>     Download Intel&#174; Parallel Studio Eval
>     Try the new software tools for yourself. Speed compiling, find bugs
>     proactively, and fine-tune applications for parallel performance.
>     See why Intel Parallel Studio got high marks during beta.
>     http://p.sf.net/sfu/intel-sw-dev
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.sourceforge.net
>     <mailto:gstreamer-devel at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list