<?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: mfw_v4lsrc discards captured image when queue-size property set to value 3 or below</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/mfw-v4lsrc-discards-captured-image-when-queue-size-property-set/m-p/481918#M76814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;The following - in section “Finding the Buffer Leak” from the linked below –&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;may explain the issue :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;“ […] v4l2src has a buffer pool of a fixed number of buffers which are recycled along &lt;BR /&gt; the whole pipeline lifetime. This means that if the pool runs out of buffers, it must &lt;BR /&gt; wait until a buffer is freed to write a new image to it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;If v4l2 buffers are not returning fast enough you will lose images waiting for them &lt;BR /&gt; to free.”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.ridgerun.com/wiki/index.php/Embedded_GStreamer_Performance_Tuning" title="https://developer.ridgerun.com/wiki/index.php/Embedded_GStreamer_Performance_Tuning"&gt;Embedded GStreamer Performance Tuning - RidgeRun Developer Connection&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 18 Dec 2015 09:20:42 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2015-12-18T09:20:42Z</dc:date>
    <item>
      <title>mfw_v4lsrc discards captured image when queue-size property set to value 3 or below</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfw-v4lsrc-discards-captured-image-when-queue-size-property-set/m-p/481917#M76813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;Hello, Using below mentioned gstreamer pipeline for image capturing, &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;gst-launch mfw_v4lsrc device=/dev/video0 queue-size=[2 | 3 |&amp;nbsp; 4] ! fakesink -v &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;When mfw_v4lsrc &lt;STRONG&gt;queue-size&lt;/STRONG&gt;&amp;nbsp; property is set to value &lt;STRONG&gt;3 or less&lt;/STRONG&gt;, based on timestamp, got to know that the captured image are been discarded. It works fine with &lt;STRONG&gt;queue-size&lt;/STRONG&gt; property value set to &lt;STRONG&gt;4&lt;/STRONG&gt;. Find the logs attached &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;STRONG&gt;Gstreamer version: 0.10.36 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;&lt;STRONG&gt;MFW_GST_V4LSRC_PLUGIN&amp;nbsp; version: 4.0.2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3334ca;"&gt;Gautham&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336377"&gt;gst_fakesink_log.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 09:35:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfw-v4lsrc-discards-captured-image-when-queue-size-property-set/m-p/481917#M76813</guid>
      <dc:creator>gauthamkanthara</dc:creator>
      <dc:date>2015-12-14T09:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: mfw_v4lsrc discards captured image when queue-size property set to value 3 or below</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfw-v4lsrc-discards-captured-image-when-queue-size-property-set/m-p/481918#M76814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;The following - in section “Finding the Buffer Leak” from the linked below –&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;may explain the issue :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;“ […] v4l2src has a buffer pool of a fixed number of buffers which are recycled along &lt;BR /&gt; the whole pipeline lifetime. This means that if the pool runs out of buffers, it must &lt;BR /&gt; wait until a buffer is freed to write a new image to it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;If v4l2 buffers are not returning fast enough you will lose images waiting for them &lt;BR /&gt; to free.”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.ridgerun.com/wiki/index.php/Embedded_GStreamer_Performance_Tuning" title="https://developer.ridgerun.com/wiki/index.php/Embedded_GStreamer_Performance_Tuning"&gt;Embedded GStreamer Performance Tuning - RidgeRun Developer Connection&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 18 Dec 2015 09:20:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfw-v4lsrc-discards-captured-image-when-queue-size-property-set/m-p/481918#M76814</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-12-18T09:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: mfw_v4lsrc discards captured image when queue-size property set to value 3 or below</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/mfw-v4lsrc-discards-captured-image-when-queue-size-property-set/m-p/481919#M76815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/YuriMuhin_ng"&gt;YuriMuhin_ng&lt;/A&gt;​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply and link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to keep up to 30 fps, it is clear that, need to configure queue-size property of v4lsrc plugin with value 4 or more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gautham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 09:54:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/mfw-v4lsrc-discards-captured-image-when-queue-size-property-set/m-p/481919#M76815</guid>
      <dc:creator>gauthamkanthara</dc:creator>
      <dc:date>2015-12-18T09:54:43Z</dc:date>
    </item>
  </channel>
</rss>

