<?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 Re: Pull RTSP stream failed on i.MX 8MP in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2206445#M242230</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Is there more information?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
    <pubDate>Tue, 18 Nov 2025 05:21:34 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2025-11-18T05:21:34Z</dc:date>
    <item>
      <title>Pull RTSP stream failed on i.MX 8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2197180#M241858</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hi,&amp;nbsp; community&lt;/P&gt;&lt;P&gt;# iMX 8MP&lt;/P&gt;&lt;P&gt;@ Harvey021&lt;/P&gt;&lt;P&gt;I missed an issue during pull rtsp stream.&lt;/P&gt;&lt;P&gt;The "RTSP_URL" has has been verified using VLC.&lt;/P&gt;&lt;P&gt;Video coding: H264&lt;/P&gt;&lt;P&gt;command:&amp;nbsp;gst-launch-1.0 rtspsrc location=$RTSP_URL queue ! rtph264depay ! v4l2h264dec ! autovideosink&lt;/P&gt;&lt;P&gt;target image version: linux6.6.36 full&lt;/P&gt;&lt;P&gt;target machine: i.MX 8mp&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="noway_1-1762140306278.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/363637i66CB2C18F18D5FAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="noway_1-1762140306278.png" alt="noway_1-1762140306278.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;noway_1-1762140306278.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2025 03:30:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2197180#M241858</guid>
      <dc:creator>noway</dc:creator>
      <dc:date>2025-11-03T03:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pull RTSP stream failed on i.MX 8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2197849#M241891</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Please try to use below command.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;gst-launch-1.0 -v rtspsrc location=$RTSP_URL protocols=tcp latency=100 ! rtph264depay ! avdec_h264 ! autovideosink
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2025 01:53:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2197849#M241891</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-11-04T01:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pull RTSP stream failed on i.MX 8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2198879#M241930</link>
      <description>&lt;P&gt;He indicated that the avdec_h264 was not found.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="noway_0-1762331427583.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/364080i6FA7DBCD26542211/image-size/medium?v=v2&amp;amp;px=400" role="button" title="noway_0-1762331427583.png" alt="noway_0-1762331427583.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;noway_0-1762331427583.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And then I try the&amp;nbsp;v4l2h264dec, Nor was it successful.&amp;nbsp;Please refer to the attachment for the error log.&lt;/P&gt;&lt;P&gt;trying command:&amp;nbsp; gst-launch-1.0 -v rtspsrc location=$RTSP_URL protocols=tcp latency=100 ! rtph264depay ! v4l2h264dec ! autovideosink &amp;gt; pull.log 2&amp;gt;&amp;amp;1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 08:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2198879#M241930</guid>
      <dc:creator>noway</dc:creator>
      <dc:date>2025-11-05T08:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pull RTSP stream failed on i.MX 8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2201535#M242031</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please try below command to split audio and video configuration.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;gst-launch-1.0 -v rtspsrc location=xxxxx name=src protocols=tcp latency=100 \
  src. ! queue ! application/x-rtp,media=video,encoding-name=H264,payload=96  ! rtph264depay ! h264parse ! &lt;SPAN&gt;v4l2h264dec&lt;/SPAN&gt;! videoconvert ! autovideosink \
  src. ! queue ! application/x-rtp,media=audio,encoding-name=MPEG4-GENERIC,payload=97 ! rtpmp4gdepay ! aacparse ! avdec_aac ! audioconvert ! audioresample ! autoaudiosink&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 06:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2201535#M242031</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-11-10T06:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pull RTSP stream failed on i.MX 8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2201760#M242041</link>
      <description>&lt;P class=""&gt;&lt;SPAN&gt;Thank you for your reply, the decoding is now working. However, I still have two issues:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;&lt;SPAN&gt;When I change the video resolution from 1080p to 2K, it cannot decode&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Please refer to the attached file "pull.log" for the log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2. When decoding with Python, I found it takes 0.4 seconds to get one frame of data - why is it so slow?&amp;nbsp;Please refer to the attached file "rtsp.py" for the code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="noway_0-1762767557119.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/364672iF8811265B06795CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="noway_0-1762767557119.png" alt="noway_0-1762767557119.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;noway_0-1762767557119.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 09:48:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2201760#M242041</guid>
      <dc:creator>noway</dc:creator>
      <dc:date>2025-11-10T09:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pull RTSP stream failed on i.MX 8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2202257#M242069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/254955"&gt;@noway&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you want to decode video for 60FPS, the maximum resolution is 1080p, the gstreamer has limited&amp;nbsp;maximum&amp;nbsp;resolution.&amp;nbsp;&lt;SPAN&gt;The performance will decrease as the resolution increases on VPU.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For the opencv, you can try below configuration.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;gst = f"rtspsrc location={RTSP_URL} protocols=tcp latency=50 ! " \
     f"rtph265depay ! h265parse config-interval=-1 ! " \
     f"decodebin ! videoconvert ! video/x-raw,format=BGR ! " \
     f"queue max-size-buffers=1 leaky=downstream ! " \
     f"appsink drop=true max-buffers=1 sync=false"
cap = cv2.VideoCapture(gst, cv2.CAP_GSTREAMER)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 02:30:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2202257#M242069</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-11-11T02:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pull RTSP stream failed on i.MX 8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2202283#M242070</link>
      <description>&lt;P&gt;The video's fps is 10. The following is the detailed information.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="noway_0-1762829616720.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/364805i2881FFE5D1AB587F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="noway_0-1762829616720.png" alt="noway_0-1762829616720.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;noway_0-1762829616720.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 02:55:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2202283#M242070</guid>
      <dc:creator>noway</dc:creator>
      <dc:date>2025-11-11T02:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Pull RTSP stream failed on i.MX 8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2206445#M242230</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Is there more information?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 05:21:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Pull-RTSP-stream-failed-on-i-MX-8MP/m-p/2206445#M242230</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2025-11-18T05:21:34Z</dc:date>
    </item>
  </channel>
</rss>

