<?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: Frame drop at decoding video and scaling</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519431#M84227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Yuri,&lt;/P&gt;&lt;P&gt;Thank you so much for your comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the i.MX6Q Sabre board. Therefore, in this case, the software "videoscale" is runing on 1GHz ARM Cortex-A9 processor.&lt;/P&gt;&lt;P&gt;I checked "videoscale" source code, and I think that this processing throughput is not large.&lt;/P&gt;&lt;P&gt;So, I think the performance is enough for "videoscale".&lt;/P&gt;&lt;P&gt;What do you think about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, about imxvideoconvert_ipu or imxvideoconvert_g2d, does these plugins have the resize function?&lt;/P&gt;&lt;P&gt;Please tell me a command to resize about these plugin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your cooperation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kenji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 04:43:55 GMT</pubDate>
    <dc:creator>teranishi_kenji</dc:creator>
    <dc:date>2016-06-14T04:43:55Z</dc:date>
    <item>
      <title>Frame drop at decoding video and scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519429#M84225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying a decoding of H.264 video on i.MX6Q Sabre board using Freescale Yocto Project BSP code (imx-3.14.52-1.1.0_ga).&lt;/P&gt;&lt;P&gt;But, some of the frames are dropped when I try decoding and scaling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Command]&lt;/P&gt;&lt;P&gt;&amp;gt; gst-launch-1.0 filesrc location=test_640x480.avi typefind=true ! video/x-msvideo ! aiurdemux ! vpudec ! videoscale method=1 ! video/x-raw,width=800,height=480 ! overlaysink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Error Message]&lt;/P&gt;&lt;P&gt;&amp;gt; WARNING: from element /GstPipeline:pipeline0/GstOverlaySink:overlaysink0: A lot of buffers are being dropped.&lt;/P&gt;&lt;P&gt;&amp;gt; Additional debug info:&lt;/P&gt;&lt;P&gt;build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/libs/gst/base/gstbasesink.c(2794): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstOverlaySink:overlaysink0:&lt;/P&gt;&lt;P&gt;&amp;gt; There may be a timestamping problem, or this computer is too slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try only the decoding and only the scaling, there are not dropped frame.&lt;/P&gt;&lt;P&gt;I think that "vpudec" is hardware-based process and "videoscale" is software-based process.&lt;/P&gt;&lt;P&gt;Therefore, I think that the decoding and the scaling can be parallel processing.&lt;/P&gt;&lt;P&gt;Why some of the frame is dropped?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As additional information, I measure the processing time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; With decoding&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Scaling time is&amp;nbsp; 61ms / frame&lt;/P&gt;&lt;P&gt;&amp;nbsp; Only Scaling (*)&amp;nbsp;&amp;nbsp; : Scaling time is&amp;nbsp;&amp;nbsp; 8ms / frame&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (*) YUV showing (No decoding)&lt;/P&gt;&lt;P&gt;&amp;nbsp; Command : gst-launch-1.0 filesrc location=test_640x480.yuv ! videoparse format=2 width=640 height=480 framerate=15 ! videoscale method=1 ! video/x-raw,width=800,height=480 ! overlaysink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why the scaling time is long when decoding and scaling has been processed at the same time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kenji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 08:23:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519429#M84225</guid>
      <dc:creator>teranishi_kenji</dc:creator>
      <dc:date>2016-06-13T08:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Frame drop at decoding video and scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519430#M84226</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;SPAN class="tm5"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;SPAN class="tm5"&gt;&amp;nbsp; Looks like the issue is just a performance issue, mainly because of software “videoscale”. &lt;BR /&gt;Please try using one of video conversion plugins (imxvideoconvert_ipu, imxvideoconvert_g2d, &lt;BR /&gt;imxvideoconvert_pxp) to resize image. &lt;BR /&gt;&amp;nbsp; Also You may try to insert queue element in Gstreamer pipeline for buffering in order to &lt;BR /&gt;improve situation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="a______"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Tue, 14 Jun 2016 02:44:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519430#M84226</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-06-14T02:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Frame drop at decoding video and scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519431#M84227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Yuri,&lt;/P&gt;&lt;P&gt;Thank you so much for your comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the i.MX6Q Sabre board. Therefore, in this case, the software "videoscale" is runing on 1GHz ARM Cortex-A9 processor.&lt;/P&gt;&lt;P&gt;I checked "videoscale" source code, and I think that this processing throughput is not large.&lt;/P&gt;&lt;P&gt;So, I think the performance is enough for "videoscale".&lt;/P&gt;&lt;P&gt;What do you think about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, about imxvideoconvert_ipu or imxvideoconvert_g2d, does these plugins have the resize function?&lt;/P&gt;&lt;P&gt;Please tell me a command to resize about these plugin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your cooperation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kenji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 04:43:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519431#M84227</guid>
      <dc:creator>teranishi_kenji</dc:creator>
      <dc:date>2016-06-14T04:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Frame drop at decoding video and scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519432#M84228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please try &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; imxvideoconvert_ipu or imxvideoconvert_g2d, using section &lt;BR /&gt; &lt;/SPAN&gt;7.3.15 (Video conversion) of "i.MX_Linux_User's_Guide.pdf".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/webapp/Download?colCode=L3.14.52_1.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="http://www.nxp.com/webapp/Download?colCode=L3.14.52_1.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;http://www.nxp.com/webapp/Download?colCode=L3.14.52_1.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageTyp…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, perhaps it is possible to use more speedy file storage device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 07:31:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519432#M84228</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-06-14T07:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Frame drop at decoding video and scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519433#M84229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Yuri,&lt;/P&gt;&lt;P&gt;Thank you so much for your replay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was successful according to the manual. Thank you!&lt;/P&gt;&lt;P&gt;About this, do you know the scaling method about imxvideoconvert_ipu or imxvideoconvert_g2d? bicubic or bilinear? The specified is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, &lt;/P&gt;&lt;P&gt;&amp;gt; I am using the i.MX6Q Sabre board. Therefore, in this case, the software "videoscale" is runing on 1GHz ARM Cortex-A9 processor.&lt;/P&gt;&lt;P&gt;&amp;gt; So, I think the performance is enough for "videoscale".&lt;/P&gt;&lt;P&gt;What do you think about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kenji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:48:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519433#M84229</guid>
      <dc:creator>teranishi_kenji</dc:creator>
      <dc:date>2016-06-14T09:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Frame drop at decoding video and scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519434#M84230</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;&amp;nbsp; You may look at sources ; please refer to "i.MX_Linux_Release_Notes.pdf" to define&lt;/P&gt;&lt;P&gt;what package contains GStreamer plugins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; As for performance it depends on application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2016 07:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519434#M84230</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-07-04T07:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Frame drop at decoding video and scaling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519435#M84231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yuri,&lt;/P&gt;&lt;P&gt;Thank you for your comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can not find the source code of imxvideoconvert_ipu and imxvideoconvert_g2d plugins.&lt;/P&gt;&lt;P&gt;I think that this code is private firmware and binary code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; As for performance it depends on application.&lt;/P&gt;&lt;P&gt;I am using the original i.MX6Q Sabre board and original Freescale Yocto Project BSP code (imx-3.14.52-1.1.0_ga).&lt;/P&gt;&lt;P&gt;And, I am using "fsl-image-qt5" image.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="short_text" lang="en"&gt;I do not know w&lt;/SPAN&gt;hy the performance is bad.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Kenji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 02:54:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Frame-drop-at-decoding-video-and-scaling/m-p/519435#M84231</guid>
      <dc:creator>teranishi_kenji</dc:creator>
      <dc:date>2016-07-05T02:54:57Z</dc:date>
    </item>
  </channel>
</rss>

