[gst-devel] Grabbing snapshots out of live stream

OB Lutz ob.lutz at gmail.com
Wed Jan 14 15:47:51 CET 2009


Thanks!

On Wed, Jan 14, 2009 at 3:15 AM, Arnout Vandecappelle <arnout at mind.be>wrote:

> On Monday 12 January 2009 21:24:20 OB Lutz wrote:
> > gst-launch -vvv gstrtpbin name=rtpbin \
> >               tcpserversrc host=127.0.0.1 port=1235 ! videoparse
> > format=YUY2 width=404 height=424 framerate=20/1 bpp=16 ! \ tee
> > name=splitter splitter.  ! queue ! typefind ! pngenc snapshot=false !
> > multifilesink sync=false preroll-queue-len=20 location=/tmp/output.png
> -vvv
> > splitter.
>
>  You don't need a typefind in your pipeline.  It fails to find the type of
> the
> raw video (there's nothing in a raw video stream to indicate what type it
> is)
> and therefore it doesn't negotiate its caps with the pngenc.
>
>  To debug a pipeline, it's convenient to strip it down until something
> works,
> that way you can find out which element causes the problem.  You can
> replace
> a video source with videotestsrc and the sink with fakesink.  That way,
> you'll find out that
>
>  videotestsrc ! typefind ! pngenc snapshot=false ! fakesink
>
> doesn't work, while
>
>  videotestsrc ! pngenc snapshot=false ! fakesink
>
> does work.
>
>  Regards,
>  Arnout
> --
> Arnout Vandecappelle                               arnout at mind be
> Senior Embedded Software Architect                 +32-16-286540
> Essensium/Mind                                     http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR
> Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090114/67a307c0/attachment.htm>


More information about the gstreamer-devel mailing list