Unable to use RTSP streams with DeepStream 6.4

Trying to run a custom DeepStream application with DeepStream 6.4. The pipeline works with filesink input videos but when tried with RTSP streams below warning appears from OpenCV and GStreamer and the pipeline never starts. Would really appreciate any help regarding this issue.

[ WARN:0@21.037] global cap_gstreamer.cpp:2839 handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module source reported: Could not open resource for reading and writing.
[ WARN:0@21.038] global cap_gstreamer.cpp:1698 open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0@21.038] global cap_gstreamer.cpp:1173 isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created

Hardware Platform: GPU (Nvidia T4)
DeepStream Version: 6.4
TensorRT Version: 8.6.1.6
NVIDIA GPU Driver Version: 535.171.04
OpenCV Version: 4.x

Hi,
Can you share the pipeline you are using with files and with RTSP streams?

  1. do you mean using the local file source works well while using RTSP source can’t work?
  2. could you share the whole media pipeline? which sample are you referring to?
  3. I suggest using gst-launch to debug first and simplifying the pipeline to narrow down this issue. is it because negotiation failed?
  1. Yes, that is correct.
  2. I am actually using a custom cpp pipeline. Will try to reproduce this with a sample app and share the pipeline shortly.
  3. Sure, will it be possible to share the command ?

please refer to this command-line:

gst-launch-1.0 rtspsrc location=rtsp://xxx  ! rtph264depay ! h264parse ! queue ! nvv4l2decoder ! mux.sink_0 nvstreammux name=mux batch-size=1 width=1920 height=1080 nvbuf-memory-type=3 ! nvinfer config-file-path=./ds_image_meta_pgie_config.txt ! nvvideoconvert ! 'video/x-raw(memory:NVMM),format=RGBA' ! nvdsosd ! nvvideoconvert ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location=./out.mp4

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

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