<?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 Re: H264 CPU Usage in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856720#M7246</link>
    <description>Open audio-video-codecsdocumc-manual.pdf and search for "UMC::H264EncoderParams class members".&lt;BR /&gt;Use all parameters between parentheses; they seem geared towards maximum speed.&lt;BR /&gt;</description>
    <pubDate>Wed, 15 Jul 2009 18:39:41 GMT</pubDate>
    <dc:creator>oxydius</dc:creator>
    <dc:date>2009-07-15T18:39:41Z</dc:date>
    <item>
      <title>H264 CPU Usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856715#M7241</link>
      <description>I am currently trying to use IPP to implement a h246 rtp video stream, the encoding and decoding all seem to work fine, but what is troubling is the amount of CPU consumed by the encoding process.&lt;BR /&gt;&lt;BR /&gt;These are my current encoder settings...&lt;BR /&gt;&lt;BR /&gt;UMC::H264EncoderParams encoder_params;&lt;BR /&gt;&lt;BR /&gt; encoder_params.key_frame_controls.method         = 1;&lt;BR /&gt; encoder_params.key_frame_controls.interval       = 100;&lt;BR /&gt; encoder_params.key_frame_controls.idr_interval   = 100;&lt;BR /&gt;&lt;BR /&gt; encoder_params.info.clip_info.height             = 320;&lt;BR /&gt; encoder_params.info.clip_info.width              = 240;&lt;BR /&gt; encoder_params.info.bitrate                      = 1000000;&lt;BR /&gt; encoder_params.info.framerate                    = 20;&lt;BR /&gt; encoder_params.num_slices                        = 40;&lt;BR /&gt; encoder_params.numThreads                        = 0;&lt;BR /&gt; encoder_params.numFramesToEncode                 = INT_MAX;&lt;BR /&gt;&lt;BR /&gt;With these settings I get &amp;gt;50% CPU usage on a Pentuim D 2.80Ghz, is this to be expected?&lt;BR /&gt;Are other people using the IPP audio-video codecs for realtime streams, if so how? (I am using IPP 6.1).&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;David.</description>
      <pubDate>Tue, 14 Jul 2009 00:25:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856715#M7241</guid>
      <dc:creator>david_jacksonipfx_co</dc:creator>
      <dc:date>2009-07-14T00:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: H264 CPU Usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856716#M7242</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/422416"&gt;david.jacksonipfx.com&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;I am currently trying to use IPP to implement a h246 rtp video stream, the encoding and decoding all seem to work fine, but what is troubling is the amount of CPU consumed by the encoding process.&lt;BR /&gt;&lt;BR /&gt;These are my current encoder settings...&lt;BR /&gt;&lt;BR /&gt;UMC::H264EncoderParams encoder_params;&lt;BR /&gt;&lt;BR /&gt;encoder_params.key_frame_controls.method = 1;&lt;BR /&gt;encoder_params.key_frame_controls.interval = 100;&lt;BR /&gt;encoder_params.key_frame_controls.idr_interval = 100;&lt;BR /&gt;&lt;BR /&gt;encoder_params.info.clip_info.height = 320;&lt;BR /&gt;encoder_params.info.clip_info.width = 240;&lt;BR /&gt;encoder_params.info.bitrate = 1000000;&lt;BR /&gt;encoder_params.info.framerate = 20;&lt;BR /&gt;encoder_params.num_slices = 40;&lt;BR /&gt;encoder_params.numThreads = 0;&lt;BR /&gt;encoder_params.numFramesToEncode = INT_MAX;&lt;BR /&gt;&lt;BR /&gt;With these settings I get &amp;gt;50% CPU usage on a Pentuim D 2.80Ghz, is this to be expected?&lt;BR /&gt;Are other people using the IPP audio-video codecs for realtime streams, if so how? (I am using IPP 6.1).&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;David.&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;How much cpu are you using if you only specify 1 slice?</description>
      <pubDate>Tue, 14 Jul 2009 14:22:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856716#M7242</guid>
      <dc:creator>Emmanuel_W_</dc:creator>
      <dc:date>2009-07-14T14:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: H264 CPU Usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856717#M7243</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/404536"&gt;eweber&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;How much cpu are you using if you only specify 1 slice?&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;If I speicify 1 slice, I get a reduction of maybe 1-2% CPU, just to be specific I'm trying to send 640x480 @ 30 frames per second and using about 90% CPU.&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jul 2009 19:52:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856717#M7243</guid>
      <dc:creator>david_jacksonipfx_co</dc:creator>
      <dc:date>2009-07-14T19:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: H264 CPU Usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856718#M7244</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
