<?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のトピックRe: Capturing BT1120 192x1080 Interlaced video on Parallel CSI using Kernel 3.10</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-BT1120-192x1080-Interlaced-video-on-Parallel-CSI-using/m-p/417422#M62782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Issac,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I checked datasheet of OV5640, it supports CCIR656 mode , but not CCIR1120.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2015 03:30:16 GMT</pubDate>
    <dc:creator>weidong_sun</dc:creator>
    <dc:date>2015-07-07T03:30:16Z</dc:date>
    <item>
      <title>Capturing BT1120 192x1080 Interlaced video on Parallel CSI using Kernel 3.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-BT1120-192x1080-Interlaced-video-on-Parallel-CSI-using/m-p/417421#M62781</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 trying to capture a BT1120 16bit video stream with embedded sync in with 1920x1080 Interlaced format. The input interface is the Parallel CSI interface. The pin connection is according to &lt;A href="https://community.nxp.com/message/356584"&gt;Support BT1120 progressive mode in Mx6Q&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done so far in kernel 3.10.17 BSP:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Enabled CSI related modules in kernel menuconfig under&lt;STRONG&gt; Device Drivers &amp;gt; Multimedia &amp;gt; V4L2&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Modified &lt;STRONG&gt;ov5640.c&lt;/STRONG&gt; driver to remove codes related to I2C and regulators&lt;/LI&gt;&lt;LI&gt;Set pixel format of ov5640.c to &lt;STRONG&gt;V4L2_PIX_FMT_YUYV&lt;/STRONG&gt; (&lt;SPAN style="font-family: courier new,courier;"&gt;ov5640_data.pix.pixelformat = V4L2_PIX_FMT_YUYV&lt;/SPAN&gt;)&lt;/LI&gt;&lt;LI&gt;Set resolution to &lt;STRONG&gt;1920x1080&lt;/STRONG&gt; in ov5640.c&lt;/LI&gt;&lt;LI&gt;Set the IPU settings so that &lt;STRONG&gt;CSI_SENS_CONF = 0x80000970 &lt;/STRONG&gt;and&lt;STRONG&gt; CSI_ACT_FRM_SIZE = 0x0437077F&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Set the following settings in &lt;STRONG&gt;ov5640.c&lt;/STRONG&gt;:&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;p-&amp;gt;u.bt656.mode = V4L2_IF_TYPE_BT656_MODE_BT_8BIT;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;p-&amp;gt;u.bt656.bt_sync_correct = 0;&amp;nbsp; /* Indicate external vsync */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;p-&amp;gt;u.bt656.clock_curr = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 7. Set &lt;STRONG&gt;csi_param.mclk&lt;/STRONG&gt; (in mxc_v4l2_capture.c) and &lt;STRONG&gt;ov5640_data.mclk &lt;/STRONG&gt;(in ov5640.c) to 74250000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 8. Set the following in &lt;STRONG&gt;mxc_v4l2_capture.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;csi_param.clk_mode = IPU_CSI_CLK_MODE_CCIR1120_INTERLACED_SDR;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;csi_param.data_width = IPU_CSI_DATA_WIDTH_8;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;csi_param.ext_vsync = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;csi_param.Vsync_pol = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;csi_param.Hsync_pol = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;csi_param.pixclk_pol = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;csi_param.data_pol = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;csi_param.mclk = 74250000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried changing the data polarity and data_enable polarity, but I always get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;root@imx6qsabresd:~# GST_DEBUG=*:2 gst-launch -v mfw_v4lsrc capture-mode=5 fps-n=15 num-buffers=1 !&amp;nbsp; jpegenc ! filesink location=sample.jpeg&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MFW_GST_V4LSRC_PLUGIN 3.0.11 build on May 23 2015 15:00:36.&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)1920, height=(int)1080, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1&lt;/P&gt;&lt;P&gt;Pipeline is live and does not need PREROLL ...&lt;/P&gt;&lt;P&gt;Setting pipeline to PLAYING ...&lt;/P&gt;&lt;P&gt;New clock: GstSystemClock&lt;/P&gt;&lt;P&gt;0:00:11.336852668&amp;nbsp;&amp;nbsp; 468&amp;nbsp;&amp;nbsp; 0xee26c0 ERROR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mfw_v4lsrc /home/isaac/Desktop/yocto/dizzy3/fsl-community-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/gst-fsl-plugin/3.0.11-r0/gst-fsl-plugins-3.0.11/src/misc/v4l_source/src/mfw_gst_v4lsrc.c:1243:&lt;STRONG&gt;mfw_gst_v4lsrc_buffer_new: &amp;gt;&amp;gt;V4L_SRC: VIDIOC_DQBUF failed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;0:00:11.337536668&amp;nbsp;&amp;nbsp; 468&amp;nbsp;&amp;nbsp; 0xee26c0 WARN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basesrc /home/isaac/Desktop/yocto/dizzy3/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesrc.c:2625:gst_base_src_loop:&lt;STRONG&gt;&amp;lt;mfwgstv4lsrc0&amp;gt; error: Internal data flow error.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;0:00:11.337859335&amp;nbsp;&amp;nbsp; 468&amp;nbsp;&amp;nbsp; 0xee26c0 WARN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basesrc /home/isaac/Desktop/yocto/dizzy3/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesrc.c:2625:gst_base_src_loop:&amp;lt;mfwgstv4lsrc0&amp;gt; error: streaming task paused, reason error (-5)&lt;/P&gt;&lt;P&gt;ERROR: from element /GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0: Internal data flow error.&lt;/P&gt;&lt;P&gt;Additional debug info:&lt;/P&gt;&lt;P&gt;/home/isaac/Desktop/yocto/dizzy3/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0:&lt;/P&gt;&lt;P&gt;streaming task paused, reason error (-5)&lt;/P&gt;&lt;P&gt;Execution ended after 10024113668 ns.&lt;/P&gt;&lt;P&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;Setting pipeline to READY ...&lt;/P&gt;&lt;P&gt;/GstPipeline:pipeline0/MFWGstV4LSrc:mfwgstv4lsrc0.GstPad:src: caps = NULL&lt;/P&gt;&lt;P&gt;Setting pipeline to NULL ...&lt;/P&gt;&lt;P&gt;Freeing pipeline ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 14:28:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-BT1120-192x1080-Interlaced-video-on-Parallel-CSI-using/m-p/417421#M62781</guid>
      <dc:creator>isaacnickaein</dc:creator>
      <dc:date>2015-06-20T14:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing BT1120 192x1080 Interlaced video on Parallel CSI using Kernel 3.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capturing-BT1120-192x1080-Interlaced-video-on-Parallel-CSI-using/m-p/417422#M62782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Issac,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I checked datasheet of OV5640, it supports CCIR656 mode , but not CCIR1120.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 03:30:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capturing-BT1120-192x1080-Interlaced-video-on-Parallel-CSI-using/m-p/417422#M62782</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2015-07-07T03:30:16Z</dc:date>
    </item>
  </channel>
</rss>

