Callback for every video frame captured

Mailing List SVR lists at svrinformatica.it
Thu Apr 16 00:01:06 PDT 2015


Il 16/04/2015 08:51, Pier ha scritto:
> Hi,
>
> 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?
> Could someone point me in the right direction to do so?

you can use a pad probe

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-dataaccess.html

or appsink

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html

and eventually appsrc:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsrc.html

if you need to give back the frame to gstreamer after your custom 
manipulations,

another option is to write a custom plugin that do what you need,

Nicola


> Thank you.
>
>
> _______________________________________________
> gstreamer-embedded mailing list
> gstreamer-embedded at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20150416/43dcfd74/attachment.html>


More information about the gstreamer-embedded mailing list