The pipeline crashes after a while when using UDP sink to render video via RTSP

• Hardware Platform (RTX3060)
• DeepStream Version: 6.1
• TensorRT Version: 8.2
• NVIDIA GPU Driver Version: 525.125.06

My Deepstream peline

Source → Detection → tracking → OCR sequence (nvinferserver: text detection → text angle classification → text recognition) → UDP sink

My Python app will crash after a while, but there are no error logs. In this situation, I am only using 1 input source. However, when I use a fake sink for this pipeline, there are no more bugs, even though the number of input sources is 5 (which is more than in the previous cases).

I built another app using C++ with a full pipeline (using udpsink), and there were no bugs. My app runs stably

I am guessing this bug is caused by the Python version of the DS SDK. Has anyone encountered this issue? And could it be due to the Python version? How to fix it?

  1. can you simplify the code to narrow down this issue? you can remove temporarily some elements.
  2. can you use deepstream sample to reproduce this issue? deepstream_imagedata-multistream_redaction.py will use udpsink element.
  1. I have tried, but the error still persists. The same pipeline code by C++ there are no errors.
  2. My app based on deepstream-rtsp-in-rtsp-out.py. I only add PGIE and 1 SGIE

can deepstream-rtsp-in-rtsp-out.py without modification run successfully?

Yes. No modification. With 2 rtsp streams (input). App will be crashed after 2 minutes of running

I can’t reproduce this issue using deepstream-rtsp-in-rtsp-out.py without modification. here is the test log
log-20230728.txt (5.7 KB)
can you share the whole logs?

How long did you run it? After 2-3 minutes I can not connect to RTSP stream by VLC (or python scripts).
Actually, there will be no errors shown on the screen. Please keep your program running longer and observe the results. Many thanks.

No one can help you, if you don’t show logs or terminal run command

I can’t reprodcue the same issue. can you narrow down this issue? you can replace the udpsink with filesink, then check if the output file is complete.

I have the same issue.
Debug with export GST_DEBUG=3, when the error occur, it shown:

