<?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: GStreamer Pipeline issue for SII9135/ADV7180 CSI input</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-Pipeline-issue-for-SII9135-ADV7180-CSI-input/m-p/369780#M52765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may use gst-inspect to see which formats mfw_ipucsc supports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ gst-inspect mfw_ipucsc | egrep 'format|video/'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it seems that YUYV and UYVY are not supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find online some examples using fourcc codecs on gstreamer although these are not included on Freescale’s BSP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2014 21:02:57 GMT</pubDate>
    <dc:creator>gusarambula</dc:creator>
    <dc:date>2014-08-27T21:02:57Z</dc:date>
    <item>
      <title>GStreamer Pipeline issue for SII9135/ADV7180 CSI input</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-Pipeline-issue-for-SII9135-ADV7180-CSI-input/m-p/369779#M52764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using IMX6 CSI to connect capture devices: SII9135 HDMI receiver(input format: 20bit, YUYV, 1920, 1080) and ADV7180 video decoder(input format: UYVY, 720, 576)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Gstreamer capture plugin is: "mfw_v4lsrc",&amp;nbsp; and display plugin: "mfw_isink"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because there are colorspace imcompatible, I tried to use "mfw_ipucsc" and "ffmpegcolorspace" to do the conversion, but meet problem when launch the pipeline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command we are using is:&lt;/P&gt;&lt;P&gt;-------------------------SII9135----------&lt;/P&gt;&lt;P&gt;gst-launch-0.10 -v mfw_v4lsrc device="/dev/video1" ! video/x-raw-yuv,format=&lt;SPAN style="font-size: 14pt;"&gt;YUYV&lt;/SPAN&gt;,width=1920,height=1080 ! ffmpegcolorspace !&amp;nbsp; 'video/x-raw-yuv,format=(fourcc)I420, width=1920,height=1080' ! mfw_isink axis-top=0 axis-left=80 disp-width=640 disp-height=480&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MFW_GST_V4LSRC_PLUGIN 3.0.7 build on Aug 18 2014 05:20:19.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;MFW_GST_ISINK_PLUGIN 3.0.7 build on Aug 18 2014 05:20:33.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WARNING: erroneous pipeline: &lt;SPAN style="text-decoration: underline;"&gt;could not link mfwgstv4lsrc0 to ffmpegcsp0&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------ADV7180--------&lt;/P&gt;&lt;P&gt;gst-launch-0.10 -v 'mfw_v4lsrc device="/dev/video0"' ! 'video/x-raw-yuv,format=&lt;SPAN style="font-size: 14pt;"&gt;UYVY&lt;/SPAN&gt;,width=720,height=576,framerate=25/1' ! mfw_ipucsc ! 'video/x-raw-yuv,format=(fourcc)I420,width=720,height=576,framerate=25/1' ! mfw_isink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Gstreamer will report error: &lt;/P&gt;&lt;P&gt;&lt;EM&gt;MFW_GST_V4LSRC_PLUGIN 3.0.7 build on Aug 18 2014 05:20:19.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;IPU_CSC_CORE_LIBRARY_VERSION_INFOR_01.00.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;MFW_GST_IPU_CSC_PLUGIN 3.0.7 build on Aug 19 2014 02:33:36.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;MFW_GST_ISINK_PLUGIN 3.0.7 build on Aug 18 2014 05:20:33.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WARNING: erroneous pipeline: &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;could not link mfwgstv4lsrc0 to mfwgstipucsc0&lt;/EM&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems the input format YUYV and UYVY is not compatible with mfw_ipucsc , ffmpegcolorspace and mfw_isink plugins,&amp;nbsp; format I420 can work, but the output video is not right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somebody knows how to setup the pipleline for SII9135 and ADV7180 capture devices? or there is some problem with my driver code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 07:39:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-Pipeline-issue-for-SII9135-ADV7180-CSI-input/m-p/369779#M52764</guid>
      <dc:creator>racer</dc:creator>
      <dc:date>2014-08-20T07:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer Pipeline issue for SII9135/ADV7180 CSI input</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-Pipeline-issue-for-SII9135-ADV7180-CSI-input/m-p/369780#M52765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may use gst-inspect to see which formats mfw_ipucsc supports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ gst-inspect mfw_ipucsc | egrep 'format|video/'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it seems that YUYV and UYVY are not supported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find online some examples using fourcc codecs on gstreamer although these are not included on Freescale’s BSP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 21:02:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-Pipeline-issue-for-SII9135-ADV7180-CSI-input/m-p/369780#M52765</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2014-08-27T21:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: GStreamer Pipeline issue for SII9135/ADV7180 CSI input</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GStreamer-Pipeline-issue-for-SII9135-ADV7180-CSI-input/m-p/369781#M52766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the update for the issue.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN lang="EN-US" style="font-size: 12pt;"&gt;Input device IMX6 CSI1 to connect capture devices: SII9135 HDMI receiver(input format: 16bit, YUYV, 1920x1080)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #000000; font-family: 'Calibri','sans-serif'; font-size: 10.5pt; font-style: normal; font-weight: normal; margin-top: 0cm; margin-bottom: 0pt; mso-char-indent-count: 0; mso-list: l0 level1 lfo1;"&gt;&lt;SPAN lang="EN-US" style="font-size: 12pt;"&gt;Output device: IMX6 integrate HDMI output.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12pt;"&gt;1. Using IMX6 test program, we can get correct video bypass output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;The test command we are using is below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&amp;gt;./mxc_v4l2_overlay.out -m 4 -iw 1920 -ih 1080 -it 0 -il 0 -ow 1920 -oh 1080 -ot 0 -ol 0 -r 0 -t -1 -d 0 -fg -fr 30 -di /dev/video1 -do /dev/video16&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;/dev/video1 is Sii9135 input device, video16 is HDMI output device. the output is correct as below,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper" image-alt="11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46226i6B2B7731A551F918/image-size/large?v=v2&amp;amp;px=999" role="button" title="11.png" alt="11.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 12pt;"&gt;2. Using Gstreamer pipeline, the video output is wrong, the command is below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;gt;./gst-launch-0.10 -v 'mfw_v4lsrc device="/dev/video1"' ! 'video/x-raw-yuv, format=(fourcc)I420, width=1920, height=1080' !&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;mfw_isink&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;The two photo of the output is below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 宋体; font-size: 12pt;"&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper" image-alt="22.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46227iFF10BE4964A870EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="22.jpg" alt="22.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The video is blinking and with color bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We think that maybe colorspace mismatch between the video source and sink, the sii9135 input is YUYV-16bit, but the pipeline is using I420 format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gstreamer plugin(version 3.0.7) "mfw_v4lsrc" seems using a fixed pixformat "I420", is it the problem?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 05:32:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GStreamer-Pipeline-issue-for-SII9135-ADV7180-CSI-input/m-p/369781#M52766</guid>
      <dc:creator>racer</dc:creator>
      <dc:date>2014-09-24T05:32:33Z</dc:date>
    </item>
  </channel>
</rss>

