<?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: Overlay &amp; Video encoding problem in i.MX53 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297090#M36989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/nandkishorbiradar"&gt;nandkishorbiradar&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I made some tests on mxc_vpu_output and seems that it's not ready to encode and display at the same time.&lt;/P&gt;&lt;P&gt;You can also do it using gstreamer using the "preview" property of mfw_v4lsrc plugin to display the captured image while encoding.&lt;/P&gt;&lt;P&gt;There are some examples on the following thread:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-message-small" data-containerid="2004" data-containertype="14" data-objectid="292568" data-objecttype="2" href="https://community.freescale.com/message/292568#292568"&gt;https://community.freescale.com/message/292568#292568&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Rogerio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2014 14:23:28 GMT</pubDate>
    <dc:creator>rogerio_silva</dc:creator>
    <dc:date>2014-04-09T14:23:28Z</dc:date>
    <item>
      <title>Overlay &amp; Video encoding problem in i.MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297087#M36986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am working on a project which involves,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Capture the video from the camera in a I420 (YUV 4:2:0 interlaced) format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. De-interlace the video &amp;amp; overlay it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. Display the output video.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. Simultaneously encode it in H.264 format &amp;amp; save it in a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to achieve the first three points, by modifying the "mxc_ipudev_test, to capture the video from the camera.&lt;/P&gt;&lt;P&gt;The input buffer &amp;amp; output buffer is allocated internally by IPU V3 lib. Output format is RGBP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to encode the video simultaneously. I have some queries,&lt;BR /&gt;1. How to convert the RGBP to YUV 420 format? As VPU supports YUV 4:2:0 format.&lt;BR /&gt;2. What is the efficient method to pass the frame from IPU to VPU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kishore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 12:32:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297087#M36986</guid>
      <dc:creator>nandkishorbirad</dc:creator>
      <dc:date>2014-03-16T12:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay &amp; Video encoding problem in i.MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297088#M36987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would suggest you to use the V4L2 API instead IPU LIB. The IPU lib is more suitable to work with still images while V4L2 works with video. &lt;/P&gt;&lt;P&gt;The V4L2 also uses IPU to accomplish its tasks, so some procedures will be made by hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can take a look at "mxc_vpu_test.out" unit test. It has options to capture, display, encode and transcode videos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Rogerio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 14:23:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297088#M36987</guid>
      <dc:creator>rogerio_silva</dc:creator>
      <dc:date>2014-04-03T14:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay &amp; Video encoding problem in i.MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297089#M36988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rogerio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the command line options to simultaneously display &amp;amp; encode the camera feed in "mxc_vpu_output".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nandkishor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 12:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297089#M36988</guid>
      <dc:creator>nandkishorbirad</dc:creator>
      <dc:date>2014-04-04T12:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay &amp; Video encoding problem in i.MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297090#M36989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/nandkishorbiradar"&gt;nandkishorbiradar&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I made some tests on mxc_vpu_output and seems that it's not ready to encode and display at the same time.&lt;/P&gt;&lt;P&gt;You can also do it using gstreamer using the "preview" property of mfw_v4lsrc plugin to display the captured image while encoding.&lt;/P&gt;&lt;P&gt;There are some examples on the following thread:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-message-small" data-containerid="2004" data-containertype="14" data-objectid="292568" data-objecttype="2" href="https://community.freescale.com/message/292568#292568"&gt;https://community.freescale.com/message/292568#292568&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Rogerio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 14:23:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297090#M36989</guid>
      <dc:creator>rogerio_silva</dc:creator>
      <dc:date>2014-04-09T14:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay &amp; Video encoding problem in i.MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297091#M36990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the 'tee' gstreamer element may help but the performance wont be good (copies are done on heap) but worth giving it a try. The pipeline would look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;gst-launch mfw_v4lsrc ! tee name=t ! \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queue ! &amp;lt;all the elements doing the overlay and display&amp;gt; t. ! \&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queue ! &amp;lt;all the elements doing the encode and store&amp;gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 22:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297091#M36990</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2014-04-09T22:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Overlay &amp; Video encoding problem in i.MX53</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297092#M36991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nandkishor&lt;/P&gt;&lt;P&gt;Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 07:54:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Overlay-Video-encoding-problem-in-i-MX53/m-p/297092#M36991</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-06-16T07:54:11Z</dc:date>
    </item>
  </channel>
</rss>

