<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 26 janv. 2023, 14 h 00, Neil C Smith 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">On Thu, 26 Jan 2023 at 14:21, Belisko Marek via gstreamer-devel<br>
<<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" rel="noreferrer">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br>
> On Tue, Jan 24, 2023 at 5:26 PM Matt Feury <<a href="mailto:mattfeury@gmail.com" target="_blank" rel="noreferrer">mattfeury@gmail.com</a>> wrote:<br>
> ><br>
> > You should be able to leverage the identity element, specifically the `handoff` callback which gets called for every buffer that passes through it. Add that element to your pipeline, and that function will get called for every buffer. (Note that a buffer is not always guaranteed to equal a frame depending on the source you're using. For most live sources this seems to be true though)<br>
> Thanks for the info. In my pipeline I'm using playbin3 and adding<br>
> identity component isn't not possible to pipeline. Is there any other<br>
> way how to do this?<br>
<br>
Not sure if it counts as the best way to do this, but you could add it<br>
via the video-filter property.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">You can also set a bin as videi-sink and make a custom pipeline there (or just hook a pad probe to your video sink sink pad).</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best wishes,<br>
<br>
Neil<br>
<br>
-- <br>
Neil C Smith<br>
Codelerity Ltd.<br>
<a href="http://www.codelerity.com" rel="noreferrer noreferrer" target="_blank">www.codelerity.com</a><br>
<br>
Codelerity Ltd. is a company registered in England and Wales<br>
Registered company number : 12063669<br>
Registered office address : Office 4 219 Kensington High Street,<br>
Kensington, London, England, W8 6BD<br>
</blockquote></div></div></div>