<div dir="auto"><div>Hi,</div><div dir="auto">You are right. Meta is a way It can be done.</div><div dir="auto">I would suggest writing a custom meta library.</div><div dir="auto"><br></div><div dir="auto">Now to add it to the pipeline you can write a filter and do it in there.</div><div dir="auto"><br></div><div dir="auto">But as I understand, with the meta you would need a way to read it somewhere down in the pipeline. May be you can pop it to the application. What do you want to do with the frame index after you've added it to GstBuffer?</div><div dir="auto"><br></div><div dir="auto">Regards</div><div dir="auto">Mandar</div><div dir="auto">Czar Softech</div><div dir="auto"><a href="https://www.czarsoftech.com">https://www.czarsoftech.com</a></div><div dir="auto"><br></div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Wed, Jan 6, 2021, 20:27 eyalhir74 <<a href="mailto:eyalhir74@gmail.com" target="_blank" rel="noreferrer">eyalhir74@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
  I have a few bins in the pipe that run concurrently but all originates<br>
from a singe multifilesrc element.<br>
  I'd like to assign each frame coming out of the multifilesrc element a<br>
unique sequence ID - its frame index.<br>
<br>
  How would I do that? I've looked everywhere and the only thing I came up<br>
with is somehow the gst_buffer_add_meta et al... However I didn't find any<br>
complete, simple example as to how to use it/how to do what I need.<br>
<br>
Any assistance would be greatly appreciated.<br>
<br>
Thanks<br>
Eyal<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer noreferrer noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" rel="noreferrer noreferrer" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div></div></div>