<p dir="ltr"><br>
Le 2016-07-18 06:43, "Frediano Ziglio" <<a href="mailto:fziglio@redhat.com">fziglio@redhat.com</a>> a écrit :<br>
><br>
> I'm quite new to gstreamer. Can you point me on some information how to<br>
> do it? At the moment we receive dma buffers from another software (Qemu).<br>
> More appropriately they are DRM primes which implements dma buffers.</p>
<p dir="ltr">You can wrap them using gst_dmabuf_allocator_new(). Then append that to an empty GstBuffer, add if needed a GstVideMeta (if you have stride that is not width * bytesPerPixels). You can then push those buffers using aposrc, glupload should be able to import. Note, you need to force egl if on X11, as this feature is not available in GLX.</p>
<p dir="ltr">><br>
> How to push them to a pipeline ? Can I use appsrc ?<br>
><br>
> > In the case of EGL, it was supported only for pushing decoded buffers to<br>
> > downstream, nonethelessright now is dead code [1]. We have to re-enable it<br>
> > and adapt it to GstGLMemory interfaces.<br>
> ><br>
> > 1. <a href="https://bugzilla.gnome.org/show_bug.cgi?id=767203">https://bugzilla.gnome.org/show_bug.cgi?id=767203</a><br>
> ><br>
> > vmjl<br>
><br>
> Frediano<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</p>