RTSPSRC, internal data stream error

I have a three detector pipeline. ( similar to LPR net).
the pipeline works fine for some time, it stops after a while with this message.

0:01:45.840727535 17152 0x558b973630 ERROR nvvideoconvert gstnvvideoconvert.c:3503:gst_nvvideoconvert_transform: input buffer mapinfo failed
0:01:45.840945430 17152 0x558b973630 WARN nvinfer gstnvinfer.cpp:2288:gst_nvinfer_output_loop:<lpr_model> error: Internal data stream error.
0:01:45.841021486 17152 0x558b973630 WARN nvinfer gstnvinfer.cpp:2288:gst_nvinfer_output_loop:<lpr_model> error: streaming stopped, reason error (-5)
slot 4 , object id 0 car number 592139
0:01:45.890644450 17152 0x558b973630 ERROR nvvideoconvert gstnvvideoconvert.c:3503:gst_nvvideoconvert_transform: input buffer mapinfo failed
slot 4 , object id 0 car number 592139
0:01:45.934599991 17152 0x558b973630 ERROR nvvideoconvert gstnvvideoconvert.c:3503:gst_nvvideoconvert_transform: input buffer mapinfo failed
slot 4 , object id 0 car number 592139
0:01:45.979907955 17152 0x558b973630 ERROR nvvideoconvert gstnvvideoconvert.c:3503:gst_nvvideoconvert_transform: input buffer mapinfo failed

is this pipeline issue or the source issue ?? can I somehow make the pipeline wait?

more info :- I set the source frame rate from 1 to 20. and every time I got the same error.

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

Hardware :- Jetson Xavier
Deepstream :- 6.0
CUda = 10.2

my pipeline :-source(rtsp),rtph264depay,decoder,streammux,nvinfer, nvinfer_2 ,nvtracker,nvinfer_3,nvvidconv,nvosd,nvvidconv_2,jpegenc,sink.

pipeline runs fine for 5-10 minutes after that I get this,
0:06:32.799461511 18216 0x5562926630 ERROR nvvideoconvert gstnvvideoconvert.c:3503:gst_nvvideoconvert_transform: input buffer mapinfo failed
0:06:32.799761930 18216 0x5562926630 WARN nvinfer gstnvinfer.cpp:2288:gst_nvinfer_output_loop:<lpr_model> error: Internal data stream error.
0:06:32.799811050 18216 0x5562926630 WARN nvinfer gstnvinfer.cpp:2288:gst_nvinfer_output_loop:<lpr_model> error: streaming stopped, reason error (-5)
0:06:33.218911236 18216 0x5562926630 ERROR nvvideoconvert gstnvvideoconvert.c:3503:gst_nvvideoconvert_transform: input buffer mapinfo failed
0:06:33.594950542 18216 0x5562926630 ERROR nvvideoconvert gstnvvideoconvert.c:3503:gst_nvvideoconvert_transform: input buffer mapinfo failed
0:06:33.963833385 18216 0x5562926630 ERROR nvvideoconvert gstnvvideoconvert.c:3503:gst_nvvideoconvert_transform: input buffer mapinfo failed

how can I solve this ?

Just from the error info input buffer mapinfo failed, it’s a memory problem.
1.Observe whether there is a large and continuous increase in memory when you run the pipeline.
2.Try to change the pipeline to nvvidconv_2->fakesink and see if it will happen again.
3.Try to change the pipeline to uridecodebin->streammux and see if it will happen again.

thanks for a quick reply.
Tested for (1) Observe whether there is a large and continuous increase in memory when you run the pipeline, No. Memory remains near constant.
(2) changed the sink to fakesink.
in this case, instaed of that error, after a while pipeline is just waiting.

Did you try the 3rd way to change source to uridecodebin? We recommend using uridecodebin when you run the rtsp source.
Could you share the source link to us?

I can not share the source link. I can tell you that it is PTZ camera.

tried with the uridecodebin as well. same. the pipeline runs for some time and then waits.

Ok, Could you use this Camera to run our demo code and see if it will happen again?

okay will test.

so I created a new RTSP stream on the same device using this
and started the pipeline on that stream.
the pipeline runs for a while and then keeps waiting / gets stuck.

It seems to be highly ralated with the rtsp source stream. We have resolved similar problem in our new version like below. If you cannot provide us the rtsp source, could you update to the latest version?
https://forums.developer.nvidia.com/t/uridecodebin-cannot-decode-an-rtsp-video-stream/217422/4

I have DS6.0.

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

The latest version is DS6.1.1. You can update to this vesion. Or you can just give us a rtsp source link, we can debug this problem.

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