Try the following :&lt;BR /&gt;&lt;BR /&gt;encoder_params.profile_idc = H264_BASE_PROFILE;&lt;BR /&gt;encoder_params.m_QualitySpeed = 0; // max speed&lt;BR /&gt;encoder_params.entropy_coding_mode = 0; // CAVLC&lt;BR /&gt;encoder_params.transform_8x8_mode_flag = false;&lt;BR /&gt;encoder_params.mv_search_method = 2;&lt;BR /&gt;encoder_params.me_split_mode = 0; // 16x16 only&lt;BR /&gt;encoder_params.me_search_x = 8;&lt;BR /&gt;encoder_params.me_search_y = 8;&lt;BR /&gt;&lt;BR /&gt;That should be a good start, but your output quality may decrease. Perhaps someome from Intel can comment on params which have the biggest speed impact without noticeable quality decrease.&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jul 2009 21:26:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856718#M7244</guid>
      <dc:creator>oxydius</dc:creator>
      <dc:date>2009-07-14T21:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: H264 CPU Usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856719#M7245</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/428122"&gt;oxydius&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; Try the following :&lt;BR /&gt;&lt;BR /&gt;encoder_params.profile_idc = H264_BASE_PROFILE;&lt;BR /&gt;encoder_params.m_QualitySpeed = 0; // max speed&lt;BR /&gt;encoder_params.entropy_coding_mode = 0; // CAVLC&lt;BR /&gt;encoder_params.transform_8x8_mode_flag = false;&lt;BR /&gt;encoder_params.mv_search_method = 2;&lt;BR /&gt;encoder_params.me_split_mode = 0; // 16x16 only&lt;BR /&gt;encoder_params.me_search_x = 8;&lt;BR /&gt;encoder_params.me_search_y = 8;&lt;BR /&gt;&lt;BR /&gt;That should be a good start, but your output quality may decrease. Perhaps someome from Intel can comment on params which have the biggest speed impact without noticeable quality decrease.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you for the answers so far, now I'm getting ~60% for 640x480 @ 10fps, whist this is an improvement it is still obvously an unaceptable amount of CPU to be using on a client PC.&lt;BR /&gt;Any further insite is welcome.&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jul 2009 21:54:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856719#M7245</guid>
      <dc:creator>david_jacksonipfx_co</dc:creator>
      <dc:date>2009-07-14T21:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: H264 CPU Usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856720#M7246</link>
      <description>Open audio-video-codecsdocumc-manual.pdf and search for "UMC::H264EncoderParams class members".&lt;BR /&gt;Use all parameters between parentheses; they seem geared towards maximum speed.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jul 2009 18:39:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856720#M7246</guid>
      <dc:creator>oxydius</dc:creator>
      <dc:date>2009-07-15T18:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: H264 CPU Usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856721#M7247</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/428122"&gt;oxydius&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Open audio-video-codecsdocumc-manual.pdf and search for "UMC::H264EncoderParams class members".&lt;BR /&gt;Use all parameters between parentheses; they seem geared towards maximum speed.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;I gave that I try, I get variations of a couple of % but nothing hudge.&lt;BR /&gt;Still at the point where 160x120 @ 30 fps is using ~25% CPU.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Jul 2009 20:12:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856721#M7247</guid>
      <dc:creator>david_jacksonipfx_co</dc:creator>
      <dc:date>2009-07-15T20:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: H264 CPU Usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856722#M7248</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/422416"&gt;david.jacksonipfx.com&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;BR /&gt;If I speicify 1 slice, I get a reduction of maybe 1-2% CPU, just to be specific I'm trying to send 640x480 @ 30 frames per second and using about 90% CPU.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;David, &lt;BR /&gt;&lt;BR /&gt;I did a quick test on a T7300 processor@ 2.0 with sample code application umc_video_enc_con.exe. &lt;BR /&gt;&lt;BR /&gt;The parameter I used from here (the high speed one): &lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/setting-h264-encoding-parameters-in-intel-ipp-media-processing-samples/" target="_blank"&gt;http://software.intel.com/en-us/articles/setting-h264-encoding-parameters-in-intel-ipp-media-processing-samples/&lt;/A&gt;&lt;BR /&gt;I changed the slice number to 2. &lt;BR /&gt;&lt;BR /&gt;Please find the performance here: &lt;BR /&gt;when set threading =2: &lt;BR /&gt;&lt;BR /&gt;Num frames encoded = 150&lt;BR /&gt;Encoding Time = 2.95 sec, 50.84 fps&lt;BR /&gt;Average CPU usage = 99.07%&lt;BR /&gt;&lt;BR /&gt;When set threading =1 &lt;BR /&gt;&lt;BR /&gt;Num frames encoded = 150&lt;BR /&gt;Encoding Time = 4.28 sec, 35.03 fps&lt;BR /&gt;Average CPU usage = 50.08%&lt;BR /&gt;&lt;BR /&gt;This performance look much better at my laptop system. Of course, the test bitstream will also impact performance result.&lt;BR /&gt;Could you check how the attached par file work for you? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Jul 2009 03:14:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856722#M7248</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2009-07-16T03:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: H264 CPU Usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856723#M7249</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/21699"&gt;Chao Yu (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;David, &lt;BR /&gt;&lt;BR /&gt;I did a quick test on a T7300 processor@ 2.0 with sample code application umc_video_enc_con.exe. &lt;BR /&gt;&lt;BR /&gt;The parameter I used from here (the high speed one): &lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/setting-h264-encoding-parameters-in-intel-ipp-media-processing-samples/" target="_blank"&gt;http://software.intel.com/en-us/articles/setting-h264-encoding-parameters-in-intel-ipp-media-processing-samples/&lt;/A&gt;&lt;BR /&gt;I changed the slice number to 2. &lt;BR /&gt;&lt;BR /&gt;Please find the performance here: &lt;BR /&gt;when set threading =2: &lt;BR /&gt;&lt;BR /&gt;Num frames encoded = 150&lt;BR /&gt;Encoding Time = 2.95 sec, 50.84 fps&lt;BR /&gt;Average CPU usage = 99.07%&lt;BR /&gt;&lt;BR /&gt;When set threading =1 &lt;BR /&gt;&lt;BR /&gt;Num frames encoded = 150&lt;BR /&gt;Encoding Time = 4.28 sec, 35.03 fps&lt;BR /&gt;Average CPU usage = 50.08%&lt;BR /&gt;&lt;BR /&gt;This performance look much better at my laptop system. Of course, the test bitstream will also impact performance result.&lt;BR /&gt;Could you check how the attached par file work for you? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;This helped a little bit, the more I play with the params, the more that it seems to be a matter of balancing things.&lt;BR /&gt;I can get the CPU down to about 10% for 160x120 @ 10fps, which is acceptable.&lt;BR /&gt;Thank you for your help.&lt;BR /&gt;Cheers&lt;BR /&gt;David.&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Jul 2009 21:31:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856723#M7249</guid>
      <dc:creator>david_jacksonipfx_co</dc:creator>
      <dc:date>2009-07-16T21:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: H264 CPU Usage</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856724#M7250</link>
      <description>&lt;P&gt;David,&lt;/P&gt;
&lt;P&gt;Would you please post the parameters you are using to increase the encoding process? Thank you.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Venkat.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2010 17:17:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H264-CPU-Usage/m-p/856724#M7250</guid>
      <dc:creator>Venkat_R_1</dc:creator>
      <dc:date>2010-03-04T17:17:38Z</dc:date>
    </item>
  </channel>
</rss>

