<?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: Increasing fps of H264 encoding in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Increasing-fps-of-H264-encoding/m-p/881054#M10215</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;Hi,&lt;BR /&gt;&lt;BR /&gt;assuming that umc_video_enc_con has been compiled using an OpenMP enabled compiler,&lt;BR /&gt;and that OpenMP was actually enabled, you should be able to increase performance by &lt;BR /&gt;increasing the number of thread used for encoding.&lt;BR /&gt;When using umc_video_enc_con you can specify that using the -t argument to set the&lt;BR /&gt;number of thread you want to use to encode. For example -t 2 to have 2 threads.&lt;BR /&gt;&lt;BR /&gt;However it isn't a good idea to have more thread than you actually have core/HT so&lt;BR /&gt;for example if you have a single core machine without HT, 1 thread should be the best.&lt;BR /&gt;If you have an HT (HyperThreading) on a single core machine, you can set 2 thread.&lt;BR /&gt;With a 2 core machine with hyperthreading, 4 threads might give you the best performance.&lt;BR /&gt;&lt;BR /&gt;Alain&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/413264"&gt;gennadii.mog&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;Hello, all.
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have compiled umc_video_enc_con application from ipp-samples. After this I tried to encode generated earlier YUV420. As input parameters I used defaulth264.par file.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;As result I received next output:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;Starting H264 encoding out.yuv to file ipp.h264&lt;BR /&gt;Source video width = 320, height = 240, frameRate = 25.00&lt;BR /&gt;Max frames to encode = 300&lt;BR /&gt;Encoding bit rate = 1000000 bits per second&lt;BR /&gt;0.10.20.30.40.50.60.70.80.90.100.110.120.130.140.150.160.170.180.190.200.210.220&lt;BR /&gt;.230.240.250.260.270.280.290.300.300.300.300.&lt;BR /&gt;Summary:&lt;BR /&gt; Num frames encoded = 300&lt;BR /&gt; Encoding Time = 15.17 sec, 19.78 fps&lt;BR /&gt; Overall  Time = 15.67 sec, 19.14 fps&lt;BR /&gt; Average CPU usage = 99.70%&lt;BR /&gt; Encoded Size = 1628021 bytes&lt;BR /&gt; Compression Ratio = 21.23&lt;BR /&gt; EncodedSize/ExpectedSize = 1.09&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;As you can see fps is equal to 20.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Can anybody tell me how fps value can be increased?&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks,&lt;/DIV&gt;
&lt;DIV&gt;Gennadii&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
    <pubDate>Sat, 14 Mar 2009 04:45:52 GMT</pubDate>
    <dc:creator>avolmat</dc:creator>
    <dc:date>2009-03-14T04:45:52Z</dc:date>
    <item>
      <title>Increasing fps of H264 encoding</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Increasing-fps-of-H264-encoding/m-p/881053#M10214</link>
      <description>Hello, all.
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have compiled umc_video_enc_con application from ipp-samples. After this I tried to encode generated earlier YUV420. As input parameters I used defaulth264.par file.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;As result I received next output:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;Starting H264 encoding out.yuv to file ipp.h264&lt;BR /&gt;Source video width = 320, height = 240, frameRate = 25.00&lt;BR /&gt;Max frames to encode = 300&lt;BR /&gt;Encoding bit rate = 1000000 bits per second&lt;BR /&gt;0.10.20.30.40.50.60.70.80.90.100.110.120.130.140.150.160.170.180.190.200.210.220&lt;BR /&gt;.230.240.250.260.270.280.290.300.300.300.300.&lt;BR /&gt;Summary:&lt;BR /&gt; Num frames encoded = 300&lt;BR /&gt; Encoding Time = 15.17 sec, 19.78 fps&lt;BR /&gt; Overall  Time = 15.67 sec, 19.14 fps&lt;BR /&gt; Average CPU usage = 99.70%&lt;BR /&gt; Encoded Size = 1628021 bytes&lt;BR /&gt; Compression Ratio = 21.23&lt;BR /&gt; EncodedSize/ExpectedSize = 1.09&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;As you can see fps is equal to 20.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Can anybody tell me how fps value can be increased?&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks,&lt;/DIV&gt;
&lt;DIV&gt;Gennadii&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Mar 2009 10:17:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Increasing-fps-of-H264-encoding/m-p/881053#M10214</guid>
      <dc:creator>gennadii_mog</dc:creator>
      <dc:date>2009-03-13T10:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Increasing fps of H264 encoding</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Increasing-fps-of-H264-encoding/m-p/881054#M10215</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;Hi,&lt;BR /&gt;&lt;BR /&gt;assuming that umc_video_enc_con has been compiled using an OpenMP enabled compiler,&lt;BR /&gt;and that OpenMP was actually enabled, you should be able to increase performance by &lt;BR /&gt;increasing the number of thread used for encoding.&lt;BR /&gt;When using umc_video_enc_con you can specify that using the -t argument to set the&lt;BR /&gt;number of thread you want to use to encode. For example -t 2 to have 2 threads.&lt;BR /&gt;&lt;BR /&gt;However it isn't a good idea to have more thread than you actually have core/HT so&lt;BR /&gt;for example if you have a single core machine without HT, 1 thread should be the best.&lt;BR /&gt;If you have an HT (HyperThreading) on a single core machine, you can set 2 thread.&lt;BR /&gt;With a 2 core machine with hyperthreading, 4 threads might give you the best performance.&lt;BR /&gt;&lt;BR /&gt;Alain&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/413264"&gt;gennadii.mog&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;Hello, all.
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have compiled umc_video_enc_con application from ipp-samples. After this I tried to encode generated earlier YUV420. As input parameters I used defaulth264.par file.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;As result I received next output:&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;Starting H264 encoding out.yuv to file ipp.h264&lt;BR /&gt;Source video width = 320, height = 240, frameRate = 25.00&lt;BR /&gt;Max frames to encode = 300&lt;BR /&gt;Encoding bit rate = 1000000 bits per second&lt;BR /&gt;0.10.20.30.40.50.60.70.80.90.100.110.120.130.140.150.160.170.180.190.200.210.220&lt;BR /&gt;.230.240.250.260.270.280.290.300.300.300.300.&lt;BR /&gt;Summary:&lt;BR /&gt; Num frames encoded = 300&lt;BR /&gt; Encoding Time = 15.17 sec, 19.78 fps&lt;BR /&gt; Overall  Time = 15.67 sec, 19.14 fps&lt;BR /&gt; Average CPU usage = 99.70%&lt;BR /&gt; Encoded Size = 1628021 bytes&lt;BR /&gt; Compression Ratio = 21.23&lt;BR /&gt; EncodedSize/ExpectedSize = 1.09&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;As you can see fps is equal to 20.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Can anybody tell me how fps value can be increased?&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks,&lt;/DIV&gt;
&lt;DIV&gt;Gennadii&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Mar 2009 04:45:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Increasing-fps-of-H264-encoding/m-p/881054#M10215</guid>
      <dc:creator>avolmat</dc:creator>
      <dc:date>2009-03-14T04:45:52Z</dc:date>
    </item>
  </channel>
</rss>

