encapsulating cairooverlay in custom plugin

tom tomschuring at gmail.com
Fri Sep 20 13:12:49 UTC 2024


I see the example of the cairooverlay at

https://github.com/GStreamer/gst-plugins-good/blob/master/tests/examples/cairo/cairo_overlay.c

and I would like to encapsulate this example in a plugin, which type would
be the best ?

so i could do :
gst-launch-1.0 videotestsrc pattern=13 ! mycairoencapsulation !
autovideosink

I tried to do it in a GST_BIN but the pad's don't get connected.
i tried to do it in a GST_TYPE_VIDEO_FILTER but the output is completely
messed up.

Is there an example that already has this encapsulated with a simple draw
function ?
or if there isn't which direction should i go in ?

Thanks,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20240920/07287dcb/attachment.htm>


More information about the gstreamer-devel mailing list