<?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 find a API which can get sps and pps data before encode a frame in Media (Intel® Video Processing Library, Intel Media SDK)</title>
    <link>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019562#M5935</link>
    <description>&lt;P&gt;hi I need obtain sps/pps data before calling MFXVideoENCODE_EncodeFrameAsync function, does the media sdk have this API? thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2015 09:43:41 GMT</pubDate>
    <dc:creator>jackhong</dc:creator>
    <dc:date>2015-07-21T09:43:41Z</dc:date>
    <item>
      <title>find a API which can get sps and pps data before encode a frame</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019562#M5935</link>
      <description>&lt;P&gt;hi I need obtain sps/pps data before calling MFXVideoENCODE_EncodeFrameAsync function, does the media sdk have this API? thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2015 09:43:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019562#M5935</guid>
      <dc:creator>jackhong</dc:creator>
      <dc:date>2015-07-21T09:43:41Z</dc:date>
    </item>
    <item>
      <title>supplement:</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019563#M5936</link>
      <description>&lt;P&gt;supplement:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i am using H264 encoder with INDE 2015;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; which I need API just like&amp;nbsp;x264_encoder_headers function in x264.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2015 10:01:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019563#M5936</guid>
      <dc:creator>jackhong</dc:creator>
      <dc:date>2015-07-21T10:01:00Z</dc:date>
    </item>
    <item>
      <title>Hi Jackhong, </title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019564#M5937</link>
      <description>&lt;P&gt;Hi Jackhong,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;To extract raw SPS/PPS headers info from the encoded stream, you should call&amp;nbsp;&lt;/SPAN&gt;&lt;B style="font-size: 12px; line-height: 18px;"&gt;MFXVideoENCODE_GetVideoParam&lt;/B&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;with&amp;nbsp;&lt;/SPAN&gt;&lt;B style="font-size: 12px; line-height: 18px;"&gt;mfxExtCodingOptionSPSPPS&amp;nbsp;&lt;/B&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;structure attached to the&amp;nbsp;&lt;/SPAN&gt;&lt;B style="font-size: 12px; line-height: 18px;"&gt;mfxVideoParam&amp;nbsp;&lt;/B&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;structure.&amp;nbsp;Please refer to mediasdk-man.pdf &amp;nbsp;and look for mfxExtCodingOptionSPSPPS structure on page 97 for API details on sps/pps parameters .&amp;nbsp;Also a note, make sure you are allocating sufficient space for SPS/PPS buffer. I hope this is what you are looking for.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2015 20:19:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019564#M5937</guid>
      <dc:creator>Harshdeep_B_Intel</dc:creator>
      <dc:date>2015-07-21T20:19:53Z</dc:date>
    </item>
    <item>
      <title>thank you Harsh Jain!</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019565#M5938</link>
      <description>&lt;P&gt;thank you Harsh Jain!&lt;/P&gt;

&lt;P&gt;but my requirement is get sps and pps data before encoding a frame!&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Arial, SimHei, SimSun, Tahoma, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;which I need API just like&amp;nbsp;x264_encoder_headers function in x264.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2015 02:47:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019565#M5938</guid>
      <dc:creator>jackhong</dc:creator>
      <dc:date>2015-07-22T02:47:11Z</dc:date>
    </item>
    <item>
      <title>Hello again,</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019566#M5939</link>
      <description>&lt;P&gt;Hello again,&lt;/P&gt;

&lt;P&gt;Yes, MSDK API allows to retrieve coded SPS/PPS headers by call of MFXVideoENCODE_GetVideoParam right after encoder initialization. Please refer to description of “MFXVideoENCODE_GetVideoParam” in MSDK specification manual.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2015 18:17:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019566#M5939</guid>
      <dc:creator>Harshdeep_B_Intel</dc:creator>
      <dc:date>2015-07-22T18:17:13Z</dc:date>
    </item>
    <item>
      <title> thank you for your help!</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019567#M5940</link>
      <description>&lt;P&gt;&lt;FONT color="#434343" face="Tahoma, Arial"&gt;&lt;SPAN style="font-size: 12px; line-height: 19.1875px; background-color: rgb(242, 242, 242);"&gt;&lt;B&gt;&amp;nbsp;&lt;/B&gt;thank you for your help!&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#434343" face="Tahoma, Arial"&gt;&lt;SPAN style="font-size: 12px; line-height: 19.1875px; background-color: rgb(242, 242, 242);"&gt;I have&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;another&amp;nbsp;problem: &amp;nbsp;the prefixes of SPS/PPS/SEI are 0x00 00 00 01, but the prefixes of IDR slice/P slice/B slice are 0x00 00 01; are there some paramters &lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;in SDK structures&amp;nbsp;&lt;/SPAN&gt;can convert&amp;nbsp;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;0x00 00 01 to&amp;nbsp;0x00 00 00 01 or must manual converting by myself?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2015 03:51:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019567#M5940</guid>
      <dc:creator>jackhong</dc:creator>
      <dc:date>2015-07-23T03:51:00Z</dc:date>
    </item>
    <item>
      <title>Hi Jackhong,</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019568#M5941</link>
      <description>&lt;P&gt;Hi Jackhong,&lt;/P&gt;

&lt;P&gt;Apologies, I donot clearly understand your question.&amp;nbsp;Do you want MSDK to pack 0x00000001 prefixes for slices instead of 0x000001? There is no such control in MSDK API. By AVC standard, SPS, PPS should have 0x00000001 start code.&amp;nbsp;Here MSDK literally follows the standard.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Also, please create a new thread for new question, so it will easier for us to track on our end.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 17:55:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019568#M5941</guid>
      <dc:creator>Harshdeep_B_Intel</dc:creator>
      <dc:date>2015-07-24T17:55:56Z</dc:date>
    </item>
    <item>
      <title>Quote:Harsh Jain (Intel)</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019569#M5942</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Harsh Jain (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Jackhong,&lt;/P&gt;

&lt;P&gt;Apologies, I donot clearly understand your question.&amp;nbsp;Do you want MSDK to pack 0x00000001 prefixes for slices instead of 0x000001? There is no such control in MSDK API. By AVC standard, SPS, PPS should have 0x00000001 start code.&amp;nbsp;Here MSDK literally follows the standard.&lt;/P&gt;

&lt;P&gt;Also, please create a new thread for new question, so it will easier for us to track on our end.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;OK,thank you for your advice! in&amp;nbsp;addition,&amp;nbsp;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Tahoma, Arial; font-size: 12px; line-height: 24px; text-align: justify; widows: auto; background-color: rgba(255, 255, 255, 0.8);"&gt;With your help, I had &lt;/SPAN&gt;&lt;SPAN style="color: rgb(67, 67, 67); font-family: Tahoma, Arial; font-size: 12px; line-height: 24px; widows: auto; background-color: rgb(242, 242, 242);"&gt;solve my problems&amp;nbsp;In the process of using inde 2015&lt;/SPAN&gt;, thank you very much!&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jul 2015 05:18:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/find-a-API-which-can-get-sps-and-pps-data-before-encode-a-frame/m-p/1019569#M5942</guid>
      <dc:creator>jackhong</dc:creator>
      <dc:date>2015-07-25T05:18:00Z</dc:date>
    </item>
  </channel>
</rss>

