<?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: Unable to get RSTP streaming working imx8mp</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-RSTP-streaming-working-imx8mp/m-p/2052438#M234513</link>
    <description>&lt;P&gt;what bsp version do you test? let me reproduce this&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2025 02:00:33 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2025-02-27T02:00:33Z</dc:date>
    <item>
      <title>Unable to get RSTP streaming working imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-RSTP-streaming-working-imx8mp/m-p/2051466#M234475</link>
      <description>&lt;P&gt;Using the imx8mp evkit with IMX-OS08A20 accessory card. Bitbake imx-image-full and got the camera working with-in the gopoint demos.&lt;/P&gt;&lt;P&gt;Am trying to stream the camera over rtsp and view the stream from PC VLC over the network.&lt;/P&gt;&lt;P&gt;On the server imx ran:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gst-variable-rtsp-server -p 9001 -u "v4l2src device=/dev/video2 ! video/x-raw,width=640,height=480 ! v4l2h264enc ! rtph264pay name=pay0 pt=96"

Shows:
Pipeline set to: ( v4l2src device=/dev/video2 ! video/x-raw,width=640,height=480 ! v4l2h264enc ! rtph264pay name=pay0 pt=96 )...
Stream ready at rtsp://127.0.0.1:9001/stream&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I tried to retrieve the stream from another device over the network, it does not work, but on the server side i see a new line everytime i tried to connect from the client&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;====== V4L2ENC: 1.24.7 build on Oct 23 2024 09:43:13. ======

====== V4L2ENC: 1.24.7 build on Oct 23 2024 09:43:13. ======

====== V4L2ENC: 1.24.7 build on Oct 23 2024 09:43:13. ======&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I tried to load the stream from the imx system itself with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:9001/stream ! queue ! rtph264depay ! v4l2h264dec ! autovideosink
and 
GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://192.168.100.219:9001/stream ! queue ! rtph264depay ! v4l2h264dec ! autovideosink&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see the same response as above on the server side.&lt;/P&gt;&lt;P&gt;Client side logs :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@imx8mpevk:~# GST_DEBUG=3 gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:9001/stream ! queue ! rtph264depay ! v4l2h264dec ! autovideosink
Setting pipeline to PAUSED ...

====== V4L2DEC: 1.24.7 build on Oct 23 2024 09:43:13. ======
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Pipeline is PREROLLED ...
Prerolled, waiting for progress to finish...
Progress: (connect) Connecting to rtsp://127.0.0.1:9001/stream
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
0:00:00.198607035  1940 0xffffa0000d20 WARN                 rtspsrc gstrtspsrc.c:7097:gst_rtspsrc_send:&amp;lt;rtspsrc0&amp;gt; error: Unhandled error
0:00:00.198669410  1940 0xffffa0000d20 WARN                 rtspsrc gstrtspsrc.c:7097:gst_rtspsrc_send:&amp;lt;rtspsrc0&amp;gt; error: Service Unavailable (503)
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Unhandled error
Additional debug info:
/usr/src/debug/gstreamer1.0-plugins-good/1.24.7.imx/gst/rtsp/gstrtspsrc.c(7097): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Service Unavailable (503)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.199138163  1940 0xffffa0000d20 WARN                 rtspsrc gstrtspsrc.c:8584:gst_rtspsrc_open:&amp;lt;rtspsrc0&amp;gt; can't get sdp
0:00:00.199200289  1940 0xffffa0000d20 WARN                 rtspsrc gstrtspsrc.c:6515:gst_rtspsrc_loop:&amp;lt;rtspsrc0&amp;gt; we are not connected&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what is happening and how to proceed. Any advice greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 07:46:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-RSTP-streaming-working-imx8mp/m-p/2051466#M234475</guid>
      <dc:creator>intosite</dc:creator>
      <dc:date>2025-02-26T07:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get RSTP streaming working imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-RSTP-streaming-working-imx8mp/m-p/2052438#M234513</link>
      <description>&lt;P&gt;what bsp version do you test? let me reproduce this&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 02:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-RSTP-streaming-working-imx8mp/m-p/2052438#M234513</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2025-02-27T02:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get RSTP streaming working imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-RSTP-streaming-working-imx8mp/m-p/2056674#M234758</link>
      <description>Managed to fix this, using v4l2src device=/dev/video3 instead.</description>
      <pubDate>Thu, 06 Mar 2025 02:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-get-RSTP-streaming-working-imx8mp/m-p/2056674#M234758</guid>
      <dc:creator>intosite</dc:creator>
      <dc:date>2025-03-06T02:49:26Z</dc:date>
    </item>
  </channel>
</rss>

