<?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: Cannot decode h.264 streams on i.MX51</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-decode-h-264-streams-on-i-MX51/m-p/155019#M2030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a similar problem with my imx515. Stream decodes but is out of sync. I'm guessing it's somewhere in the code that deals with timestamp, but haven't had a chance to trace it down though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Apr 2012 01:36:08 GMT</pubDate>
    <dc:creator>stevejhung</dc:creator>
    <dc:date>2012-04-22T01:36:08Z</dc:date>
    <item>
      <title>Cannot decode h.264 streams on i.MX51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-decode-h-264-streams-on-i-MX51/m-p/155018#M2029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,  I have a problem decoding h.264 streams on i.MX51. I get the stream demuxed by ffmpeg so that my class handles only the video data. It works good for mpeg2 and mpeg4 streams but not on h.264 streams. The problem is at the very beginning of decoding: vpu_DecGetInitialInfo(,.) returns failure. It also puts the reason code 1 in the structure DecInitialInfo.  ---- RetCode error; DecInitialInfo initialInfo={0};  vpu_DecSetEscSeqInit(m_decoder.handle, 1); error=vpu_DecGetInitialInfo(m_decoder.handle, &amp;amp;initialInfo); vpu_DecSetEscSeqInit(m_decoder.handle, 0); if(error!=RETCODE_SUCCESS) { printf("Failed to get initial info of vpu_DecGetInitialInfo - return code %d, reason code %d\n", error, initialInfo.errorcode); return ERROR; } ----  You will get "Failed to get initial info of vpu_DecGetInitialInfo - return code -1, error code 1". So what is reason code in this structure? Is there any table describing the reason codes?  I use VPU firmware version 1.4.14 and library version 5.3.2.  Thanks for any help Stephan Haller&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2012 08:46:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-decode-h-264-streams-on-i-MX51/m-p/155018#M2029</guid>
      <dc:creator>StephanHaller</dc:creator>
      <dc:date>2012-04-21T08:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot decode h.264 streams on i.MX51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-decode-h-264-streams-on-i-MX51/m-p/155019#M2030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a similar problem with my imx515. Stream decodes but is out of sync. I'm guessing it's somewhere in the code that deals with timestamp, but haven't had a chance to trace it down though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2012 01:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-decode-h-264-streams-on-i-MX51/m-p/155019#M2030</guid>
      <dc:creator>stevejhung</dc:creator>
      <dc:date>2012-04-22T01:36:08Z</dc:date>
    </item>
  </channel>
</rss>

