<?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 Check h264 encoder if next frame will be key in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Check-h264-encoder-if-next-frame-will-be-key/m-p/879474#M9987</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Can anybody tell me how I can determine in h264 encoder if next encoded frame will be key-frame?&lt;/P&gt;&lt;P&gt;I want to create 2 encoders for encoding one stream: to encode one sequence of frames before key frame on first encoder and other sequence - on second encoder (change encoder for each next sequence of frames).&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gennadii&lt;/P&gt;</description>
    <pubDate>Wed, 03 Mar 2010 09:48:46 GMT</pubDate>
    <dc:creator>gennadii_mog</dc:creator>
    <dc:date>2010-03-03T09:48:46Z</dc:date>
    <item>
      <title>Check h264 encoder if next frame will be key</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Check-h264-encoder-if-next-frame-will-be-key/m-p/879474#M9987</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;Can anybody tell me how I can determine in h264 encoder if next encoded frame will be key-frame?&lt;/P&gt;&lt;P&gt;I want to create 2 encoders for encoding one stream: to encode one sequence of frames before key frame on first encoder and other sequence - on second encoder (change encoder for each next sequence of frames).&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gennadii&lt;/P&gt;</description>
      <pubDate>Wed, 03 Mar 2010 09:48:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Check-h264-encoder-if-next-frame-will-be-key/m-p/879474#M9987</guid>
      <dc:creator>gennadii_mog</dc:creator>
      <dc:date>2010-03-03T09:48:46Z</dc:date>
    </item>
    <item>
      <title>Check h264 encoder if next frame will be key</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Check-h264-encoder-if-next-frame-will-be-key/m-p/879475#M9988</link>
      <description>&lt;P&gt;This problem may be have been discussed on other thread.&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=74180"&gt;http://software.intel.com/en-us/forums/showthread.php?t=74180&lt;/A&gt;. &lt;BR /&gt;Add some information in case ofyou are looking formore option, &lt;BR /&gt;&lt;BR /&gt;There isone encoder parameter which can control this. For example, every 20 frame there is 1 key frame. &lt;BR /&gt;/* CommentLine: H.264 Sequence.*/&lt;BR /&gt;C://stream352x288.yuv /* name of source files */&lt;BR /&gt;450 /* number of frames to encode */&lt;BR /&gt;1&lt;STRONG&gt; 20&lt;/STRONG&gt; 1 /* 1(reserved) , N ( # of frames in between I frames), IDR interval. */&lt;BR /&gt;3 1 /* Number of B frames between I (or P) and next P, treat B as a reference (only 0 is supported!) */&lt;BR /&gt;4 1 0 /* num_ref_frames (2-16), minimum length of list1 for backward prediction (only 1 is supported!), number of slices. */&lt;BR /&gt;&lt;BR /&gt;But it may be possible to produce irreguliar frame as there is frame type detectionfunction worksin the encoder.It can change P frame to I and B frame to P or I. &lt;BR /&gt;&lt;BR /&gt;It can be switching off in source code by clearing ANALYSE_FRAME_TYPE bit in encoder's class's field m_Analyse.&lt;BR /&gt;&lt;BR /&gt;To change the line 40 in umc_h264_core_enc.h&lt;BR /&gt;//#define ANALYSE_FRAME_TYPE (1 &amp;lt;&amp;lt; 14)&lt;BR /&gt;#define ANALYSE_FRAME_TYPE 0&lt;/P&gt;&lt;P&gt;and line 339 in umc_h264_video_encoder.cpp&lt;/P&gt;&lt;P&gt;key_frame_controls.interval = 20; // for safety&lt;/P&gt;&lt;P&gt;Then try umc_video_enc_con.exe&lt;BR /&gt;&amp;gt;h264 -w 352 -h 288 -i c://stream352x288.yuv -o a.h264. &lt;BR /&gt;The key framewill keep reguliar, 0, 20, 40, ..100, 440. &lt;BR /&gt;&lt;BR /&gt;In addition, please try the latest ipp and ipp sample version as possible, for example IPP 7.0 beta and conterpart sample. See &lt;A href="http://software.intel.com/en-us/articles/ipp-downloads-registration-and-licensing/"&gt;IPP Downloads, Registration and Licensing&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying &lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2010 06:42:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Check-h264-encoder-if-next-frame-will-be-key/m-p/879475#M9988</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2010-09-10T06:42:23Z</dc:date>
    </item>
  </channel>
</rss>

