<?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 Failed to Initialize H264 Video Decoder in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Failed-to-Initialize-H264-Video-Decoder/m-p/815381#M4233</link>
    <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm receiving a strange error when trying to initialize H264 video decoder (IPP v6). Here is a code sample:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;[bash]UMC::H264VideoDecoder decoder;
UMC::VideoDecoderParams params;
params.numThreads = 1;
params.lFlags = 0;
params.m_pData = &amp;amp;DataIn;
params.info.stream_type = UMC::H264_VIDEO;
decoder.Init(&amp;amp;params);[/bash]&lt;/PRE&gt; &lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;The line decoder.Init(...) fails with ASSERT somewhere deep in CRT (dbgheap.c, _CrtIsValidHeapPointer(pUserData)).&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;When I debug H264 video decoder, everything goes fine tillCreateSegmentDecoderWrapper::CreateSoftSegmentDecoder is called and the firstCreateSegmentDecoder function inside it.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I have changed various streams inside DataIn, even not initialize DataIn, but there is no difference, the same CRT error.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I would really appreciate help on this one. Thanks.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Regards,&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Aleksandar&lt;/DIV&gt;</description>
    <pubDate>Wed, 29 Sep 2010 11:29:41 GMT</pubDate>
    <dc:creator>vucetica</dc:creator>
    <dc:date>2010-09-29T11:29:41Z</dc:date>
    <item>
      <title>Failed to Initialize H264 Video Decoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Failed-to-Initialize-H264-Video-Decoder/m-p/815381#M4233</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm receiving a strange error when trying to initialize H264 video decoder (IPP v6). Here is a code sample:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;[bash]UMC::H264VideoDecoder decoder;
UMC::VideoDecoderParams params;
params.numThreads = 1;
params.lFlags = 0;
params.m_pData = &amp;amp;DataIn;
params.info.stream_type = UMC::H264_VIDEO;
decoder.Init(&amp;amp;params);[/bash]&lt;/PRE&gt; &lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;The line decoder.Init(...) fails with ASSERT somewhere deep in CRT (dbgheap.c, _CrtIsValidHeapPointer(pUserData)).&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;When I debug H264 video decoder, everything goes fine tillCreateSegmentDecoderWrapper::CreateSoftSegmentDecoder is called and the firstCreateSegmentDecoder function inside it.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I have changed various streams inside DataIn, even not initialize DataIn, but there is no difference, the same CRT error.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;I would really appreciate help on this one. Thanks.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Regards,&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Aleksandar&lt;/DIV&gt;</description>
      <pubDate>Wed, 29 Sep 2010 11:29:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Failed-to-Initialize-H264-Video-Decoder/m-p/815381#M4233</guid>
      <dc:creator>vucetica</dc:creator>
      <dc:date>2010-09-29T11:29:41Z</dc:date>
    </item>
    <item>
      <title>Failed to Initialize H264 Video Decoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Failed-to-Initialize-H264-Video-Decoder/m-p/815382#M4234</link>
      <description>Hello Aleksander, &lt;BR /&gt;&lt;BR /&gt;Have you tried your streamswtih simple_player.exe. Can it decode and play them?&lt;BR /&gt;&lt;BR /&gt;How about run the H.264 decoder as in the KB &lt;A href="http://software.intel.com/en-us/articles/getting-started-with-intel-ipp-unified-media-classes-sample/"&gt;&lt;BR /&gt;http://software.intel.com/en-us/articles/getting-started-with-intel-ipp-unified-media-classes-sample/&lt;/A&gt;?&lt;BR /&gt;&lt;BR /&gt;DataIn.SetBufferPointer(cVideoData,VideoDataSize);  &lt;P&gt;DataIn.SetDataSize(VideoDataSize); &lt;/P&gt;&lt;P class="alt"&gt;//usedefaultparamter,threadingnumber=1&lt;/P&gt;&lt;P class="alt"&gt;Params.m_pData=&amp;amp;DataIn;Params.lFlags=0;Params.numThreads=1;&lt;/P&gt;&lt;P&gt;if(status=H264Decoder.Init(&amp;amp;Params)!=UMC::UMC_OK)&lt;BR /&gt;return;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2010 05:23:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Failed-to-Initialize-H264-Video-Decoder/m-p/815382#M4234</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-09-30T05:23:47Z</dc:date>
    </item>
    <item>
      <title>Failed to Initialize H264 Video Decoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Failed-to-Initialize-H264-Video-Decoder/m-p/815383#M4235</link>
      <description>Hi Ying,&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;thanks for the answer. I'm unitializing decoder as in example given in KB. If I'm not wrong, you can see that in the code sample I gave in my post, the only missing part is DataIn initialization which I did in a propper way (as in a KB example).&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;A bit more details: I'm trying to decode H264 stream extracted from MPEG2 TS. Does IPP h264 decoder expects to receive h264 stream packed up in mp4? I have used IPP Mpeg2 decoder to successfully decode MPEG2 stream extracted from MPEG2 TS, and it worked perfectly. On the other hand, h264 decoder doesn't even succeeds to initialize. The strangest thing is that it seems to produce CRT error on lines that are not related to input byte array, at all (as long as I can see).&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Stuck with this for few days and do not have a clue. I would appreciate any help.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Aleksandar&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Sep 2010 10:14:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Failed-to-Initialize-H264-Video-Decoder/m-p/815383#M4235</guid>
      <dc:creator>vucetica</dc:creator>
      <dc:date>2010-09-30T10:14:51Z</dc:date>
    </item>
    <item>
      <title>Failed to Initialize H264 Video Decoder</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Failed-to-Initialize-H264-Video-Decoder/m-p/815384#M4236</link>
      <description>I have solved it (almost). It looks like that code wasn't able to execute until I have changed code for IPP H264 decoder. It seems that the problem was withSegmentDecoderHPBase class instantiated inCreateSoftSegmentDecoderWrapper::CreateSegmentDecoder. When I have removed virtual destructor fromSegmentDecoderHPBase, and other classes thatSegmentDecoderHP derives from, everything seems to work ok. Really strange. If someone knows the reason, I would like to hear why this error is comming from. Btw, code is hosted inside DirectShow filter (if it matters at all)...perhaps I have some strange setting inside my compiler... Still do not know the reason, but again, it works when there are no those virtual destructors.</description>
      <pubDate>Thu, 30 Sep 2010 14:19:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Failed-to-Initialize-H264-Video-Decoder/m-p/815384#M4236</guid>
      <dc:creator>vucetica</dc:creator>
      <dc:date>2010-09-30T14:19:27Z</dc:date>
    </item>
  </channel>
</rss>

