<?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のトピックscreen scroll issue and mxc_v4l_dqueue timeout error on imx6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/screen-scroll-issue-and-mxc-v4l-dqueue-timeout-error-on-imx6/m-p/760443#M118170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using TW9900 on our board with iMX6 (based on L4.1.15_1.2.0_ga).&lt;BR /&gt;Driver for TW9900 was developed starting from code found in adv7180.c.&lt;BR /&gt;We have screen scroll issue as well explained in this application note:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/332679-2-394025/i.MX6_IPU_TVIN_Application_Notes.pdf"&gt;i.MX6_IPU_TVIN_Application_Notes.pdf&lt;/A&gt; but we can't apply the suggested patches since our kernel is 4 and not 3. &lt;BR /&gt;In our application we are using gstreamer and when we detect a scroll issue we restart the gstreamer process; this is a bad solution in many ways and we would like to improve it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We would like to solve the scroll issue at driver level, maybe you have patches for the latest kernel?&lt;/P&gt;&lt;P&gt;Another good option to us would be change the gstreamer pipeline status from PLAYING to PAUSE (instead of restarting the all process); but when pausing gstreamer we got an error from the driver which stops gstreamer from working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have read suggestions in the linked application note on dqueue errors but it seems to us that none of them applies in our environment.&lt;BR /&gt;One more strange thing is that we can pause a gstreamer pipeline like the following one (others too):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;# imxv4l2videosrc ! imxipuvideotransform deinterlace=1 ! imxg2dvideosink framebuffer=/dev/fb1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we can't pause the gstreamer pipeline we really need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;# imxv4l2videosrc ! tee name=t t. ! queue ! imxipuvideotransform deinterlace=1 ! imxg2dvideosink framebuffer=/dev/fb1 t. ! queue ! videorate ! video/x-raw,framerate=15/1 ! imxipuvideotransform deinterlace=1 ! video/x-raw,width=320,height=240 ! videoscale method=1 ! video/x-raw ! v4l2sink device=/dev/video1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gstreamer debug error is (and the driver error is... ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;ERROR imxv4l2bufferpool v4l2_buffer_pool.c:247:gst_imx_v4l2_buffer_pool_acquire_buffer:&amp;lt;imxv4l2bufferpool0&amp;gt; VIDIOC_DQBUF failed: Timer expired&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt; WARN basesrc gstbasesrc.c:2950:gst_base_src_loop:&amp;lt;imxv4l2videosrc0&amp;gt; error: Internal data stream error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt; WARN basesrc gstbasesrc.c:2950:gst_base_src_loop:&amp;lt;imxv4l2videosrc0&amp;gt; error: streaming stopped, reason error (-5)&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;I hope you can suggest us a way to address one of those issue.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jan 2018 10:58:59 GMT</pubDate>
    <dc:creator>majamassarini</dc:creator>
    <dc:date>2018-01-26T10:58:59Z</dc:date>
    <item>
      <title>screen scroll issue and mxc_v4l_dqueue timeout error on imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-scroll-issue-and-mxc-v4l-dqueue-timeout-error-on-imx6/m-p/760443#M118170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using TW9900 on our board with iMX6 (based on L4.1.15_1.2.0_ga).&lt;BR /&gt;Driver for TW9900 was developed starting from code found in adv7180.c.&lt;BR /&gt;We have screen scroll issue as well explained in this application note:&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/332679-2-394025/i.MX6_IPU_TVIN_Application_Notes.pdf"&gt;i.MX6_IPU_TVIN_Application_Notes.pdf&lt;/A&gt; but we can't apply the suggested patches since our kernel is 4 and not 3. &lt;BR /&gt;In our application we are using gstreamer and when we detect a scroll issue we restart the gstreamer process; this is a bad solution in many ways and we would like to improve it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We would like to solve the scroll issue at driver level, maybe you have patches for the latest kernel?&lt;/P&gt;&lt;P&gt;Another good option to us would be change the gstreamer pipeline status from PLAYING to PAUSE (instead of restarting the all process); but when pausing gstreamer we got an error from the driver which stops gstreamer from working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have read suggestions in the linked application note on dqueue errors but it seems to us that none of them applies in our environment.&lt;BR /&gt;One more strange thing is that we can pause a gstreamer pipeline like the following one (others too):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;# imxv4l2videosrc ! imxipuvideotransform deinterlace=1 ! imxg2dvideosink framebuffer=/dev/fb1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we can't pause the gstreamer pipeline we really need:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;# imxv4l2videosrc ! tee name=t t. ! queue ! imxipuvideotransform deinterlace=1 ! imxg2dvideosink framebuffer=/dev/fb1 t. ! queue ! videorate ! video/x-raw,framerate=15/1 ! imxipuvideotransform deinterlace=1 ! video/x-raw,width=320,height=240 ! videoscale method=1 ! video/x-raw ! v4l2sink device=/dev/video1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gstreamer debug error is (and the driver error is... ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;ERROR imxv4l2bufferpool v4l2_buffer_pool.c:247:gst_imx_v4l2_buffer_pool_acquire_buffer:&amp;lt;imxv4l2bufferpool0&amp;gt; VIDIOC_DQBUF failed: Timer expired&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt; WARN basesrc gstbasesrc.c:2950:gst_base_src_loop:&amp;lt;imxv4l2videosrc0&amp;gt; error: Internal data stream error. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt; WARN basesrc gstbasesrc.c:2950:gst_base_src_loop:&amp;lt;imxv4l2videosrc0&amp;gt; error: streaming stopped, reason error (-5)&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;I hope you can suggest us a way to address one of those issue.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 10:58:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-scroll-issue-and-mxc-v4l-dqueue-timeout-error-on-imx6/m-p/760443#M118170</guid>
      <dc:creator>majamassarini</dc:creator>
      <dc:date>2018-01-26T10:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: screen scroll issue and mxc_v4l_dqueue timeout error on imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-scroll-issue-and-mxc-v4l-dqueue-timeout-error-on-imx6/m-p/760444#M118171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems used plugins are gstreamer-imx plugins, supported on community&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://lists.yoctoproject.org/listinfo/meta-freescale" title="https://lists.yoctoproject.org/listinfo/meta-freescale"&gt;meta-freescale Info Page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also one can try with nxp gstreamer plugins imx-gst described in attached&lt;/P&gt;&lt;P&gt;Linux Guide sect.7 Multimedia. Difference between both options are described in&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://trac.gateworks.com/wiki/Yocto/gstreamer" title="http://trac.gateworks.com/wiki/Yocto/gstreamer"&gt;Yocto/gstreamer – Gateworks&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 23:24:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-scroll-issue-and-mxc-v4l-dqueue-timeout-error-on-imx6/m-p/760444#M118171</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-01-26T23:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: screen scroll issue and mxc_v4l_dqueue timeout error on imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-scroll-issue-and-mxc-v4l-dqueue-timeout-error-on-imx6/m-p/760445#M118172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We will try and we let you know, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 09:19:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-scroll-issue-and-mxc-v4l-dqueue-timeout-error-on-imx6/m-p/760445#M118172</guid>
      <dc:creator>majamassarini</dc:creator>
      <dc:date>2018-01-31T09:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: screen scroll issue and mxc_v4l_dqueue timeout error on imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/screen-scroll-issue-and-mxc-v4l-dqueue-timeout-error-on-imx6/m-p/760446#M118173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the hope to be useful to someone else I share with you patch and pipe that goes around the problem explained above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The working pipe is the following:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 13px;"&gt;"imxv4l2videosrc fps-n=15 ! video/x-raw,format=(string)UYVY,width=720,heigth=576,interlace-mode=interleaved ! tee name=t t. !&amp;nbsp; queue max-size-buffers=2 flush-on-eos=true ! imxipuvideotransform deinterlace=1 ! imxg2dvideosink framebuffer=/dev/fb1 t. !&amp;nbsp; queue max-size-buffers=2 flush-on-eos=true ! imxipuvideotransform ! video/x-raw,format=(string)I420,interlace-mode=interleaved ! videorate ! video/x-raw, framerate=15/1 ! v4l2sink device=/dev/video1"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To make this pipe work I wrote the following patch (it's not a fix but a workaround to a bug)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;diff -Naur gstreamer-imx-0.12.3-a/src/v4l2src/v4l2src.c gstreamer-imx-0.12.3-b/src/v4l2src/v4l2src.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;--- gstreamer-imx-0.12.3-a/src/v4l2src/v4l2src.c 2016-11-14 11:56:14.000000000 +0100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+++ gstreamer-imx-0.12.3-b/src/v4l2src/v4l2src.c 2018-03-13 10:35:59.047733450 +0100&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;@@ -262,7 +262,7 @@&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; available_format_caps = gst_caps_from_string("video/x-raw, format = { UYVY, I420 }");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; allowed_src_caps = gst_pad_get_allowed_caps(GST_BASE_SRC_PAD(v4l2src));&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;- /* Apply intersection to get caps with a valid pixelformat */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+ // Apply intersection to get caps with a valid pixelformat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; allowed_format_caps = gst_caps_intersect(allowed_src_caps, available_format_caps);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; GST_DEBUG_OBJECT(v4l2src, "allowed src caps: %" GST_PTR_FORMAT " -&amp;gt; allowed formats: %" GST_PTR_FORMAT, (gpointer)allowed_src_caps, (gpointer)allowed_format_caps);&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;@@ -470,13 +470,19 @@&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; struct v4l2_format fmt;&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+/*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; if (ioctl(GST_IMX_FD_OBJECT_GET_FD(v4l2src-&amp;gt;fd_obj_v4l), VIDIOC_G_FMT, &amp;amp;fmt) &amp;lt; 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; GST_ERROR_OBJECT(v4l2src, "VIDIOC_G_FMT failed: %s", strerror(errno));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; return NULL;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+*/&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;- /* switch/case table taken from gst-plugins-good/sys/v4l2/gstv4l2object.c */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+ GST_DEBUG_OBJECT(v4l2src, "mm -- caps_for_current_setup, forcing pixelformat at UYVY (interleaved)");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+ gst_fmt = GST_VIDEO_FORMAT_UYVY;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+/*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+ // switch/case table taken from gst-plugins-good/sys/v4l2/gstv4l2object.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; switch (fmt.fmt.pix.pixelformat)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; case V4L2_PIX_FMT_GREY:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;@@ -592,9 +598,12 @@&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; default:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; gst_fmt = gst_video_format_from_fourcc(fmt.fmt.pix.pixelformat);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+*/&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; pixel_format = gst_video_format_to_string(gst_fmt);&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+ interlace_mode = "interleaved";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+/*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; if (v4l2src-&amp;gt;is_tvin &amp;amp;&amp;amp; !fmt.fmt.pix.field)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; fmt.fmt.pix.field = V4L2_FIELD_INTERLACED;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;@@ -612,6 +621,7 @@&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; default:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; interlace_mode = "progressive";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;+*/&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; return gst_caps_new_simple("video/x-raw",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt; "format", G_TYPE_STRING, pixel_format,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I made this pipe work I wrote a new pipe using h264. There were a lot of errors solved by a patch like the one above:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pipe:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;"imxv4l2videosrc fps-n=25 ! video/x-raw,format=(string)UYVY,width=720,heigth=576,interlace-mode=interleaved ! tee name=t t. ! q&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;ueue max-size-buffers=2 flush-on-eos=true ! imxipuvideotransform ! imxg2dvideosink framebuffer=/dev/fb1 t. ! &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;queue max-size-buffers=2 flush-on-eos=true ! &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;videorate ! video/x-raw,format=(string)UYVY,width=720,heigth=576,interlace-mode=interleaved,framerate=25/1 ! &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;imxipuvideotransform ! video/x-raw,format=(string)I420,interlace-mode=interleaved,framerate=25/1,width=720,height=576 ! &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;imxvpuenc_h264 quant-param=30 idr-interval=10 ! video/x-h264, stream-format=byte-stream, alignment=au, framerate=25/1 ! tee name=tt tt. ! &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;queue max-size-buffers=2 flush-on-eos=true ! &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;h264parse ! rtph264pay config-interval=1 ! udpsink host=172.20.35.183 port=5000 tt. ! &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;v4l2sink device=/dev/video1"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;&lt;STRONG&gt;Patch:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace; font-size: 12px;"&gt;diff -Naur gst-plugins-good-1.10.2-a/sys/v4l2/gstv4l2sink.c gst-plugins-good-1.10.2-b/sys/v4l2/gstv4l2sink.c&lt;BR /&gt;--- gst-plugins-good-1.10.2-a/sys/v4l2/gstv4l2sink.c 2016-11-04 18:07:09.000000000 +0100&lt;BR /&gt;+++ gst-plugins-good-1.10.2-b/sys/v4l2/gstv4l2sink.c 2018-03-14 11:25:35.263027778 +0100&lt;BR /&gt;@@ -487,7 +487,27 @@&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;- return gst_v4l2_object_get_caps (v4l2sink-&amp;gt;v4l2object, filter);&lt;BR /&gt;+ //return gst_v4l2_object_get_caps (v4l2sink-&amp;gt;v4l2object, filter);&lt;BR /&gt;+&lt;BR /&gt;+&lt;BR /&gt;+ GstCaps *caps;&lt;BR /&gt;+&lt;BR /&gt;+ GST_INFO_OBJECT(v4l2sink, "get caps filter %" GST_PTR_FORMAT, (gpointer)filter);&lt;BR /&gt;+&lt;BR /&gt;+ caps = gst_caps_from_string(&lt;BR /&gt;+ "video/x-raw"&lt;BR /&gt;+ ", format = (string) { UYVY, I420 }"&lt;BR /&gt;+ ", width = (gint) [ 16, MAX ]"&lt;BR /&gt;+ ", height = (gint) [ 16, MAX ]"&lt;BR /&gt;+ ", interlace-mode = (string) { progressive, interleaved }"&lt;BR /&gt;+ ", framerate = (fraction) [ 0/1, 100/1 ]"&lt;BR /&gt;+ ", pixel-aspect-ratio = (fraction) [ 0/1, 100/1 ]"&lt;BR /&gt;+ ";"&lt;BR /&gt;+ );&lt;BR /&gt;+&lt;BR /&gt;+ GST_INFO_OBJECT(v4l2sink, "get caps %" GST_PTR_FORMAT, (gpointer)caps);&lt;BR /&gt;+&lt;BR /&gt;+ return caps;&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; static gboolean&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2019 08:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/screen-scroll-issue-and-mxc-v4l-dqueue-timeout-error-on-imx6/m-p/760446#M118173</guid>
      <dc:creator>majamassarini</dc:creator>
      <dc:date>2019-06-17T08:12:40Z</dc:date>
    </item>
  </channel>
</rss>

