encapsulating cairooverlay in custom plugin

Nicolas Dufresne nicolas at ndufresne.ca
Sun Sep 22 11:57:08 UTC 2024


Hi,

Le sam. 21 sept. 2024, 05 h 15, tom via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> a écrit :

> 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 ?
>

This has already been done. Documentation and examples at:

https://gstreamer.freedesktop.org/documentation/cairo/index.html?gi-language=c


Nicolas


p.s. feel free to join us on discourse.gstreamer.org, most of what once
happened on the mailing list has moved there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20240922/ba6714ef/attachment.htm>


More information about the gstreamer-devel mailing list