<div dir="auto"><div>Hi,<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 21 sept. 2024, 05 h 15, tom via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">I see the example of the cairooverlay at<br><br><a href="https://github.com/GStreamer/gst-plugins-good/blob/master/tests/examples/cairo/cairo_overlay.c" target="_blank" rel="noreferrer">https://github.com/GStreamer/gst-plugins-good/blob/master/tests/examples/cairo/cairo_overlay.c</a><br><br>and I would like to encapsulate this example in a plugin, which type would be the best ?<br><br>so i could do :<br>gst-launch-1.0 videotestsrc pattern=13 ! mycairoencapsulation ! autovideosink<br><br>I tried to do it in a GST_BIN but the pad's don't get connected.<br>i tried to do it in a GST_TYPE_VIDEO_FILTER but the output is completely messed up.<br><br>Is there an example that already has this encapsulated with a simple draw function ?<br>or if there isn't which direction should i go in ?<br></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This has already been done. Documentation and examples at:</div><div dir="auto"><br></div><div dir="auto"><a href="https://gstreamer.freedesktop.org/documentation/cairo/index.html?gi-language=c">https://gstreamer.freedesktop.org/documentation/cairo/index.html?gi-language=c</a><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Nicolas</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">p.s. feel free to join us on <a href="http://discourse.gstreamer.org">discourse.gstreamer.org</a>, most of what once happened on the mailing list has moved there.</div></div>