<?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 Rising CPU usage when decoding interlaced H.264 using VPU in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Rising-CPU-usage-when-decoding-interlaced-H-264-using-VPU/m-p/1399039#M185779</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We need to perform decoding of an interlaced H.264 stream using the VPU of the iMX8 Quad Max. Doing it using the v4l2h264dec GStreamer plugin the CPU usage keeps rising over time. For example, the following is the CPU usage of the gst-launch process measured using top:&lt;/P&gt;&lt;P&gt;Time 0: 3% CPU&lt;BR /&gt;1 min: 6.6% CPU&lt;BR /&gt;2 min: 14% CPU&lt;BR /&gt;3 min: 20.2% CPU&lt;/P&gt;&lt;P&gt;The same behaviour was observed on a iMX8M Plus using vpudec.&lt;/P&gt;&lt;P&gt;Is interlaced video decoding supported by the Amphion VPU (or any other VPU)? Or is there another issue with decoding interlaced video?&lt;/P&gt;&lt;P&gt;To reproduce the issue I recorded a file from the stream which can be played using the following GStreamer pipeline:&lt;BR /&gt;gst-launch-1.0 filesrc location=interlaced.h264 ! h264parse ! v4l2h264dec output-io-mode=dmabuf ! fakesink sync=true&lt;/P&gt;&lt;P&gt;Problematic video:&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1YPnvKthPSfGqi5q_Ua_oUKjZ_ACMeOqv/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1YPnvKthPSfGqi5q_Ua_oUKjZ_ACMeOqv/view?usp=sharing&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 17:58:58 GMT</pubDate>
    <dc:creator>jasson_rodriguez</dc:creator>
    <dc:date>2022-01-13T17:58:58Z</dc:date>
    <item>
      <title>Rising CPU usage when decoding interlaced H.264 using VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Rising-CPU-usage-when-decoding-interlaced-H-264-using-VPU/m-p/1399039#M185779</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We need to perform decoding of an interlaced H.264 stream using the VPU of the iMX8 Quad Max. Doing it using the v4l2h264dec GStreamer plugin the CPU usage keeps rising over time. For example, the following is the CPU usage of the gst-launch process measured using top:&lt;/P&gt;&lt;P&gt;Time 0: 3% CPU&lt;BR /&gt;1 min: 6.6% CPU&lt;BR /&gt;2 min: 14% CPU&lt;BR /&gt;3 min: 20.2% CPU&lt;/P&gt;&lt;P&gt;The same behaviour was observed on a iMX8M Plus using vpudec.&lt;/P&gt;&lt;P&gt;Is interlaced video decoding supported by the Amphion VPU (or any other VPU)? Or is there another issue with decoding interlaced video?&lt;/P&gt;&lt;P&gt;To reproduce the issue I recorded a file from the stream which can be played using the following GStreamer pipeline:&lt;BR /&gt;gst-launch-1.0 filesrc location=interlaced.h264 ! h264parse ! v4l2h264dec output-io-mode=dmabuf ! fakesink sync=true&lt;/P&gt;&lt;P&gt;Problematic video:&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/file/d/1YPnvKthPSfGqi5q_Ua_oUKjZ_ACMeOqv/view?usp=sharing" target="_blank"&gt;https://drive.google.com/file/d/1YPnvKthPSfGqi5q_Ua_oUKjZ_ACMeOqv/view?usp=sharing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 17:58:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Rising-CPU-usage-when-decoding-interlaced-H-264-using-VPU/m-p/1399039#M185779</guid>
      <dc:creator>jasson_rodriguez</dc:creator>
      <dc:date>2022-01-13T17:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rising CPU usage when decoding interlaced H.264 using VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Rising-CPU-usage-when-decoding-interlaced-H-264-using-VPU/m-p/1400972#M185962</link>
      <description>&lt;P&gt;Hello jasson,&lt;/P&gt;
&lt;P&gt;The h264 file can't be accessed. Could you share the h264 video?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 13:48:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Rising-CPU-usage-when-decoding-interlaced-H-264-using-VPU/m-p/1400972#M185962</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-01-18T13:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rising CPU usage when decoding interlaced H.264 using VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Rising-CPU-usage-when-decoding-interlaced-H-264-using-VPU/m-p/1401018#M185966</link>
      <description>&lt;P&gt;Hello Bio,&lt;/P&gt;&lt;P&gt;I had to upload a shorter video due to the attachment size constraint. While the original pipeline still shows some increase in the CPU usage, it is better shown by the following pipeline:&lt;/P&gt;&lt;P&gt;gst-launch-1.0 multifilesrc location=interlaced-small.h264 loop=true ! h264parse ! v4l2h264dec output-io-mode=dmabuf ! fakesink sync=true&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 15:18:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Rising-CPU-usage-when-decoding-interlaced-H-264-using-VPU/m-p/1401018#M185966</guid>
      <dc:creator>jasson_rodriguez</dc:creator>
      <dc:date>2022-01-18T15:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rising CPU usage when decoding interlaced H.264 using VPU</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Rising-CPU-usage-when-decoding-interlaced-H-264-using-VPU/m-p/1405329#M186345</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm sorry, I didn't notice I wasn't replying to you directly. I uploaded a smaller file in another reply to my post.&lt;/P&gt;&lt;P&gt;I tried to update the board's BSP to use Yocto Hardknott and it got even worse. This time seeing the issue with a progressive stream. Do you have any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 16:15:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Rising-CPU-usage-when-decoding-interlaced-H-264-using-VPU/m-p/1405329#M186345</guid>
      <dc:creator>jasson_rodriguez</dc:creator>
      <dc:date>2022-01-26T16:15:57Z</dc:date>
    </item>
  </channel>
</rss>

