deepstream SDK - RTSP error

I’m trying the “deepstream test3” example an rtsp address of an ip camera that transmits in h264.
I get this error:

nvidia@nvidia-desktop:~/deepstream_sdk_on_jetson/sources/apps/sample_apps/deepstream-test3$ ./deepstream-test3-app rtsp://admin:Passw0rd@
WARNING: Overriding infer-config batch-size (2) with number of sources (1)
Now playing: rtsp://admin:Passw0rd@,
>>> Using TRT model serialized engine /home/nvidia/deepstream_sdk_on_jetson/sources/apps/sample_apps/deepstream-test3/../../../../samples/models/Primary_Detector/resnet10.caffemodel_b2_int8.engine crypto flags(0)
NvMMLiteOpen : Block : BlockType = 261 
NVMEDIA: Reading sys.display-size : status: 6 
NvMMLiteBlockCreate : Block : BlockType = 261 
Allocating new output: 1280x720 (x 13), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3595: Send OMX_EventPortSettingsChanged: nFrameWidth = 1280, nFrameHeight = 720 
nvstreamtiler: batchSize set as 1
buf_convert: Wrong src surface count in ConvertBuffer

Any solution? thank you

Please try


If i try:

gst-launch-1.0 rtspsrc location=rtsp://admin:pass@ ! rtph264depay ! h264parse ! omxh264dec ! nvoverlaysink

It works.

I’ve tried to modify “deepstream_test_3_app.c” with your tips.

But I always get the same error, I’m sure I’m wrong in editing the .c file.
Can you send me the “deepstream_test_3_app.c” file already modified?


Please refer to below post which runs udpsrc:
It should be similar to your case.

I’m sorry but I didn’t understand what to change, could I have further explanations?
I would like to pass an rtsp:// link, instead of a h264 file.


We encourage users to do integration. lilei6 has worked out a solution in 1050634. You may contact him for suggestion.