<?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 h264 encoder problem in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/h264-encoder-problem/m-p/899674#M12604</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm using umc_video_enc_con from IPP 6.0. Trying to encode YV12 raw video to h264, but i have some problems ... As YV12 is YUV 4:2:0 but with YVU order i'm using proper color format (YV12 or mColorFormat=0), result is the same as using standard YUV420 color format (and that is blueish video).&lt;/P&gt;
&lt;P&gt;start application with: umc_video_enc_con h264 -i input.yuv -f60 -w 1280 -h 720 -o out.h264&lt;/P&gt;
&lt;P&gt;Also i have changed video_enc_con.cpp to use mColorFormat as YV12.&lt;/P&gt;
&lt;P&gt;Do i need to change anything else ? Is YVU420 supported ?&lt;/P&gt;
&lt;P&gt;Thanx!&lt;/P&gt;</description>
    <pubDate>Fri, 21 Nov 2008 11:59:41 GMT</pubDate>
    <dc:creator>gossamer</dc:creator>
    <dc:date>2008-11-21T11:59:41Z</dc:date>
    <item>
      <title>h264 encoder problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/h264-encoder-problem/m-p/899674#M12604</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm using umc_video_enc_con from IPP 6.0. Trying to encode YV12 raw video to h264, but i have some problems ... As YV12 is YUV 4:2:0 but with YVU order i'm using proper color format (YV12 or mColorFormat=0), result is the same as using standard YUV420 color format (and that is blueish video).&lt;/P&gt;
&lt;P&gt;start application with: umc_video_enc_con h264 -i input.yuv -f60 -w 1280 -h 720 -o out.h264&lt;/P&gt;
&lt;P&gt;Also i have changed video_enc_con.cpp to use mColorFormat as YV12.&lt;/P&gt;
&lt;P&gt;Do i need to change anything else ? Is YVU420 supported ?&lt;/P&gt;
&lt;P&gt;Thanx!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2008 11:59:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/h264-encoder-problem/m-p/899674#M12604</guid>
      <dc:creator>gossamer</dc:creator>
      <dc:date>2008-11-21T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: h264 encoder problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/h264-encoder-problem/m-p/899675#M12605</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/320229"&gt;gossamer&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;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm using umc_video_enc_con from IPP 6.0. Trying to encode YV12 raw video to h264, but i have some problems ... As YV12 is YUV 4:2:0 but with YVU order i'm using proper color format (YV12 or mColorFormat=0), result is the same as using standard YUV420 color format (and that is blueish video).&lt;/P&gt;
&lt;P&gt;start application with: umc_video_enc_con h264 -i input.yuv -f60 -w 1280 -h 720 -o out.h264&lt;/P&gt;
&lt;P&gt;Also i have changed video_enc_con.cpp to use mColorFormat as YV12.&lt;/P&gt;
&lt;P&gt;Do i need to change anything else ? Is YVU420 supported ?&lt;/P&gt;
&lt;P&gt;Thanx!&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Check the VideoEncodingSample::GetInputData function in video_enc_utils.cpp. This is where the plane are inverted for YV12. In order for the plane switching to happen, the colorformat must be set correctly in the MediaData object. I believe this is done in the Run() method. You should check if the colorformat has the proper value there.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:05:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/h264-encoder-problem/m-p/899675#M12605</guid>
      <dc:creator>Emmanuel_W_</dc:creator>
      <dc:date>2008-11-27T13:05:24Z</dc:date>
    </item>
  </channel>
</rss>

