AMB82 MINI (RTL8735B) RTSP gstreamer pipeline not working

Hello,

I have been following the official RTSP tutorial and have successfully set up a video stream from the camera using the steps outlined in this link: Multimedia – RTSP Streaming – Realtek IoT/Wi-Fi MCU Solutions

However, I am encountering difficulties while trying to use the GStreamer pipeline to play this RTSP source. I have tried using the following command line but it did not work:

gst-launch-1.0 rtspsrc protocols=udp location=rtsp://192.168.0.102:554 ! queue ! decodebin ! videoconvert ! autovideosink

I was wondering if anyone has any experience with using the RTSP protocol to stream camera images through GStreamer and if so, could you please provide some guidance?

Thank you for your help.

#include “WiFi.h”
#include “StreamIO.h”
#include “VideoStream.h”
#include “RTSP.h”

#define CHANNEL 1

// Default preset configurations for each video channel:
// Channel 0 : 1920 x 1080 30FPS H264
// Channel 1 : 1280 x 720 30FPS H264
// Channel 2 : 1280 x 720 30FPS MJPEG
VideoSetting config(CHANNEL);

Updated command attempted:

gst-launch-1.0 -v rtspsrc location=rtsp://192.168.0.102:554 ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink

Attached is the executed log file
h264.7z (1.8 KB)

It appears that the video stream was not sent from the amb82-mini, resulting in no display.

Thank you in advance.

hi @tommyliu
Do you able to get streaming though VLC?