<div dir="ltr">You should be able to leverage the <a href="https://gstreamer.freedesktop.org/documentation/coreelements/identity.html">identity</a> 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)<div><br></div><div>Matt</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 24, 2023 at 8:00 AM Belisko Marek via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
It would be possible somehow to get notification from the gstreamer on<br>
every frame which was played. So when video have 30fps then notify 30<br>
times / second. I was searching for some examples and found<br>
gst_bus_timed_pop_filtered but I'm not sure which GST)MESSAGE_STATE*<br>
can be used for my purpose.<br>
<br>
Thanks and BR,<br>
<br>
marek<br>
<br>
-- <br>
as simple and primitive as possible<br>
-------------------------------------------------<br>
Marek Belisko - OPEN-NANDRA<br>
Freelance Developer<br>
<br>
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic<br>
Tel: +421 915 052 184<br>
skype: marekwhite<br>
twitter: #opennandra<br>
web: <a href="http://open-nandra.com" rel="noreferrer" target="_blank">http://open-nandra.com</a><br>
</blockquote></div>