<?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 MPEG-4 decoder  - very very imortant in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-decoder-very-very-imortant/m-p/907417#M13710</link>
    <description>&lt;DIV class="ForumPostContentText" id="_ctl0__ctl1_bcr__ctl0___PostRepeater__ctl1_PostViewWrapper"&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Arial" size="2"&gt;Sir,&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Arial" size="2"&gt;I am using the MPEG-4 decoder in a Directshow filter. Some times, the incoming buffer doesnt have enough data to decode a frame or it may have many frames. So I have to do a loop to deliver all the frames that available in the sample. How can I know if the data is enough to be decoded? Suppose that I have a buffer that contains 2 frames and half, I will decode the first one, then the second, and then when I trying to decode the 3'rd, I failed (It may be from &lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Arial" size="2"&gt;mp4_DecodeVideoObjectPlanefunction or mp4_Parsefunction), in this case I have to wait for next buffer to append the data, so I can decode the 3'rd frame and so on and so forth. I handle this by keeping the state of the mp4_Info structure before trying todecode any frame, when there is anerror, Icopy the old mp4_Info status to my mp4_Info member variable to use it in the next time (for the 3'rd frame). The problem is that some result frames are corrupted. Do you have any idea to help me.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Arial" size="2"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 05 Oct 2006 19:24:23 GMT</pubDate>
    <dc:creator>ahmadkq</dc:creator>
    <dc:date>2006-10-05T19:24:23Z</dc:date>
    <item>
      <title>MPEG-4 decoder  - very very imortant</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-decoder-very-very-imortant/m-p/907417#M13710</link>
      <description>&lt;DIV class="ForumPostContentText" id="_ctl0__ctl1_bcr__ctl0___PostRepeater__ctl1_PostViewWrapper"&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Arial" size="2"&gt;Sir,&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Arial" size="2"&gt;I am using the MPEG-4 decoder in a Directshow filter. Some times, the incoming buffer doesnt have enough data to decode a frame or it may have many frames. So I have to do a loop to deliver all the frames that available in the sample. How can I know if the data is enough to be decoded? Suppose that I have a buffer that contains 2 frames and half, I will decode the first one, then the second, and then when I trying to decode the 3'rd, I failed (It may be from &lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Arial" size="2"&gt;mp4_DecodeVideoObjectPlanefunction or mp4_Parsefunction), in this case I have to wait for next buffer to append the data, so I can decode the 3'rd frame and so on and so forth. I handle this by keeping the state of the mp4_Info structure before trying todecode any frame, when there is anerror, Icopy the old mp4_Info status to my mp4_Info member variable to use it in the next time (for the 3'rd frame). The problem is that some result frames are corrupted. Do you have any idea to help me.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;FONT face="Arial" size="2"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Oct 2006 19:24:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-decoder-very-very-imortant/m-p/907417#M13710</guid>
      <dc:creator>ahmadkq</dc:creator>
      <dc:date>2006-10-05T19:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPEG-4 decoder  - very very imortant</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-decoder-very-very-imortant/m-p/907418#M13711</link>
      <description>Hi f_c:&lt;BR /&gt;
Sorry for asking this but.. How do you get the starting codes you are talking about?. Is there any UMC method?&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Oct 2006 19:09:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-decoder-very-very-imortant/m-p/907418#M13711</guid>
      <dc:creator>r3d</dc:creator>
      <dc:date>2006-10-10T19:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: MPEG-4 decoder  - very very imortant</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-decoder-very-very-imortant/m-p/907419#M13712</link>
      <description>&lt;P&gt;Hi f_c,&lt;/P&gt;
&lt;P&gt;What if i have one frame data, in this case i will not find the next frame markers so i will wait to receive another data. Is this the only way?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2006 13:52:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/MPEG-4-decoder-very-very-imortant/m-p/907419#M13712</guid>
      <dc:creator>ahmadkq</dc:creator>
      <dc:date>2006-10-11T13:52:40Z</dc:date>
    </item>
  </channel>
</rss>

