<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックBest way to encode OpenGL render to H264 video stream</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467991#M73839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to encode the output of an OpenGL/OpenGL-ES application running on an IMX6 Quad to an h264 video stream. We would like to have the lowest latency possible with a 1280x480 resolution at 30fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found 2 threads likely speaking about this topic:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/309677#342056"&gt;https://community.freescale.com/thread/309677#342056&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/303338#312459"&gt;https://community.freescale.com/thread/303338#312459&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those threads are speaking about using a virtual framebuffer (using the driver provided in the SDK) to render the OpenGL/OpenGL-ES application. But then we don't really understand how to read in this virtual framebuffer for encoding and, moreover, how to keep the OpenGL/OpenGL-ES application synchronized with the 30fps video encoding rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to use the gstreamer framework if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which APIs should we use ? Is there somewhere some examples we could examine ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jan 2016 10:51:51 GMT</pubDate>
    <dc:creator>colindefais</dc:creator>
    <dc:date>2016-01-27T10:51:51Z</dc:date>
    <item>
      <title>Best way to encode OpenGL render to H264 video stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467991#M73839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to encode the output of an OpenGL/OpenGL-ES application running on an IMX6 Quad to an h264 video stream. We would like to have the lowest latency possible with a 1280x480 resolution at 30fps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found 2 threads likely speaking about this topic:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/309677#342056"&gt;https://community.freescale.com/thread/309677#342056&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/303338#312459"&gt;https://community.freescale.com/thread/303338#312459&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those threads are speaking about using a virtual framebuffer (using the driver provided in the SDK) to render the OpenGL/OpenGL-ES application. But then we don't really understand how to read in this virtual framebuffer for encoding and, moreover, how to keep the OpenGL/OpenGL-ES application synchronized with the 30fps video encoding rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would like to use the gstreamer framework if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which APIs should we use ? Is there somewhere some examples we could examine ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 10:51:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467991#M73839</guid>
      <dc:creator>colindefais</dc:creator>
      <dc:date>2016-01-27T10:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to encode OpenGL render to H264 video stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467992#M73840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Colin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;Virtual FrameBuffer is not supported any more on latest GPU drivers. However the main idea to develop Virtual FB was due to Vivante previous drivers implementation not supporting zero-copy &lt;A href="https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_image.txt"&gt;https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_image.txt&lt;/A&gt;. that is supported in latest driver (from driver version 4.6 an up). &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;So I would recommend to use standard methods of pbuffer or EGLImage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;You can check more information about gpu memory allocators and system virtual pools on the i.MX6 Graphics User guide under your BSP documentation folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: #1f497d;"&gt;Regards &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2016 17:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467992#M73840</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2016-01-27T17:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to encode OpenGL render to H264 video stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467993#M73841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been looking to pbuffer or EGLImage documentation on the web and I have heard about "FrameBuffer Object" (&lt;A href="http://www.songho.ca/opengl/gl_fbo.html" title="http://www.songho.ca/opengl/gl_fbo.html"&gt;OpenGL Frame Buffer Object (FBO)&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;It is a&amp;nbsp; better solution for my use case? If so, do you have samples for i.mx6Q?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 17:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467993#M73841</guid>
      <dc:creator>colindefais</dc:creator>
      <dc:date>2016-03-03T17:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to encode OpenGL render to H264 video stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467994#M73842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I have been looking to pbuffer or EGLImage documentation on the web and I have heard about "FrameBuffer Object" (&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.songho.ca%2Fopengl%2Fgl_fbo.html" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #017bba;" target="_blank"&gt;OpenGL Frame Buffer Object (FBO)&lt;/A&gt; ).&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;It is a&amp;nbsp; better solution for my use case? If so, do you have samples for i.mx6Q?&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I also wonder how to avoid copy between the OpenGL buffer and the video encoder?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 12:57:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467994#M73842</guid>
      <dc:creator>colindefais</dc:creator>
      <dc:date>2016-03-15T12:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to encode OpenGL render to H264 video stream</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467995#M73843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find myself in an almost identical situation as Colin except I am using the imx8.&amp;nbsp; I'm trying to figure out how to encode the output of an OpenGL ES application as an h264 video stream using gstreamer.&amp;nbsp; I've found how to use EGL to make a pbuffer, and I have been following tutorials to learn about creating gstreamer pipelines, but i cannot find a good explanation/example/documentation on integrating the pbuffer into the gstreamer pipeline.&amp;nbsp; Do you or anyone else know of any examples or have an idea of where to look?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 16:15:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Best-way-to-encode-OpenGL-render-to-H264-video-stream/m-p/467995#M73843</guid>
      <dc:creator>coryb</dc:creator>
      <dc:date>2019-03-18T16:15:06Z</dc:date>
    </item>
  </channel>
</rss>

