<?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 IMX8MP gstreamer camera capture in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1652691#M206071</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am developing a camera with DART-MX8M-PLUS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to process capture image while streaming in QT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now I am doing like below.&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;gst-launch-1.0 v4l2src device=/dev/video1 ! imxvideoconvert_g2d ! video/x-raw,width=720, height=480 ! tee name=t t. ! queue ! waylandsink t. ! queue ! jpegenc ! multifilesink location=capture.jpg max-files=1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But files are being overwritten continuously and&amp;nbsp;CPU load also goes up.&lt;/P&gt;&lt;P&gt;Are there another ways to capture at the time I want while streaming?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jayden&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 May 2023 03:27:04 GMT</pubDate>
    <dc:creator>Jayden_Soon</dc:creator>
    <dc:date>2023-05-18T03:27:04Z</dc:date>
    <item>
      <title>IMX8MP gstreamer camera capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1652691#M206071</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am developing a camera with DART-MX8M-PLUS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to process capture image while streaming in QT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now I am doing like below.&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;gst-launch-1.0 v4l2src device=/dev/video1 ! imxvideoconvert_g2d ! video/x-raw,width=720, height=480 ! tee name=t t. ! queue ! waylandsink t. ! queue ! jpegenc ! multifilesink location=capture.jpg max-files=1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But files are being overwritten continuously and&amp;nbsp;CPU load also goes up.&lt;/P&gt;&lt;P&gt;Are there another ways to capture at the time I want while streaming?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jayden&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 03:27:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1652691#M206071</guid>
      <dc:creator>Jayden_Soon</dc:creator>
      <dc:date>2023-05-18T03:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP gstreamer camera capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1654239#M206231</link>
      <description>&lt;P&gt;Do you want to process each frame from camera? Why not use the opencv to&amp;nbsp;&lt;SPAN&gt;capture at the time you&amp;nbsp; want while streaming?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 01:11:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1654239#M206231</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-05-22T01:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP gstreamer camera capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1654692#M206263</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Using your command you need to add:&amp;nbsp;&lt;STRONG&gt;num-buffers=1&lt;/STRONG&gt;&lt;BR /&gt;gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video2 ! video/x-raw,width=3840,height=2160 ! videoconvert ! jpegenc ! multifilesink location=test1.jpg&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can only do this properly programmatically.&lt;BR /&gt;One solution would be to Tee in an appsink and encode a jpeg on demand.&lt;BR /&gt;Fakesink would also work. See example attached.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 09:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1654692#M206263</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2023-05-22T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP gstreamer camera capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1655086#M206295</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;malik,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you so much for the good sources.&lt;BR /&gt;I'll&lt;/SPAN&gt;&lt;SPAN&gt; test it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regrads,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jayden&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 23:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1655086#M206295</guid>
      <dc:creator>Jayden_Soon</dc:creator>
      <dc:date>2023-05-22T23:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP gstreamer camera capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1655087#M206296</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Qmiller,&lt;/P&gt;&lt;P&gt;Then, are there examples that I can refer to using opencv?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jayden&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 23:43:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gstreamer-camera-capture/m-p/1655087#M206296</guid>
      <dc:creator>Jayden_Soon</dc:creator>
      <dc:date>2023-05-22T23:43:34Z</dc:date>
    </item>
  </channel>
</rss>

