<?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 H.264 UMC encoder first frame low quality in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-UMC-encoder-first-frame-low-quality/m-p/836484#M5977</link>
    <description>Hi Tamer&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help, but what I'm saying is that I have it set so that every 25th frame is an I frame and I have it set so that every I frame is an IDR.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;However, my first frame is very blocky. The next I frame - 25 frames on - quality is fine and so are the rest of the I frames.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This happens even if I increase the bitrate.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This is for a product producing H.264 versions of HD film camera footage and needs to be at full rate (1920x1080) and must be H.264 not MPEG.4. If I don't get any further answers I'll check at lower res and with MPEG4 maybe but I'm hoping someone will know the answer to this with out me having to do that...?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks again.&lt;/DIV&gt;</description>
    <pubDate>Thu, 19 Aug 2010 09:57:20 GMT</pubDate>
    <dc:creator>buttered_monkey</dc:creator>
    <dc:date>2010-08-19T09:57:20Z</dc:date>
    <item>
      <title>H.264 UMC encoder first frame low quality</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-UMC-encoder-first-frame-low-quality/m-p/836482#M5975</link>
      <description>Hi&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I'm wondering why the first frame of my H264 encoded stream is much lower quality than any of the others.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am encoding using the UMC::H264VideoEncoder and have set my params thus:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;     encoderParams.key_frame_controls.method = 1;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;     encoderParams.key_frame_controls.interval = 25;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;     encoderParams.key_frame_controls.idr_interval = 2;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So that each I frame is every 25 frames and all I frames are IDR frames (2 = every 1 I frame is an IDR. I am not sure what the value 1 does for the key_frame_controls.idr_interval...? But setting it to that seems to make no difference).&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Any of the other I frames are of much larger size and look much less blocky.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Any ideas? It means that when you first see the stream the quality looks much worse than it is.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Aug 2010 12:00:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-UMC-encoder-first-frame-low-quality/m-p/836482#M5975</guid>
      <dc:creator>buttered_monkey</dc:creator>
      <dc:date>2010-08-18T12:00:07Z</dc:date>
    </item>
    <item>
      <title>H.264 UMC encoder first frame low quality</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-UMC-encoder-first-frame-low-quality/m-p/836483#M5976</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Encoded I frame has larger size than B frames, you may try some of the following, hopfully it will make your problem clearer and get solved :&lt;BR /&gt;&lt;BR /&gt;1) increase the bitrate&lt;BR /&gt;2) decrease the resolution (frame size)&lt;BR /&gt;3) you may also try MPEG4 encoder if you are in doupt&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tamer Assad&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Aug 2010 18:08:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-UMC-encoder-first-frame-low-quality/m-p/836483#M5976</guid>
      <dc:creator>Tamer_Assad</dc:creator>
      <dc:date>2010-08-18T18:08:14Z</dc:date>
    </item>
    <item>
      <title>H.264 UMC encoder first frame low quality</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-UMC-encoder-first-frame-low-quality/m-p/836484#M5977</link>
      <description>Hi Tamer&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help, but what I'm saying is that I have it set so that every 25th frame is an I frame and I have it set so that every I frame is an IDR.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;However, my first frame is very blocky. The next I frame - 25 frames on - quality is fine and so are the rest of the I frames.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This happens even if I increase the bitrate.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This is for a product producing H.264 versions of HD film camera footage and needs to be at full rate (1920x1080) and must be H.264 not MPEG.4. If I don't get any further answers I'll check at lower res and with MPEG4 maybe but I'm hoping someone will know the answer to this with out me having to do that...?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks again.&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Aug 2010 09:57:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-UMC-encoder-first-frame-low-quality/m-p/836484#M5977</guid>
      <dc:creator>buttered_monkey</dc:creator>
      <dc:date>2010-08-19T09:57:20Z</dc:date>
    </item>
    <item>
      <title>H.264 UMC encoder first frame low quality</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-UMC-encoder-first-frame-low-quality/m-p/836485#M5978</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;The quantization value for the first frame is calculated in the H264_AVBR_GetInitQP functions in umc_h264_avbr.cpp.&lt;BR /&gt;Not knowing anything about the actual sequence to be encoded the quantization parameter choosenis rather conservative to avoid generating huge frames.&lt;BR /&gt;&lt;BR /&gt;Future IDR generated will benefit from statistics of the stream. Also the rate control algorithm ensure that there is not too much difference in term of quality between the successive frame by caping the difference of quantization value between two frames.&lt;BR /&gt;&lt;BR /&gt;You might be able to tweak the return value of H264_AVBR_GetInitQP function to get the quality you want for the first frame (the lower the q the higher the quality).&lt;BR /&gt;&lt;BR /&gt;Emmanuel&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Aug 2010 15:36:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/H-264-UMC-encoder-first-frame-low-quality/m-p/836485#M5978</guid>
      <dc:creator>Emmanuel_W_</dc:creator>
      <dc:date>2010-08-19T15:36:12Z</dc:date>
    </item>
  </channel>
</rss>

