Deepstream_test1_rtsp_in_rtsp_out example not streaming

I am trying to run the example for python deepstream for the rtsp input output.

I produce an input stream on the same device (Orin AGX 64 Gb) with nvstreamer, which is at


and I am expecting an output stream at


but I am not getting any.

import cv2
stream = "rtsp://localhost:31554/nvstream/root/store/nvstreamer_videos/"
#stream = "rtsp://localhost:8554/ds-test"

vcap = cv2.VideoCapture(stream)

    ret, frame =
    cv2.imshow('VIDEO', frame)

print("no stream at {:}".format(stream))

This simple test confirms that the input stream exists.


python3 -i rtsp://localhost:31554/nvstream/root/store/nvstreamer_videos/ --rtsp-ts

however does not yield an output stream at rtsp://localhost:8554/ds-test

I can see that pipeline is running, since it outputs frame numbers & RTSP time stamps.

This problem may be related to this file. I use /opt/nvidia/deepstream/deepstream/samples/streams/sample_720p.mp4 and it works fine.

Please make sure to follow this documentation

Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
• The pipeline being used

Jetson Orin AGX 64 Gb
Deepstream 6.4
Jetpack 6.0 DP

Please share this file, or try the file I mentioned above

I cannot share this particular file, but I think I resolved the issue in a multistream-in multistream-out setting - not in this example, which still doesnt work, but overall - But any .mov file should work.

I still dont quite understand what difference there should be - since I am giving it the h264 encoded RTSP stream, not the actual file as input?

This is not the case, you can refer to the documentation of nvstreamer.

‘Transcode’ option is not yet supported on the Jetson platform. If this option is selected you could see exception/crash issues for NVStreamer. If video file contains the B-frames, User needs to remove B-frames before uploading it to NVStreamer. Otherwise you could see the corruption in the rtsp/webrtc video playback. To remove the B-frames from video file below ffmpeg command can be used:

If you are on Jetson and h264 contains b-frames, then there may be a problem.

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