<?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 UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage  in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818126#M4469</link>
    <description>&lt;P&gt;Hi Emmanuel and scorpuva,&lt;/P&gt;&lt;P&gt;This has two questions here: &lt;/P&gt;&lt;P&gt;1) If the decoder tries to decode as faster as possible, what is CPU usage here, what is the max frame rate it can get? &lt;/P&gt;&lt;P&gt;I just tried the attached SampleVideo.264 file with UMC umc_h264_dec_con sample application. It almost reached the 100% CPU usage. I test at my laptop with Core 2 Duo T7300, 2.0G, and the frame rate is about 90fps. &lt;/P&gt;&lt;P&gt;2)If application code only wants to maintain about 30fps, what is CPU usage will be enough.&lt;/P&gt;&lt;P&gt;I agree with Emmanuel. 30%-40% usage of a core 2 duo 2.44 might be enough for decoding the attached video file. &lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
    <pubDate>Mon, 27 Sep 2010 02:30:00 GMT</pubDate>
    <dc:creator>Chao_Y_Intel</dc:creator>
    <dc:date>2010-09-27T02:30:00Z</dc:date>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818117#M4460</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am using intel IPP libraries for decoding H264 video stream. Video streams in 30 FPS with 1280 x 780 resolution. &lt;BR /&gt;For decoding one H264 video channel, the decoderprogramtakes around 30 - 40 % of CPU usage.&lt;BR /&gt;Even after calling the &lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ippStaticInit();&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;and below is the code snippet which i used for decoding H264 video stream data. Please let me know if i am missing anything in my code which consumes more CPU.&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;Ipp8u *cVideoData; // Contains the pointer to compressed video frame&lt;BR /&gt;Ipp8u *cRGBData; // Buffer allocated for decompressed RGB image&lt;BR /&gt;int RGBimgWidth = 1280;&lt;BR /&gt;int RGBimgHeight = 780;&lt;BR /&gt;int VideoDataSize; // datasize of compressed image&lt;BR /&gt;&lt;BR /&gt;UMC::Status status = UMC::UMC_OK;&lt;BR /&gt;UMC::MediaData DataIn;&lt;BR /&gt;UMC::VideoDecoderParams Params;&lt;BR /&gt;DataIn.SetBufferPointer(cVideoData,VideoDataSize);&lt;BR /&gt;DataIn.SetDataSize(VideoDataSize);&lt;BR /&gt;&lt;BR /&gt;Params.m_pData = &amp;amp;DataIn;&lt;BR /&gt;Params.lFlags=0;&lt;BR /&gt;Params.numThreads=1;&lt;BR /&gt;&lt;BR /&gt;if(!m_bdecInit &amp;amp;&amp;amp; status = pH264Decoder-&amp;gt;Init(&amp;amp;Params)!=UMC::UMC_OK)&lt;BR /&gt;{&lt;BR /&gt; return false;&lt;BR /&gt;}&lt;BR /&gt;m_bdecInit = true;&lt;BR /&gt;DataOut.Init(RGBimgWidth,RGBimgHeight,UMC::RGB24,8);&lt;BR /&gt;DataOut.SetBufferPointer(cRGBData,RGBimgWidth*RGBimgHeight*3);&lt;BR /&gt;status = pH264Decoder-&amp;gt;GetFrame(&amp;amp;DataIn, &amp;amp;DataOut);&lt;BR /&gt;if (status == UMC::UMC_OK)&lt;BR /&gt;{&lt;BR /&gt; pH264Decoder-&amp;gt;GetInfo(&amp;amp;Params); &lt;BR /&gt; RGBimgWidth = Params.info.clip_info.width;&lt;BR /&gt; RGBimgHeight = Params.info.clip_info.height;&lt;BR /&gt;}&lt;BR /&gt;else &lt;BR /&gt;{&lt;BR /&gt; status = pH264Decoder-&amp;gt;GetFrame(NULL, &amp;amp;DataOut);&lt;BR /&gt; if (status != UMC::UMC_OK)&lt;BR /&gt; {&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;BR /&gt;}&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2010 14:37:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818117#M4460</guid>
      <dc:creator>scorpuva</dc:creator>
      <dc:date>2010-09-24T14:37:18Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818118#M4461</link>
      <description>What processor are you using ?</description>
      <pubDate>Fri, 24 Sep 2010 23:23:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818118#M4461</guid>
      <dc:creator>Emmanuel_W_</dc:creator>
      <dc:date>2010-09-24T23:23:25Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818119#M4462</link>
      <description>Please note that processor usage is not always a good indicator of work being done. The OpenMP runtime consumes CPU cycles when managing threaded functions and can give false indications of the actual processor usage. What you really need to measure is how many cycles does it take to perform the required work. Compare your throughput with the system configured for single-processor versus multi-processor versus no-IPP versus... How you measure it depends on what is important to you, but CPU cycles consumed does not give youa full picture.</description>
      <pubDate>Sat, 25 Sep 2010 00:25:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818119#M4462</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2010-09-25T00:25:10Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818120#M4463</link>
      <description>My machine has core 2 duo processor.&lt;BR /&gt;I have given the specification about the processor below,&lt;BR /&gt;&lt;STRONG&gt;Intel Core2 duo CPU P8400 @ 2.26GHZ&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Sep 2010 08:28:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818120#M4463</guid>
      <dc:creator>scorpuva</dc:creator>
      <dc:date>2010-09-25T08:28:53Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818121#M4464</link>
      <description>&lt;BR /&gt;The code specify to use only one threading:&lt;BR /&gt;...&lt;BR /&gt;Params.numThreads=1;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;It is better set the threading number to phsical CPU core number. &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao &lt;BR /&gt;</description>
      <pubDate>Sat, 25 Sep 2010 08:32:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818121#M4464</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2010-09-25T08:32:26Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818122#M4465</link>
      <description>Even i tried setting &lt;STRONG&gt;Params.numThreads=2;&lt;BR /&gt;&lt;/STRONG&gt;Still same problem with CPU consumption. Please let me know if you require more details.&lt;BR /&gt;Correctme if i am setting any wrong values or if i am using anything wrong.</description>
      <pubDate>Sat, 25 Sep 2010 09:34:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818122#M4465</guid>
      <dc:creator>scorpuva</dc:creator>
      <dc:date>2010-09-25T09:34:40Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818123#M4466</link>
      <description>&lt;P&gt;&lt;BR /&gt;Which compiler are you using to compile the sample application? H.264 is threaded with OpenMP. It requires the compiler to support OpenMP ( Intel C++, Visual C++ 2008, etc).&lt;/P&gt;&lt;P&gt;If this also looks fine, you can attach a bitstream, so we can have a check. &lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Sat, 25 Sep 2010 13:53:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818123#M4466</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2010-09-25T13:53:42Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818124#M4467</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am using the visual studio 8 for developing my VC++ decompress module.&lt;BR /&gt;OpenMp support was not enable initially. Still i am facing the performace issue even after enabling the &lt;STRONG&gt;/openmp&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;I have attached the sample h264 video stream. Please review and let me know.</description>
      <pubDate>Sun, 26 Sep 2010 16:10:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818124#M4467</guid>
      <dc:creator>scorpuva</dc:creator>
      <dc:date>2010-09-26T16:10:27Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818125#M4468</link>
      <description>Agree but it is better than no info at all ;).&lt;BR /&gt;Note that in term of comparison, with multi thread support disabled I can decode &lt;A href="mailto:720p@30fps"&gt;720p/30fps&lt;/A&gt;/1.5mbps baseline using a small fraction &amp;lt;30% (depending of the complexity of the stream) of one core of an I7 2.66Ghz system.&lt;BR /&gt;I think 30%-40% of a core 2 duo 2.44 might be what you get. &lt;BR /&gt;&lt;BR /&gt;(note that color conversion to RGB24 is enabled which consume a little extra CPU).&lt;BR /&gt;&lt;BR /&gt;Emmanuel</description>
      <pubDate>Sun, 26 Sep 2010 16:11:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818125#M4468</guid>
      <dc:creator>Emmanuel_W_</dc:creator>
      <dc:date>2010-09-26T16:11:59Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818126#M4469</link>
      <description>&lt;P&gt;Hi Emmanuel and scorpuva,&lt;/P&gt;&lt;P&gt;This has two questions here: &lt;/P&gt;&lt;P&gt;1) If the decoder tries to decode as faster as possible, what is CPU usage here, what is the max frame rate it can get? &lt;/P&gt;&lt;P&gt;I just tried the attached SampleVideo.264 file with UMC umc_h264_dec_con sample application. It almost reached the 100% CPU usage. I test at my laptop with Core 2 Duo T7300, 2.0G, and the frame rate is about 90fps. &lt;/P&gt;&lt;P&gt;2)If application code only wants to maintain about 30fps, what is CPU usage will be enough.&lt;/P&gt;&lt;P&gt;I agree with Emmanuel. 30%-40% usage of a core 2 duo 2.44 might be enough for decoding the attached video file. &lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2010 02:30:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818126#M4469</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2010-09-27T02:30:00Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818127#M4470</link>
      <description>&lt;P&gt;The video streams in the frame rate of 30 FPS from the h264 encoder with the bitrate of 3mbps. Currently it takes around 30 - 40 percent.&lt;BR /&gt;I tested the same video stream withVLC player which takes around 15 - 20 percent. Both the VLC and My decompression module are using the RTSP connection with the h264 encoder. How does VLC can decode the same video stream with cpu usage of 15- 20 %?. How to make the IPP decoder to consume cpu below &lt;BR /&gt;20 %?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;uva&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2010 06:40:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818127#M4470</guid>
      <dc:creator>scorpuva</dc:creator>
      <dc:date>2010-09-27T06:40:32Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818128#M4471</link>
      <description>Are you sure VLC is not using any hardware acceleration ?</description>
      <pubDate>Mon, 27 Sep 2010 17:57:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818128#M4471</guid>
      <dc:creator>Emmanuel_W_</dc:creator>
      <dc:date>2010-09-27T17:57:28Z</dc:date>
    </item>
    <item>
      <title>UMC::H264VideoDecoder decoding consumes 30 - 40% CPU usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818129#M4472</link>
      <description>yes i triedwith disabling "Accelerated video output" in VLC.</description>
      <pubDate>Fri, 01 Oct 2010 06:24:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/UMC-H264VideoDecoder-decoding-consumes-30-40-CPU-usage/m-p/818129#M4472</guid>
      <dc:creator>scorpuva</dc:creator>
      <dc:date>2010-10-01T06:24:42Z</dc:date>
    </item>
  </channel>
</rss>

