<?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: Capture from CMOS-matrix in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177848#M7019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very strange, but&lt;/P&gt;&lt;P&gt;root@freescale ~$ /unit_tests/mxc_v4l2_capture.out -iw 800 -ih 600 -ow 800 -oh 600&lt;BR /&gt;in_width = 800, in_height = 600&lt;BR /&gt;out_width = 800, out_height = 600&lt;BR /&gt;top = 0, left = 0&lt;BR /&gt;sensor chip is ov2715_camera&lt;BR /&gt;sensor frame size is 1920x1080&lt;BR /&gt;sensor frame format is UYVY&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Width = 800&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Height = 600&amp;nbsp;&amp;nbsp;&amp;nbsp; Image size = 720000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pixelformat = 842093913&lt;BR /&gt;YUV420&lt;BR /&gt;mxc_ipu mxc_ipu: IDMAC20's EBA0 is not 8-byte aligned&lt;BR /&gt;mxc_ipu mxc_ipu: IDMAC20's EBA1 is not 8-byte aligned&lt;BR /&gt;buf.index 1&lt;BR /&gt;buf.index 2&lt;BR /&gt;buf.index 0&lt;BR /&gt;mxc_v4l_close: release resource&lt;/P&gt;&lt;P&gt;root@freescale ~$ ls -l 600&lt;BR /&gt;-rw-r--r--&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 72000000 Jul 27&amp;nbsp; 2012 600&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2012 10:32:55 GMT</pubDate>
    <dc:creator>BrilliantovKiri</dc:creator>
    <dc:date>2012-07-27T10:32:55Z</dc:date>
    <item>
      <title>Capture from CMOS-matrix</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177847#M7018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello! I have to capture and encode video from OmniVision OV2715 CMOS-matrix. I write driver and add matrix description in mx53_loco.c  After loading all modules I see in dmesg what matrix found and configured. root@freescale ~$ cat /proc/modules mxc_v4l2_capture 18356 1 - Live 0x7f0b1000 ov2715 12136 0 - Live 0x7f0a9000 //my module ipu_still 1671 1 mxc_v4l2_capture, Live 0x7f0a3000 ipu_prp_vf_sdc_bg 3285 1 mxc_v4l2_capture, Live 0x7f09d000 ipu_prp_vf_sdc 3392 1 mxc_v4l2_capture, Live 0x7f097000 ipu_prp_enc 3865 1 mxc_v4l2_capture, Live 0x7f091000 ipu_csi_enc 2449 1 mxc_v4l2_capture, Live 0x7f08b000  Output stream from matrix have size 1920x1080. Now I try capture this stream with mxc_v4l2_capture.out.  root@freescale ~$ /unit_tests/mxc_v4l2_capture.out -iw 1920 -ih 1080 -ow 1920 -oh 1080 in_width = 1920, in_height = 1080 out_width = 1920, out_height = 1080 top = 0, left = 0 sensor chip is ov2715_camera sensor frame size is 1920x1080 sensor frame format is UYVY Width = 1920 Height = 1080 Image size = 3110400 pixelformat = 842093913 YUV420 mxc_ipu mxc_ipu: IDMAC20's EBA0 is not 8-byte aligned mxc_ipu mxc_ipu: IDMAC20's EBA1 is not 8-byte aligned ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0 VIDIOC_DQBUF failed. ERROR: v4l2 capture: VIDIOC_QBUF: buffer already queued VIDIOC_QBUF failed mxc_v4l_close: release resource  I try some output resolution but result always fail. I don't see any error messages in dmesg output. On osciloscope I see FrameValid and LineValid signals.  I use linux-2.6.35.3 from LTIB (L2.6.35_11.09.01_ER_source_bundle and IMX_MMCODECS_11.09).  Why I can't capture stream and how can I solve this problem?  Thank you and excuse me my bad english.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 10:10:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177847#M7018</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2012-07-27T10:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Capture from CMOS-matrix</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177848#M7019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very strange, but&lt;/P&gt;&lt;P&gt;root@freescale ~$ /unit_tests/mxc_v4l2_capture.out -iw 800 -ih 600 -ow 800 -oh 600&lt;BR /&gt;in_width = 800, in_height = 600&lt;BR /&gt;out_width = 800, out_height = 600&lt;BR /&gt;top = 0, left = 0&lt;BR /&gt;sensor chip is ov2715_camera&lt;BR /&gt;sensor frame size is 1920x1080&lt;BR /&gt;sensor frame format is UYVY&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Width = 800&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Height = 600&amp;nbsp;&amp;nbsp;&amp;nbsp; Image size = 720000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pixelformat = 842093913&lt;BR /&gt;YUV420&lt;BR /&gt;mxc_ipu mxc_ipu: IDMAC20's EBA0 is not 8-byte aligned&lt;BR /&gt;mxc_ipu mxc_ipu: IDMAC20's EBA1 is not 8-byte aligned&lt;BR /&gt;buf.index 1&lt;BR /&gt;buf.index 2&lt;BR /&gt;buf.index 0&lt;BR /&gt;mxc_v4l_close: release resource&lt;/P&gt;&lt;P&gt;root@freescale ~$ ls -l 600&lt;BR /&gt;-rw-r--r--&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 72000000 Jul 27&amp;nbsp; 2012 600&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 10:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177848#M7019</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2012-07-27T10:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Capture from CMOS-matrix</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177849#M7020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This probably won't help much, but worth a shot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://imxcommunity.org/profiles/blogs/tv-in-demo-for-ard-a-simple-how-to"&gt;http://imxcommunity.org/profiles/blogs/tv-in-demo-for-ard-a-simple-how-to&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, did you apply this patch? I can capture using the Freescale imx53 Sabre video in ( which has 7180 ) without this patch, but it's worth a look, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX535&amp;amp;nodeId=018rH3ZrDR988D&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX535&amp;amp;nodeId=018rH3ZrDR988D&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Updates and Patches (5) -&amp;gt; &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX535&amp;amp;nodeId=018rH3ZrDR988D&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;IMX53_LINUX_1109_BSP_PATCH&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 13:32:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177849#M7020</guid>
      <dc:creator>RandyKrakora</dc:creator>
      <dc:date>2012-07-27T13:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Capture from CMOS-matrix</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177850#M7021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The mxc_v4l2_capture.out app reads frames from the capture device and writes them to a file.&amp;nbsp; It uses the last argument in the command line as the file name and saves 100 frames by default which is why you ended up with a file named "600" that was 72000000 bytes in size.&amp;nbsp; I'm not sure why the larger resolutions would fail though.&lt;/P&gt;&lt;P&gt;Are you trying to stream video to the screen?&amp;nbsp; If so you should look at the mxc_v4l2_overlay.out utility instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you didn't know, you can view the code for all of the test apps by prepping the imx-test package like this:&lt;/P&gt;&lt;P&gt;ltib -m prep -p imx-test&lt;/P&gt;&lt;P&gt;The files will show up in ltib/rpm/BUILD/imx-test-11.09.01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Judging from responses I've received from Freescale they seem to be moving away from the V4L2 drivers in favor of their IPU library included in the imx-lib package.&amp;nbsp; Have a look at imx5x_IPU_LIB_UG.pdf for more info on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 15:14:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177850#M7021</guid>
      <dc:creator>jpuckett</dc:creator>
      <dc:date>2012-07-27T15:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Capture from CMOS-matrix</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177851#M7022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Randy!&lt;/P&gt;&lt;P&gt;I apply linux-2.6.35.3-imx_11.09.01.bz2 and linux-2.6.35.3-imx_11.09.01_201112.tar.gz patches.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 05:18:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177851#M7022</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2012-07-30T05:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Capture from CMOS-matrix</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177852#M7023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, James!&lt;BR /&gt; &lt;BR /&gt;I try use mxc_v4l2_overlay.out with VGA, but I view only black background with tux.&lt;BR /&gt;I can't connect LCD to expand slot because matrix used it.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 05:22:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177852#M7023</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2012-07-30T05:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Capture from CMOS-matrix</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177853#M7024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have a setup to confirm this, but according to the code if you specify "-d 1" in the arguments to mxc_v4l2_overlay.out it will set the output to DI1, which I believe is the VGA output on the QSB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 14:13:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177853#M7024</guid>
      <dc:creator>jpuckett</dc:creator>
      <dc:date>2012-07-30T14:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Capture from CMOS-matrix</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177854#M7025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Strange facts: 1. succesfully capture data with mxc_vpu_test 2. if I not run mxc_vpu_test I can't capture data with GStreamer pipeline  I not see in mxc_vpu_test code any special functions or methods.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 05:46:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-from-CMOS-matrix/m-p/177854#M7025</guid>
      <dc:creator>BrilliantovKiri</dc:creator>
      <dc:date>2012-08-01T05:46:27Z</dc:date>
    </item>
  </channel>
</rss>

