<?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>topic Re: Request key frame in vpuenc in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253086#M23555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we have this on our taskl ist for the near future. We are currently reworking the whole IPU/VPU kernel stack for mainline, with the camera path converted over to modern v4l2 with capabilities and media controller; all components including the VPU have been changed to mem2mem devices, and we also have a generic GStreamer plugin which wraps mem2mem devices. With that setup, it is not necessary to have a custom gst element for the VPU any more - it is just another mem2mem device (like i.e. the scaler).&lt;/P&gt;&lt;P&gt;It will probably need some time until the patches are ready for mainline; project customers usually get early access to the wip code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rsc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2013 20:04:48 GMT</pubDate>
    <dc:creator>RobertSchwebel</dc:creator>
    <dc:date>2013-10-01T20:04:48Z</dc:date>
    <item>
      <title>Request key frame in vpuenc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253084#M23553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I need to generate a keyframe in a specific time. Looking to the code of vpuenc, seems that it doesnt handle events from downstream (GST_EVENT_CUSTOM_DOWNSTREAM) to check if the event request a keyframe: gst_video_event_is_force_key_unit (event) (and no, it doesnt derive from the GstVideoEncoder baseclass&amp;nbsp; class) This can be easily implementable but my question is: Any of you know the specific option I have to pass to the vpu to generate a keyframe? Or any other way? I read about encparam-&amp;gt;forceIPicture , but Im not sure Im looking in the correct direction Could someone help me with this? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 00:35:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253084#M23553</guid>
      <dc:creator>jjardon</dc:creator>
      <dc:date>2013-09-27T00:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Request key frame in vpuenc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253085#M23554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="j-post-avatar" style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN class="j-status-levels" style="font-style: inherit; font-family: inherit;"&gt;&lt;IMG alt="Employee" class="jiveImage" src="https://community.nxp.com/6.0.2.0/resources/images/status/FS_EMP_40x18.png" style="font-style: inherit; font-family: inherit;" title="Employee" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author" style="font-style: inherit; font-size: 0.9em; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/people/juangutierrez"&gt;juangutierrez&lt;/A&gt; &lt;/STRONG&gt;Oct 1, 2013 9:40 AM &lt;SPAN class="font-color-meta-light j-thread-replyto" style="padding: 0 0 0 3px; font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;(&lt;A _jive_internal="true" class="font-color-meta-light localScroll" href="https://community.nxp.com/message/353586?et=watches.email.thread#353533" style="font-style: inherit; font-family: inherit; color: #a9a9a9;" title="Go to message"&gt;in response to jamesbone&lt;/A&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="j-ui-elem j-dotted-star" style="font-style: inherit; font-family: inherit; background-position: no-repeat no-repeat;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;My initial guess is that setting the forceIPicture parameter is in the right way.&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;I or Intra frames are those one which are encoded regardless of the previous frames.&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;There is no prediction involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;I guess keyframe refers to this type of I-frame&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;This is the description of the&amp;nbsp; forceIPicture EncParam from the vpu_api_reference manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;"If this value is 0, the picture type is determined by the VPU according to the&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;various parameters such as encoded frame number and GOP size.&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;If this value is 1, the frame is encoded as an I-picture regardless of the frame&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;number or GOP size, and I-picture period calculation is reset to the initial state.&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;For MPEG-4 and H.263, I-picture is sufficient for decoder refresh. For H.264&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;mode, the picture is encoded as an Instantaneous Decoding Refresh (IDR) picture.&lt;/P&gt;&lt;P style="font-style: inherit; font-family: inherit;"&gt;This value is ignored if skipPicture = 1."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 17:11:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253085#M23554</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2013-10-01T17:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Request key frame in vpuenc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253086#M23555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;we have this on our taskl ist for the near future. We are currently reworking the whole IPU/VPU kernel stack for mainline, with the camera path converted over to modern v4l2 with capabilities and media controller; all components including the VPU have been changed to mem2mem devices, and we also have a generic GStreamer plugin which wraps mem2mem devices. With that setup, it is not necessary to have a custom gst element for the VPU any more - it is just another mem2mem device (like i.e. the scaler).&lt;/P&gt;&lt;P&gt;It will probably need some time until the patches are ready for mainline; project customers usually get early access to the wip code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rsc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 20:04:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253086#M23555</guid>
      <dc:creator>RobertSchwebel</dc:creator>
      <dc:date>2013-10-01T20:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Request key frame in vpuenc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253087#M23556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is very interesting. I have been working on GStreamer 1.0 plugins for the imx VPU and IPU (link: &lt;A href="https://github.com/dv1/gstreamer-imx" title="https://github.com/dv1/gstreamer-imx"&gt;dv1/gstreamer-imx · GitHub&lt;/A&gt; ) , and stumbled upon several such issues (for example, the IPU headers reside in the kernel, the ipu-lib is not usable with the imx6..) But from what you describe, these plugins won't be necessary with mem2mem.&lt;/P&gt;&lt;P&gt;So your changes will make the VPU work on top of V4L , do I understand this correctly? Will you make use of dmabuf there, and remove the physical addresses? And, how will the Vivante GPU's direct textures be integrated? (They can directly render from a physical address, making them useful for video playback) I guess ideally the drivers would be modified to use EGL_image instead, and a v4l &amp;lt;-&amp;gt; EGL_image bridge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 14:05:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253087#M23556</guid>
      <dc:creator>dv1</dc:creator>
      <dc:date>2013-10-02T14:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Request key frame in vpuenc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253088#M23557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm working towards a functioning Ubuntu 13.04 build with GPU/VPU support, are your 1.0 plugins usable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 19:10:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253088#M23557</guid>
      <dc:creator>mtx512</dc:creator>
      <dc:date>2013-10-15T19:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Request key frame in vpuenc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253089#M23558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, sorry for the late reply, I never got any notification about your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are usable, yes. Are you by any chance already in Freenode #cubox ? I have seen a "jas-hacks" user there sometimes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 00:39:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Request-key-frame-in-vpuenc/m-p/253089#M23558</guid>
      <dc:creator>dv1</dc:creator>
      <dc:date>2014-03-05T00:39:23Z</dc:date>
    </item>
  </channel>
</rss>

