Problems with saving rtsp audio stream

Hi,
I am using gstreamer-1.0 to merge audio and video rtsp streams. I am finded some examples and created this command:

gst-launch-1.0 -e rtspsrc location='rtsp://172.18.191.83:554/Streaming/Channels/2' name=src \
src. ! rtph264depay ! h264parse ! avdec_h264 ! queue ! mux. \
rtspsrc location='rtsp://172.18.191.81/0' name=src2 \
src2. ! rtpmp4adepay ! aacparse ! avdec_aac ! queue ! audioconvert ! mux. \
matroskamux name=mux ! filesink location=somevideo.mp4

but after launching it on Jetson Nano, I am getting this error:

failed delayed linking some pad of GstRTSPSrc named src2 to some pad of GstRtpMP4ADepay named rtpmp4adepay0

I also have same error when I try to save only audio stream.
What I am doing wrong?

Hi,
From the log prints, it looks like the audio source is invalid. Please try video-only case. If video-only case works, suggest check why audio source is invalid.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.