<?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 Re: UVC Camera in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181043#M7682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great to hear that. It will be pushed for next release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2011 15:05:36 GMT</pubDate>
    <dc:creator>KanHU</dc:creator>
    <dc:date>2011-11-02T15:05:36Z</dc:date>
    <item>
      <title>UVC Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181037#M7676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When trying to display a simply camera image from gstreamer, isink is unable to allocate memory on the 68th frame (regardless of resolution):&lt;/P&gt;&lt;P&gt;W=320H=240&lt;BR /&gt;gst-launch -vvv v4l2src queue-size=4 device=/dev/video0 always-copy=0 ! "video/x-raw-yuv,format=(fourcc)YUY2,width=${W},height=${H}" ! identity ! mfw_isink axis-top=0 axis-left=0 disp-height=${H} disp-width=${W} sync=false rotation=0 fps-notify=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;﻿# gst-launch -vvv v4l2src queue-size=4 device=/dev/video0 always-copy=0 ! \&amp;gt; "video/x-raw-yuv,format=(fourcc)YUY2,width=${W},height=${H}" ! \&amp;gt; identity ! \&amp;gt; mfw_isink axis-top=0 axis-left=0 disp-height=${H} disp-width=${W} sync=false rotation=0 fps-notify=1MFW_GST_ISINK_PLUGIN 2.0.2 build on Oct 28 2011 13:22:05.Setting pipeline to PAUSED ... &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; &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; &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; &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; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)YUY2, width=(int)640, height=(int)480, interlaced=(boolean)false, framerate=(fraction)30/1, width_align=(int)64, height_align=(int)64Pipeline is live and does not need PREROLL ...Setting pipeline to PLAYING ...New clock: GstSystemClock&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;/GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain &amp;nbsp; ******* (identity0:sink)i (614400 bytes, timestamp: 0:00:02.295924040, duration: 0:00:00.033333333, offset: 66, offset_end: &amp;nbsp;67, flags: 0) 0xe8950"/GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain &amp;nbsp; ******* (identity0:sink)i (614400 bytes, timestamp: 0:00:02.328636415, duration: 0:00:00.033333333, offset: 67, offset_end: &amp;nbsp;68, flags: 0) 0xe89f8"hwbuffer_allocator.c:256 ioctl error, return -1hwbuffer_allocator.c:256 ioctl error, return -1can not create hwbuf for size 6144000:00:03.142481000 &amp;nbsp;4418 &amp;nbsp; &amp;nbsp;0xcb758 ERROR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default mfw_gst_isink.c:862:mfw_gst_isink_buffer_alloc: &amp;gt;&amp;gt;I_SINK: Could not allocate hardware buffer0:00:03.142832250 &amp;nbsp;4418 &amp;nbsp; &amp;nbsp;0xcb758 ERROR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default mfw_gst_isink.c:1276:mfw_gst_isink_show_frame: Can not allocate ibuf for non-dma buffer, ret=-5/GstPipeline:pipeline0/GstIdentity:identity0: last-message = "chain &amp;nbsp; ******* (identity0:sink)i (614400 bytes, timestamp: 0:00:02.885061417, duration: 0:00:00.033333333, offset: 68, offset_end: &amp;nbsp;69, flags: 32) 0xe8800"&lt;/SPAN&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;﻿﻿However, if I use videotestsrc ! mfw_isink, it will run all day. &amp;nbsp;Likewise, if I use fakesink, it will run all day. &amp;nbsp;What makes mfw_isink and v4l2src incompatible? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way to get this to reliably work is to pipe it thru an encode/decode loopback. &amp;nbsp;&lt;/P&gt;&lt;P&gt;gst-launch -vvv v4l2src queue-size=4 device=/dev/video0 always-copy=1 ! "video/x-raw-yuv,format=(fourcc)YUY2,width=${W},height=${H},framerate=(fraction)30/1" ! mfw_ipucsc ! mfw_vpuencoder codec-type=std_avc width=${W} height=${H} loopback=true ! \mfw_vpudecoder parser=false loopback=true ! mfw_isink axis-top=0 axis-left=0 disp-height=${H} disp-width=${W} sync=false rotation=0 fps-notify=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried a variety of options as well as adding my own (fps-notify). &amp;nbsp;I've also updated to the latest git version of gstreamer (0.10.35) as well as the plugins. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm poking around the hwbuffer_allocator now. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mx53 w/ 11.05 BSP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 18:46:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181037#M7676</guid>
      <dc:creator>TalleyHo</dc:creator>
      <dc:date>2011-10-28T18:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: UVC Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181038#M7677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems a new BSP is out, so I'll have a look at the updates to the gst-fsl-plugins. &amp;nbsp;In the mean time, I've found something of interest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using the loopback method, the function&amp;nbsp;mfw_free_hw_buffer ultimately gets called after every frame. &amp;nbsp;However, when going the direct route (v4l2src to isink), this function is never called, and I effectively run out of memory pools. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 19:18:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181038#M7677</guid>
      <dc:creator>TalleyHo</dc:creator>
      <dc:date>2011-10-28T19:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: UVC Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181039#M7678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This pipeline works for me on a 11.03 BSP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gst-launch v4l2src&amp;nbsp; ! mfw_v4lsink&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Oct 2011 21:17:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181039#M7678</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2011-10-29T21:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: UVC Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181040#M7679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;V4lsink may work - but I am unable to use that. &amp;nbsp;I suspect you'll see the failure with mfw_isink if you run the following pipeline.&lt;/P&gt;&lt;P&gt;gst-launch -vvv v4l2src ! identity ! mfw_isink&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've run this on 11.03, and now the latest 11.09 and they both fail. &amp;nbsp;It's very similar to an older bug that was fixed in which videotestsrc ! mfw_isink would fail after a short time. &amp;nbsp;We are not running w/ X11 or Ubuntu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 13:26:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181040#M7679</guid>
      <dc:creator>TalleyHo</dc:creator>
      <dc:date>2011-10-31T13:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: UVC Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181041#M7680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a bug I think.&lt;/P&gt;&lt;P&gt;If you can build from the source, please try the following patch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 14:38:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181041#M7680</guid>
      <dc:creator>KanHU</dc:creator>
      <dc:date>2011-11-02T14:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: UVC Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181042#M7681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! &amp;nbsp;That seems to have fixed the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 14:56:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181042#M7681</guid>
      <dc:creator>TalleyHo</dc:creator>
      <dc:date>2011-11-02T14:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: UVC Camera</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181043#M7682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great to hear that. It will be pushed for next release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 15:05:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UVC-Camera/m-p/181043#M7682</guid>
      <dc:creator>KanHU</dc:creator>
      <dc:date>2011-11-02T15:05:36Z</dc:date>
    </item>
  </channel>
</rss>

