<div dir="ltr"><div dir="ltr"><div>Hi,</div><div>I've done something similar recently. Could you please go through this discussion <a href="https://lists.freedesktop.org/archives/gstreamer-devel/2020-July/075481.html">https://lists.freedesktop.org/archives/gstreamer-devel/2020-July/075481.html</a> Since this is recent, I should be able to answer any queries you have about the approach.</div><div><br></div><div>For your first question, this is my suggestion<br></div><div>So, create a source element based on GstPushSrc (like neonhttpsrc) and in the _create function, the following should work.</div><div>Map the buffer and write what you need to it. Make sure you set the SRC CAPS of the element to the correct ones so that a right element to decode/view the video data can be linked to the source element.</div><div><br></div></div><div>For your second question, I don't think I completely understand it. But maybe the answer to the first question will allow you to come up with the answer to the second one.</div><div><br></div><div>Feel free to ask any questions.</div><div><br></div><div>Regards</div>Mandar Joshi<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Czar Softech</div><div><i><a href="https://www.czarsoftech.com" target="_blank">https://www.czarsoftech.com</a></i><br></div></div></div></div>