<?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: NNstreamer stream detection video over udp</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1780018#M217869</link>
    <description>&lt;P&gt;could you reproduce this issue on nxp board?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Dec 2023 09:54:58 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2023-12-26T09:54:58Z</dc:date>
    <item>
      <title>NNstreamer stream detection video over udp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1779353#M217779</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am usig the BD evaluation board for imx8mp:&lt;BR /&gt;&lt;A href="https://boundarydevices.com/product/universal-smarc-carrier-board/" target="_blank"&gt;https://boundarydevices.com/product/universal-smarc-carrier-board/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am testing object detection capability following the following manual:&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf&lt;/A&gt; page 55&lt;/P&gt;&lt;P&gt;I am trying to modify the following pipeline to work with udp instead of display:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;gst-launch-1.0 --no-position v4l2src device=/dev/video3 ! \
video/x-raw,width=640,height=480,framerate=30/1 ! \
tee name=t t. ! queue max-size-buffers=2 leaky=2 ! \
imxvideoconvert_g2d ! \
video/x-raw,width=300,height=300,format=RGBA ! \
videoconvert ! video/x-raw,format=RGB ! \
tensor_converter ! \
tensor_filter framework=tensorflow-lite model=${MODEL} \
custom=Delegate:External,ExtDelegateLib:libvx_delegate.so ! \
tensor_decoder mode=bounding_boxes option1=mobilenet-ssd-postprocess option2=${LABELS} \
option3=0:1:2:3,50 option4=640:480 option5=300:300 ! \
mix. t. ! queue max-size-buffers=2 ! \
imxcompositor_g2d name=mix latency=30000000 min-upstream-latency=30000000
sink_0::zorder=2 sink_1::zorder=1 ! waylandsink&lt;/LI-CODE&gt;&lt;P&gt;I cannot run the above because my display is not configured and is not needed.&lt;/P&gt;&lt;P&gt;I have tested streaming out using the following pipeline sucessfully with no issues:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;$GSTL -v v4l2src device=$USB_CAM_1 ! imxvideoconvert_g2d ! "video/x-raw, width=1920, height=1080, framerate=30/1" ! vpuenc_h264 ! rtph264pay pt=96 ! rtpstreampay ! udpsink host=$HOST_IP port=$HOST_PORT_1 sync=false&lt;/LI-CODE&gt;&lt;P&gt;When I modify desired object detection pipeline to stream out (as shown below), it seems to be running with no errors. However, I do not get any frames (with or without overlay) on the client side.&lt;BR /&gt;I have used wireshark to monitor the incoming port on the PC and do not see any frames coming in. I think the issue is imxcompositor_g2d to imxvideoconvert_g2d/vpuenc_h264?&lt;/P&gt;&lt;P&gt;Any suggestions or help is much appreciated.&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# DOES NOT ERROR BUT CANNOT SEE THE STREAM
$GSTL -vvv v4l2src device=$USB_CAM_1 ! video/x-raw, width=640, height=480, framerate=30/1 \
! tee name=t t. ! queue leaky=2 max-size-buffers=2 ! imxvideoconvert_g2d ! video/x-raw,width=300,height=300,format=RGBA ! \
videoconvert ! video/x-raw,format=RGB ! \
tensor_converter ! \
tensor_filter framework=tensorflow-lite model=${MODEL} \
custom=Delegate:External,ExtDelegateLib:libvx_delegate.so ! \
tensor_decoder mode=bounding_boxes option1=mobilenet-ssd-postprocess option2=${LABELS} \
option3=0:1:2:3,50 option4=640:480 option5=300:300 ! \
mix. t. ! queue max-size-buffers=2 ! \
imxcompositor_g2d name=mix latency=30000000 min-upstream-latency=30000000 \
sink_0::zorder=2 sink_1::zorder=1 ! \
imxvideoconvert_g2d ! "video/x-raw, width=640, height=480, framerate=30/1,format=RGB16" \
! vpuenc_h264 ! rtph264pay config-interval=1 pt=96 ! rtpstreampay ! udpsink host=$HOST_IP_1 port=$HOST_PORT_1 async=false sync=false
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output of the pipeline: Note that the numbers of incrementing which makes me believe that the pipeline is running. However, on the client side no packets are received.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image-1.png" style="width: 842px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/255694iBDFBB33BD1BAEDC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="image-1.png" alt="image-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 20:12:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1779353#M217779</guid>
      <dc:creator>nb-ensa</dc:creator>
      <dc:date>2023-12-22T20:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: NNstreamer stream detection video over udp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1780018#M217869</link>
      <description>&lt;P&gt;could you reproduce this issue on nxp board?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 09:54:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1780018#M217869</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-12-26T09:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: NNstreamer stream detection video over udp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1780148#M217888</link>
      <description>&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;The pasted print statements are from an ssh session in the nxp SOM. Did I understand your question correctly?&lt;/P&gt;&lt;P&gt;On this eval board I have tested successfully:&lt;/P&gt;&lt;P&gt;1. I can stream out using gstreamer and the cameras successfully. Receive the udp stream via gsteamer client on a pc.&lt;/P&gt;&lt;P&gt;2. The model was checked out to run and produce the correct bounding box, label using command line.&lt;/P&gt;&lt;P&gt;So I think the issue is the gstreamer pipeline provided above? Do you see anything wrong with it?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 21:55:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1780148#M217888</guid>
      <dc:creator>nb-ensa</dc:creator>
      <dc:date>2023-12-26T21:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: NNstreamer stream detection video over udp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1780966#M218000</link>
      <description>Any Ideas? Please see my response below. Thanks.</description>
      <pubDate>Thu, 28 Dec 2023 19:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1780966#M218000</guid>
      <dc:creator>nb-ensa</dc:creator>
      <dc:date>2023-12-28T19:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: NNstreamer stream detection video over udp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1792441#M218973</link>
      <description>&lt;P&gt;sorry for missing this message, how about the status? if still failed, let me reproduce this on my nxp evk board&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 09:16:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1792441#M218973</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-01-21T09:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: NNstreamer stream detection video over udp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1794786#M219159</link>
      <description>&lt;P&gt;yes. It is still happening.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 17:27:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1794786#M219159</guid>
      <dc:creator>nb-ensa</dc:creator>
      <dc:date>2024-01-24T17:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: NNstreamer stream detection video over udp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1801386#M219610</link>
      <description>&lt;P&gt;I'm on vacation now, I will reproduce this issue when I come back to office, how do you set the client side? you also can use nnshark to check this&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/nnshark/" target="_blank"&gt;https://github.com/nxp-imx/nnshark/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2024 09:03:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NNstreamer-stream-detection-video-over-udp/m-p/1801386#M219610</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-02-04T09:03:32Z</dc:date>
    </item>
  </channel>
</rss>

