<?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中的主题 Re: VPU decoder would cache several frames before display the first beginning frame?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-would-cache-several-frames-before-display-the-first/m-p/833534#M128012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="206296" data-username="igorpadykov" href="https://community.nxp.com/people/igorpadykov" style="color: #3d9ce7; border: 0px; font-weight: 200; font-size: 1.286rem;"&gt;igorpadykov&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your nice reply. I can not find the solution in those&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;explanations. I try to describe the detail of my question as bellow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I transmit the H264 stream (1080p@25fps)&amp;nbsp;over cable network (UDP Socket)&amp;nbsp;to the&amp;nbsp;imx6dl demo board (linux version), &amp;nbsp;the demo board receives the stream, and tries to decode it by VPU demo application. Now I found that VPU decoder will cache 5 frames before it&amp;nbsp;decodes the first beginning frame. The total latency of the streaming is about 500ms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But when I redirect the H264 stream from the demo board to &amp;nbsp;the cellphone over wifi, and play the stream, to total latency is just about 300ms. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;So I guess the cache behavior of the VPU decoder causes the bigger latency. How can I remove the cache behavior to reduce the latency? Is there any params to&amp;nbsp;set&amp;nbsp;in the VPU library to ignore the cache behavior? Many thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Jul 2018 03:32:49 GMT</pubDate>
    <dc:creator>kame_lqm</dc:creator>
    <dc:date>2018-07-01T03:32:49Z</dc:date>
    <item>
      <title>VPU decoder would cache several frames before display the first beginning frame?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-would-cache-several-frames-before-display-the-first/m-p/833532#M128010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I tried to decode real time H264 stream over VPU decoder, I received following log:&lt;/P&gt;&lt;P&gt;[INFO] &amp;nbsp;Display fps will be 30&lt;/P&gt;&lt;P&gt;[INFO] &amp;nbsp;vpu needs more bitstream in rollback mode frame_id = 0&lt;/P&gt;&lt;P&gt;[INFO] &amp;nbsp;Num of Error Mbs : 4656, in Frame : 0 &amp;nbsp;&lt;/P&gt;&lt;P&gt;VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -1&lt;/P&gt;&lt;P&gt;[INFO] &amp;nbsp;Num of Error Mbs : 4656, in Frame : 0 &amp;nbsp;&lt;/P&gt;&lt;P&gt;VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3&lt;/P&gt;&lt;P&gt;VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3&lt;/P&gt;&lt;P&gt;VPU doesn't have picture to be displayed.toutinfo.indexFrameDisplay = -3, -3 &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that VPU decoder will cache several frames before display the first beginning frame. Why? And how can I do to display the frame in real time without any delay? Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 08:49:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-would-cache-several-frames-before-display-the-first/m-p/833532#M128010</guid>
      <dc:creator>kame_lqm</dc:creator>
      <dc:date>2018-06-29T08:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: VPU decoder would cache several frames before display the first beginning frame?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-would-cache-several-frames-before-display-the-first/m-p/833533#M128011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at below explanations and solutions for vpu latency&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/317947"&gt;VPU Latency on i.MX6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/323418"&gt;imx53 latency with h264 and udpsrc&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/308415"&gt;https://community.nxp.com/thread/308415&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2018 00:34:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-would-cache-several-frames-before-display-the-first/m-p/833533#M128011</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-06-30T00:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: VPU decoder would cache several frames before display the first beginning frame?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-would-cache-several-frames-before-display-the-first/m-p/833534#M128012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="206296" data-username="igorpadykov" href="https://community.nxp.com/people/igorpadykov" style="color: #3d9ce7; border: 0px; font-weight: 200; font-size: 1.286rem;"&gt;igorpadykov&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your nice reply. I can not find the solution in those&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;explanations. I try to describe the detail of my question as bellow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I transmit the H264 stream (1080p@25fps)&amp;nbsp;over cable network (UDP Socket)&amp;nbsp;to the&amp;nbsp;imx6dl demo board (linux version), &amp;nbsp;the demo board receives the stream, and tries to decode it by VPU demo application. Now I found that VPU decoder will cache 5 frames before it&amp;nbsp;decodes the first beginning frame. The total latency of the streaming is about 500ms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But when I redirect the H264 stream from the demo board to &amp;nbsp;the cellphone over wifi, and play the stream, to total latency is just about 300ms. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;So I guess the cache behavior of the VPU decoder causes the bigger latency. How can I remove the cache behavior to reduce the latency? Is there any params to&amp;nbsp;set&amp;nbsp;in the VPU library to ignore the cache behavior? Many thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Jul 2018 03:32:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/VPU-decoder-would-cache-several-frames-before-display-the-first/m-p/833534#M128012</guid>
      <dc:creator>kame_lqm</dc:creator>
      <dc:date>2018-07-01T03:32:49Z</dc:date>
    </item>
  </channel>
</rss>

