<?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: DMA usage of gstreamer when using vpuenc_h264 Hardware Encoder in imx8mp</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DMA-usage-of-gstreamer-when-using-vpuenc-h264-Hardware-Encoder/m-p/1930924#M227252</link>
    <description>&lt;P&gt;FYI.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/zero-copy-Gstreamer-pipline-CPU-usage-differences-in-4-14-and-5/m-p/1349875" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/zero-copy-Gstreamer-pipline-CPU-usage-differences-in-4-14-and-5/m-p/1349875&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2024 08:07:31 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2024-08-13T08:07:31Z</dc:date>
    <item>
      <title>DMA usage of gstreamer when using vpuenc_h264 Hardware Encoder in imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-usage-of-gstreamer-when-using-vpuenc-h264-Hardware-Encoder/m-p/1927280#M227090</link>
      <description>&lt;P&gt;We are using following gstreamer pipeline for recording video using &lt;LI-PRODUCT title="IMX8MPLUS" id="IMX8MPLUS"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gst-launch-1.0 -e v4l2src device=/dev/video2 ! video/x-raw,width=640,height=480 ! clockoverlay time-format="%D %H:%M %S" halignment=right valignment=bottom shaded-background=true font-desc="Sans,12" ! vpuenc_h264 bitrate=5500 ! h264parse ! mp4mux ! filesink location=test.mp4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;we are using this pipeline as it consumes less CPU and power.&lt;/P&gt;&lt;P&gt;We need to record video using DMA so I have edited the pipeline&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gst-launch-1.0 -e v4l2src device=/dev/video2 io-mode=dmabuf ! video/x-raw,width=640,height=480 ! clockoverlay time-format="%D %H:%M %S" halignment=right valignment=bottom shaded-background=true font-desc="Sans,12" ! vpuenc_h264 bitrate=5500 ! h264parse ! mp4mux ! filesink location=test.mp4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It was working fine but I cannot find any difference in CPU usage and power consumption between two pipelines.&lt;/P&gt;&lt;P&gt;Is there any methods to check that the video is actually getting recorded using the DMA?&lt;/P&gt;&lt;P&gt;Is vpuenc_h264 uses DMA by default in gstreamer ?&lt;/P&gt;&lt;P&gt;Do DMA play the role for lesser CPU usage ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 10:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-usage-of-gstreamer-when-using-vpuenc-h264-Hardware-Encoder/m-p/1927280#M227090</guid>
      <dc:creator>karthicknarayanan</dc:creator>
      <dc:date>2024-08-07T10:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: DMA usage of gstreamer when using vpuenc_h264 Hardware Encoder in imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-usage-of-gstreamer-when-using-vpuenc-h264-Hardware-Encoder/m-p/1930924#M227252</link>
      <description>&lt;P&gt;FYI.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/zero-copy-Gstreamer-pipline-CPU-usage-differences-in-4-14-and-5/m-p/1349875" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/zero-copy-Gstreamer-pipline-CPU-usage-differences-in-4-14-and-5/m-p/1349875&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 08:07:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-usage-of-gstreamer-when-using-vpuenc-h264-Hardware-Encoder/m-p/1930924#M227252</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-08-13T08:07:31Z</dc:date>
    </item>
  </channel>
</rss>