0:48:11.501644451    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:48:14.240825779    25 0x7f4200012cc0 WARN            v4l2videodec gstv4l2videodec.c:1310:gst_v4l2_video_dec_loop:<nvv4l2decoder0> Decoder is producing too many buffers
0:48:14.240867293    25 0x7f4200012cc0 WARN            v4l2videodec gstv4l2videodec.c:1310:gst_v4l2_video_dec_loop:<nvv4l2decoder0> Decoder is producing too many buffers
0:48:16.505212118    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:48:21.266802625    25 0x7f4200012cc0 WARN            v4l2videodec gstv4l2videodec.c:1310:gst_v4l2_video_dec_loop:<nvv4l2decoder0> Decoder is producing too many buffers
0:48:21.266819769    25 0x7f4200012cc0 WARN            v4l2videodec gstv4l2videodec.c:1310:gst_v4l2_video_dec_loop:<nvv4l2decoder0> Decoder is producing too many buffers
0:48:21.506748031    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:48:26.510235571    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:48:31.513318379    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:48:32.240791692    25 0x7f4200012cc0 WARN            v4l2videodec gstv4l2videodec.c:1310:gst_v4l2_video_dec_loop:<nvv4l2decoder0> Decoder is producing too many buffers
0:48:32.240809936    25 0x7f4200012cc0 WARN            v4l2videodec gstv4l2videodec.c:1310:gst_v4l2_video_dec_loop:<nvv4l2decoder0> Decoder is producing too many buffers
0:48:36.517627338    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:48:41.522744319    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:48:46.537205830    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:48:51.231643985    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:4520:gst_rtsp_media_set_state: media 0x7f41d00031a0 was not prepared
0:48:51.232563142    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:48:51.232592613    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:48:51.232740244    25     0x5a49e000 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f41d0003380: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin2/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:48:51.535759360    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:48:56.547976324    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:01.556701639    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:06.568393928    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:11.232340998    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:49:11.232362392    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:49:11.232710467    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x7f4208005f60: can't prepare media
0:49:11.232802587    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:2963:handle_describe_request: client 0x7f4208005f60: no media
0:49:11.233418027    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:49:11.233449833    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:49:11.233610507    25     0x5a49e000 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f41d0003560: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin3/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:49:11.582977885    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:16.586882518    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:21.588971564    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:26.589594168    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:31.233128836    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:49:31.233149882    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:49:31.233627661    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x592a0130: can't prepare media
0:49:31.233756668    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:2692:handle_setup_request: client 0x592a0130: media '/ds-test' not found
0:49:31.335670657    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:49:31.335708919    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:49:31.335882584    25     0x5a49e000 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f41d0003740: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin4/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:49:31.593364060    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:36.599837190    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:41.617705270    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:46.617001099    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:51.335328917    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:49:51.335352333    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:49:51.335690496    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x592a0390: can't prepare media
0:49:51.335790673    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:2963:handle_describe_request: client 0x592a0390: no media
0:49:51.336335941    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:49:51.336354259    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:49:51.336484989    25     0x5a49e000 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f41d0003740: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin5/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:49:51.625231842    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:49:56.632150846    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:01.639738354    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:06.640731262    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:11.336152258    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:50:11.336170906    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:50:11.336472438    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x592a04c0: can't prepare media
0:50:11.336556457    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:2692:handle_setup_request: client 0x592a04c0: media '/ds-test' not found
0:50:11.538802979    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:50:11.538838871    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:50:11.539025127    25     0x5a49e000 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f41d0003560: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin6/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:50:11.654711902    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:16.660967761    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:21.665070889    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:26.667940610    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:31.538380984    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:50:31.538403058    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:50:31.538762856    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x7f4208005bd0: can't prepare media
0:50:31.538854889    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:2963:handle_describe_request: client 0x7f4208005bd0: no media
0:50:31.539443489    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:50:31.539468853    25     0x5a49e000 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:50:31.539608629    25     0x5a49e000 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f41d0003380: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin7/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:50:31.681810070    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:36.701918550    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:41.708812994    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:46.718608397    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:51.539219689    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:50:51.539241488    25 0x7f4238002800 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:50:51.539651202    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x7f4208005d00: can't prepare media
0:50:51.539767541    25 0x7f4238002800 ERROR             rtspclient rtsp-client.c:2692:handle_setup_request: client 0x7f4208005d00: media '/ds-test' not found
0:50:51.720491251    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:56.731607177    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:50:57.743675117    25 0x7f423001a240 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:50:57.743708476    25 0x7f423001a240 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:50:57.743887588    25 0x7f423001a240 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f42300181d0: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin8/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:51:01.739594568    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:51:06.742776338    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:51:11.749929112    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:51:16.752273466    25 0x7f4220006b00 WARN                 default gstrtpbuffer.c:1298:gst_rtp_buffer_ext_timestamp: Cannot unwrap, any wrapping took place yet. Returning 0 without updating extended timestamp.
0:51:17.743367718    25 0x7f423c00b520 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:51:17.743388769    25 0x7f423c00b520 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:51:17.743752679    25 0x7f423c00b520 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x2b3c950: can't prepare media
0:51:17.743868771    25 0x7f423c00b520 ERROR             rtspclient rtsp-client.c:2963:handle_describe_request: client 0x2b3c950: no media
0:51:17.744454515    25 0x7f423001a240 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:51:17.744473650    25 0x7f423001a240 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:51:17.744592103    25 0x7f423001a240 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f42300183b0: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin9/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:51:37.744257281    25 0x7f423c00b520 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:51:37.744301816    25 0x7f423c00b520 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:51:37.744694202    25 0x7f423c00b520 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x2b3c5c0: can't prepare media
0:51:37.744787246    25 0x7f423c00b520 ERROR             rtspclient rtsp-client.c:2692:handle_setup_request: client 0x2b3c5c0: media '/ds-test' not found
0:51:39.346914006    25 0x7f423c00b5e0 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:51:39.346946611    25 0x7f423c00b5e0 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:51:39.347113757    25 0x7f423c00b5e0 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f41d000d210: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin10/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:51:59.346555255    25 0x7f41f0012860 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:51:59.346574372    25 0x7f41f0012860 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:51:59.347019436    25 0x7f41f0012860 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x2b3c6f0: can't prepare media
0:51:59.347113506    25 0x7f41f0012860 ERROR             rtspclient rtsp-client.c:2963:handle_describe_request: client 0x2b3c6f0: no media
0:51:59.347739269    25 0x7f423c00b5e0 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:51:59.347758901    25 0x7f423c00b5e0 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:51:59.347894400    25 0x7f423c00b5e0 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f41d000d3f0: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin11/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:52:19.347513419    25 0x7f41f0012860 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:52:19.347534908    25 0x7f41f0012860 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:52:19.347880988    25 0x7f41f0012860 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x7f4230003350: can't prepare media
0:52:19.347967939    25 0x7f41f0012860 ERROR             rtspclient rtsp-client.c:2692:handle_setup_request: client 0x7f4230003350: media '/ds-test' not found
0:52:30.750904463    25 0x7f423001a180 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:52:30.750929986    25 0x7f423001a180 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:52:30.751082389    25 0x7f423001a180 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f4230008230: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin12/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:52:50.750725978    25 0x7f41cc004e40 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:52:50.750743015    25 0x7f41cc004e40 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:52:50.751202552    25 0x7f41cc004e40 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x2b3c820: can't prepare media
0:52:50.751310519    25 0x7f41cc004e40 ERROR             rtspclient rtsp-client.c:2963:handle_describe_request: client 0x2b3c820: no media
0:52:50.751892980    25 0x7f423001a180 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:52:50.751912871    25 0x7f423001a180 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:52:50.752060852    25 0x7f423001a180 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f4230008410: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin13/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:53:10.751729106    25 0x7f41cc004e40 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:53:10.751748940    25 0x7f41cc004e40 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:53:10.752083951    25 0x7f41cc004e40 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x2b3ca80: can't prepare media
0:53:10.752175314    25 0x7f41cc004e40 ERROR             rtspclient rtsp-client.c:2692:handle_setup_request: client 0x2b3ca80: media '/ds-test' not found
0:53:13.954231647    25     0x5a49e0c0 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:53:13.954276128    25     0x5a49e0c0 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:53:13.954432803    25     0x5a49e0c0 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f41d0008240: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin14/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0:53:33.954015629    25     0x56c52700 WARN               rtspmedia rtsp-media.c:3272:wait_preroll: failed to preroll pipeline
0:53:33.954034255    25     0x56c52700 WARN               rtspmedia rtsp-media.c:3652:gst_rtsp_media_prepare: failed to preroll pipeline
0:53:33.954507688    25     0x56c52700 ERROR             rtspclient rtsp-client.c:1077:find_media: client 0x2b3ca80: can't prepare media
0:53:33.954712099    25     0x56c52700 ERROR             rtspclient rtsp-client.c:2963:handle_describe_request: client 0x2b3ca80: no media
0:53:33.955257962    25     0x5a49e0c0 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<pay0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:53:33.955278453    25     0x5a49e0c0 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<pay0> have udp buffer of 212992 bytes while 524288 were requested
0:53:33.955407821    25     0x5a49e0c0 WARN               rtspmedia rtsp-media.c:3014:default_handle_message: 0x7f41d0008420: got warning Could not get/set settings from/on resource. (gstudpsrc.c(1445): gst_udpsrc_open (): /GstPipeline:media-pipeline/GstBin:bin15/GstUDPSrc:pay0:
Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?)
0

are you using the same pipeline? was the issue appear at the beginning or after for a while? if not the same issue, please open a new topic, thanks!

Yes i am using the same pipeline.

Source → Detection → tracking → OCR sequence (nvinferserver: text detection → text angle classification → text recognition) → UDP sink

It run normally at the beginning, then the output was like hanging in some frame, then the rtsp output was stopped (VLC keeps reloading). And the logs shown like above.

can you narrow down this issue? you can replace the udpsink with filesink, then check if the output file is complete.

Yes, I created a sinkbin with nvvidconv > capsfilter > nvv4l2h264enc > filesink
Then play it with gst-launch-1.0 playbin uri=file:///filesink.mp4

It can play the file and show frames with playbin window.

It runs normally with nveglglessink also.

  1. as you said, outputting to file and nveglglessink are fine,.you need to check the udpsink and rtspserver.
  2. as you know, udpsink is do sending with rtp head, you can capture the rtp packets to check if the data was always sending.
  3. where did you play the rtsp stream? first I suggest playing the rtsp stream on the same pc with rtspserver.

There is no update from you for a period, assuming this is not an issue any more. Hence we are closing this topic. If need further support, please open a new one. Thanks.
Thanks. I will give it a try!

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