<html>
<head>
<meta content="text/html; charset=iso-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Il 16/04/2015 08:51, Pier ha scritto:<br>
</div>
<blockquote
cite="mid:CAN2jWKGcvdcxfTLbci2v+CMG-j2L71rH6dHJB5YK7DQRJVMJ5g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>Is it possible to do a callback function (to grab
coordinates from a GPS device) for every video frame that is
being recorded in GStreamer? </div>
<div>Could someone point me in the right direction to do so? <br>
</div>
</div>
</blockquote>
<br>
you can use a pad probe<br>
<br>
<a class="moz-txt-link-freetext" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-dataaccess.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-dataaccess.html</a><br>
<br>
or appsink<br>
<br>
<a class="moz-txt-link-freetext" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html</a><br>
<br>
and eventually appsrc:<br>
<br>
<a class="moz-txt-link-freetext" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html</a><br>
<br>
if you need to give back the frame to gstreamer after your custom
manipulations,<br>
<br>
another option is to write a custom plugin that do what you need,<br>
<br>
Nicola<br>
<br>
<br>
<blockquote
cite="mid:CAN2jWKGcvdcxfTLbci2v+CMG-j2L71rH6dHJB5YK7DQRJVMJ5g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Thank you. </div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-embedded mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-embedded@lists.freedesktop.org">gstreamer-embedded@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded">http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded</a>
</pre>
</blockquote>
<br>
</body>
</html>