one way is add an identity element just before sink & using the handoff signal , save the buffer ?<br><a href="http://www.gstreamer.net/data/doc/gstreamer/0.10.3/gstreamer-plugins/html/gstreamer-plugins-identity.html">http://www.gstreamer.net/data/doc/gstreamer/0.10.3/gstreamer-plugins/html/gstreamer-plugins-identity.html</a><br>
<br>Best Luck<br>Kapil<br><br><div class="gmail_quote">On Mon, Jan 17, 2011 at 6:52 PM, Andreas Lubensky <span dir="ltr"><<a href="mailto:lubensky@cognitec.com">lubensky@cognitec.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
I want to use gstreamer to play all kinds of video sources, especially<br>
webcams, video files and DVDs.<br>
In the framework i am using, video sources get grabbed image by image in a<br>
loop. Currently, i am not sure how to combine that with gstreamer. My idea is<br>
to write a video sink that always keeps a copy of the last image. But this<br>
seems rather ugly...i thought there might be some way to get a snapshot of a<br>
running stream. That might be no problem with webcams, but i couldn't figure<br>
out yet how to do it with video files.<br>
As i am new to gstreamer, i probably just need a nudge in the right<br>
direction...<br>
<br>
------------------------------------------------------------------------------<br>
Protect Your Site and Customers from Malware Attacks<br>
Learn about various malware tactics and how to avoid them. Understand<br>
malware threats, the impact they can have on your business, and how you<br>
can protect your company and customers by using code signing.<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</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>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.mediamagictechnologies.com">www.mediamagictechnologies.com</a> (Gstreamer, ffmpeg, Red5, Streaming)<br>twitter handle: @gst_kaps<br><a href="http://www.linkedin.com/in/kapilagrawal">http://www.linkedin.com/in/kapilagrawal</a><br>