<?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 mxc_v4l2_capture driver with gstreamer mfw_gst_v4lsrc fails at startup in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/mxc-v4l2-capture-driver-with-gstreamer-mfw-gst-v4lsrc-fails-at/m-p/277607#M31282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Linux 3.0.35 FSL sdk 4.0.0 on iMX6-solo. My pipeline is an audio and video capture and mux to a MKV container and then write to filesink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When starting the pipeline, both gst-launch or my program, will fail (fails intermittently 50/50) with timeout on this ioctl call to mxc_v4l2_capture &lt;/P&gt;&lt;P&gt; -- ioctl (v4l_src-&amp;gt;fd_v4l, VIDIOC_QUERYBUF, buf) &lt;/P&gt;&lt;P&gt;in function mfw_gst_v4lsrc_start_capturing ()&lt;/P&gt;&lt;P&gt;console also log a timeout error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once it started the pipeline works well, no issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder what might be the problem with the mxc_v4l2_capture device driver?&amp;nbsp; Is this timing related?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Norman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2014 06:52:19 GMT</pubDate>
    <dc:creator>normancheung</dc:creator>
    <dc:date>2014-03-06T06:52:19Z</dc:date>
    <item>
      <title>mxc_v4l2_capture driver with gstreamer mfw_gst_v4lsrc fails at startup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mxc-v4l2-capture-driver-with-gstreamer-mfw-gst-v4lsrc-fails-at/m-p/277607#M31282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Linux 3.0.35 FSL sdk 4.0.0 on iMX6-solo. My pipeline is an audio and video capture and mux to a MKV container and then write to filesink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When starting the pipeline, both gst-launch or my program, will fail (fails intermittently 50/50) with timeout on this ioctl call to mxc_v4l2_capture &lt;/P&gt;&lt;P&gt; -- ioctl (v4l_src-&amp;gt;fd_v4l, VIDIOC_QUERYBUF, buf) &lt;/P&gt;&lt;P&gt;in function mfw_gst_v4lsrc_start_capturing ()&lt;/P&gt;&lt;P&gt;console also log a timeout error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once it started the pipeline works well, no issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder what might be the problem with the mxc_v4l2_capture device driver?&amp;nbsp; Is this timing related?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Norman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 06:52:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mxc-v4l2-capture-driver-with-gstreamer-mfw-gst-v4lsrc-fails-at/m-p/277607#M31282</guid>
      <dc:creator>normancheung</dc:creator>
      <dc:date>2014-03-06T06:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: mxc_v4l2_capture driver with gstreamer mfw_gst_v4lsrc fails at startup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mxc-v4l2-capture-driver-with-gstreamer-mfw-gst-v4lsrc-fails-at/m-p/277608#M31283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to add more info on this post, last week I posted this:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/382547#382547"&gt;https://community.freescale.com/message/382547#382547&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but there was no reply.&amp;nbsp; But now I have traced down to mxc_v4l2_capture driver.&amp;nbsp; Some background on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 06:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mxc-v4l2-capture-driver-with-gstreamer-mfw-gst-v4lsrc-fails-at/m-p/277608#M31283</guid>
      <dc:creator>normancheung</dc:creator>
      <dc:date>2014-03-06T06:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: mxc_v4l2_capture driver with gstreamer mfw_gst_v4lsrc fails at startup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mxc-v4l2-capture-driver-with-gstreamer-mfw-gst-v4lsrc-fails-at/m-p/277609#M31284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you use v4lsink or isink? as I konwn, isink has delay issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 09:16:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mxc-v4l2-capture-driver-with-gstreamer-mfw-gst-v4lsrc-fails-at/m-p/277609#M31284</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2014-03-14T09:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: mxc_v4l2_capture driver with gstreamer mfw_gst_v4lsrc fails at startup</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mxc-v4l2-capture-driver-with-gstreamer-mfw-gst-v4lsrc-fails-at/m-p/277610#M31285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue seems to be fixed in the latest yocto master tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I merged the code in, and after running a few days, I have not seen any failure at startup yet.&amp;nbsp; I looked at the code, it seems that a mutex lock is put in the Frame Buffer acquisition.&amp;nbsp; That make sense, implying that the behavior I saweaking the timing&amp;nbsp; was a deadlock situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 01:17:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mxc-v4l2-capture-driver-with-gstreamer-mfw-gst-v4lsrc-fails-at/m-p/277610#M31285</guid>
      <dc:creator>normancheung</dc:creator>
      <dc:date>2014-04-28T01:17:45Z</dc:date>
    </item>
  </channel>
</rss>

