<div dir='auto'><div class="gmail_extra" dir="auto"><div class="gmail_quote"><br><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="text-align:left;direction:ltr"><blockquote style="margin:0 0 0 0.8ex;border-left:2px #729fcf solid;padding-left:1ex"><pre>Hi everybody,</pre><pre><br></pre><pre>I want to import an Intel dmabuf..it is shared via a filedescriptor and </pre><pre>I am wondering if is the only possible way to import it with </pre><pre>gst_egl_image_from_dma_buf_direct(). I don't want to create an image </pre></blockquote><div>what Image, EGL image?</div></div></blockquote></div></div><div dir="auto"><br></div><div class="gmail_extra" dir="auto"></div><div dir="auto">Yes, as I understand, it creates an EGLImage, but I don't want it to be created. The buffer is in xrgb format. Is it possible to directly encode the content of the buffer?</div><div dir="auto"><br></div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="text-align:left;direction:ltr"><div><br></div><blockquote style="margin:0 0 0 0.8ex;border-left:2px #729fcf solid;padding-left:1ex"><pre>(this is an uneccessary step) but directly encode it with H264. I also </pre></blockquote><div>Use GPU to encode it?</div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Right, Hardware encode it with Gpu. I think vaapih264enc would be the right encoder</div><div dir="auto"><br></div><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="text-align:left;direction:ltr"><div><br></div><blockquote style="margin:0 0 0 0.8ex;border-left:2px #729fcf solid;padding-left:1ex"><pre>tried to import it with "fdsrc" but it seems to be only suitable for </pre><pre>concole, not for dmabuf's. What is the most efficient way to get access </pre><pre>to a dmabuf to directly encode it?</pre><pre><br></pre><pre>Thanks in advance,</pre><pre><br></pre><pre>Regina König</pre><pre><br></pre></blockquote></div>
</blockquote></div><br></div></div>