<?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>i.MX ProcessorsのトピックCapture 1280x720 using OV5642 module</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406072#M60426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using i.MX6 based hardware with which OV5642 module is connected. I am trying to write a application which captures various resolutions of raw video.&lt;/P&gt;&lt;P&gt;Using this application I am able to capture 640x480 and 720x480 raw video. But when I try to capture 1280x720 video it gives me following errors:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: IC output size(1080) cannot exceed 1024&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: failed to calculate prpenc height scaling coefficients&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00100000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still it continues to capture the frames and dumps it to the file. But when I am playing back that file there was nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me on this?&lt;/P&gt;&lt;P&gt;It would be great if someone can share some sample application for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhaval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2015 13:33:20 GMT</pubDate>
    <dc:creator>dhavalvadhar</dc:creator>
    <dc:date>2015-08-28T13:33:20Z</dc:date>
    <item>
      <title>Capture 1280x720 using OV5642 module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406072#M60426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using i.MX6 based hardware with which OV5642 module is connected. I am trying to write a application which captures various resolutions of raw video.&lt;/P&gt;&lt;P&gt;Using this application I am able to capture 640x480 and 720x480 raw video. But when I try to capture 1280x720 video it gives me following errors:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: IC output size(1080) cannot exceed 1024&lt;/P&gt;&lt;P&gt;imx-ipuv3 2400000.ipu: failed to calculate prpenc height scaling coefficients&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00100000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still it continues to capture the frames and dumps it to the file. But when I am playing back that file there was nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me on this?&lt;/P&gt;&lt;P&gt;It would be great if someone can share some sample application for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhaval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 13:33:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406072#M60426</guid>
      <dc:creator>dhavalvadhar</dc:creator>
      <dc:date>2015-08-28T13:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Capture 1280x720 using OV5642 module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406073#M60427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Dhaval&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for 720P one needs to set&amp;nbsp; capture-mode=4 (one can check with&lt;/P&gt;&lt;P&gt;gst-inspect mfw_v4lsrc), examples can be found on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/329673"&gt;ov5642 1080p 30 fps and sabre light&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://support.bluetechnix.at/wiki/Linux_Software_User_Manual_%28i.MX6%29" title="https://support.bluetechnix.at/wiki/Linux_Software_User_Manual_%28i.MX6%29"&gt;Linux Software User Manual (i.MX6) - BlueWiki&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error: "IC output size(1080) cannot exceed 1024" means that IPU IC submodule&lt;/P&gt;&lt;P&gt;(used for rotation or resizing) output size is restricted to 1024 max.&lt;/P&gt;&lt;P&gt;So one needs to split image on smaller areas and process (for example rotate)&lt;/P&gt;&lt;P&gt;them, after that combine to whole image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2015 01:15:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406073#M60427</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-08-29T01:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Capture 1280x720 using OV5642 module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406074#M60428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you suggested, I configured the Capture Mode = 4 following way :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Set capture stream parameters&lt;/P&gt;&lt;P&gt;&amp;nbsp; struct v4l2_streamparm streamParams;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; streamParams.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;&lt;/P&gt;&lt;P&gt;&amp;nbsp; streamParams.parm.capture.capturemode = 4;&lt;/P&gt;&lt;P&gt;&amp;nbsp; streamParams.parm.capture.timeperframe.denominator = 30;&lt;/P&gt;&lt;P&gt;&amp;nbsp; streamParams.parm.capture.timeperframe.numerator = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (0 &amp;gt; ioctl(deviceFd, VIDIOC_S_PARM, &amp;amp;streamParams)) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; printf("ERROR: Failed to set video stream parameters\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; return -1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still the captured raw data is not correct. I have attached the snapshot of the same. Also, I didn't find any sample code of video capture on the links you have mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How the IPU IC Submodule activated, automatically? I haven't done that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhaval&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Incorrect-video-capture-1280x720.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52948i164C533776FFCB40/image-size/large?v=v2&amp;amp;px=999" role="button" title="Incorrect-video-capture-1280x720.png" alt="Incorrect-video-capture-1280x720.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 07:04:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406074#M60428</guid>
      <dc:creator>dhavalvadhar</dc:creator>
      <dc:date>2015-08-31T07:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Capture 1280x720 using OV5642 module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406075#M60429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Dhaval&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at below links where similar problem was discussed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-message-small" data-containerid="2004" data-containertype="14" data-objectid="361253" data-objecttype="2" href="https://community.freescale.com/message/361253#361253"&gt;https://community.freescale.com/message/361253#361253&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-message-small" data-containerid="2004" data-containertype="14" data-objectid="373795" data-objecttype="2" href="https://community.freescale.com/message/373795#373795"&gt;https://community.freescale.com/message/373795#373795&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 12:09:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406075#M60429</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-08-31T12:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Capture 1280x720 using OV5642 module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406076#M60430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhaval,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you ever solve this issue? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 16:20:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406076#M60430</guid>
      <dc:creator>chrisroed</dc:creator>
      <dc:date>2015-12-23T16:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Capture 1280x720 using OV5642 module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406077#M60431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you solved this issue.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravinth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 10:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-1280x720-using-OV5642-module/m-p/406077#M60431</guid>
      <dc:creator>aravinthkumarja</dc:creator>
      <dc:date>2018-06-14T10:41:05Z</dc:date>
    </item>
  </channel>
</rss>

