Cannot access some CCTVs (RTSP) from specific brand using DeepStream (Python)

• GPU A100
• DeepStream 6.1
• NVIDIA-SMI 525.85.12 Driver Version: 525.85.12 CUDA Version: 12.0

• Problem: Cannot access some CCTVs (RTSP) using DeepStream (Python)
• Situations: We have several CCTV from different brands in one system.
We able to use DeepStream for half of our CCTV and running well. But half of them (same brand), cannot be accessed through DeepStream, but can be accessed using OpenCV and VLC. FYI we only try to use DeepStream as streaming in the RTSP for now.
CCTV brand: Dahua (Type: |DH-ED125-E and DHI-TPC-DF1241)
• Error Log:
“Error: gst-resource-error-quark: Could not read from resource. (9): gstrtspsrc.c(6323): gst_rtsp_src_receive_response (): /GstPipeline:pipeline0/GstBin:source-bin-00/GstDsNvUriSrcBin:uri-decode-bin/GstRTSPSrc:src:”

Anyone can help on this issue?

Can you use “gst-launch-1.0 rtspsrc location=rtsp://xxxx ! rtph264depay ! fakesink” to check whether the RTSP stream from such camera is compatible to GStreamer?

Error log while running the code:

"
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Progress: (connect) Connecting to
rtsp://user:admin@ip/cam/realmonitor?channel=1
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading.
Additional debug info:
gstrtspsrc.c(6232): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
No supported authentication protocol was found
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
Freeing pipeline …
"

The rtsp client failed to connect to the RTSP server for the authentication failure. Please check your rtsp configuration.

Tried using VLC and OpenCV. within same rtsp link, both of them can stream the RTSP.

Can you share the rtsp link?

For now I cannot share the RTSP link. But I run this to show the debug information

CMD:
GST_DEBUG=4 gst-launch-1.0 rtspsrc location=rtsp://xxxx ! rtph264depay ! fakesink

Debug logs:

GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.16.3
0:00:00.000072357 23027 0x558fa1a01800 INFO GST_INIT gst.c:587:init_pre: Using library installed in /usr/lib/x86_64-linux-gnu
0:00:00.000080403 23027 0x558fa1a01800 INFO GST_INIT gst.c:605:init_pre: Linux AsusE4000 5.4.0-147-generic #164~18.04.1-Ubuntu SMP Tue Apr 4 00:20:20 UTC 2023 x86_64
0:00:00.000208326 23027 0x558fa1a01800 INFO GST_INIT gstmessage.c:128:_priv_gst_message_initialize: init messages
0:00:00.000411592 23027 0x558fa1a01800 INFO GST_INIT gstcontext.c:84:_priv_gst_context_initialize: init contexts
0:00:00.000500431 23027 0x558fa1a01800 INFO GST_PLUGIN_LOADING gstplugin.c:318:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000542160 23027 0x558fa1a01800 INFO GST_PLUGIN_LOADING gstplugin.c:226:gst_plugin_register_static: registered static plugin “staticelements”
0:00:00.000547971 23027 0x558fa1a01800 INFO GST_PLUGIN_LOADING gstplugin.c:228:gst_plugin_register_static: added static plugin “staticelements”, result: 1
0:00:00.000559934 23027 0x558fa1a01800 INFO GST_REGISTRY gstregistry.c:1733:ensure_current_registry: reading registry cache: /root/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.005212024 23027 0x558fa1a01800 INFO GST_REGISTRY gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: loaded /root/.cache/gstreamer-1.0/registry.x86_64.bin in 0.004638 seconds
0:00:00.005234066 23027 0x558fa1a01800 INFO GST_REGISTRY gstregistry.c:1592:scan_and_update_registry: Validating plugins from registry cache: /root/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.006174823 23027 0x558fa1a01800 INFO GST_REGISTRY gstregistry.c:1691:scan_and_update_registry: Registry cache has not changed
0:00:00.006182488 23027 0x558fa1a01800 INFO GST_REGISTRY gstregistry.c:1768:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.006187488 23027 0x558fa1a01800 INFO GST_INIT gst.c:806:init_post: GLib runtime version: 2.64.6
0:00:00.006193639 23027 0x558fa1a01800 INFO GST_INIT gst.c:808:init_post: GLib headers version: 2.64.6
0:00:00.006197436 23027 0x558fa1a01800 INFO GST_INIT gst.c:810:init_post: initialized GStreamer successfully
0:00:00.006212535 23027 0x558fa1a01800 INFO GST_PIPELINE gstparse.c:336:gst_parse_launch_full: parsing pipeline description 'rtspsrc location=xxxx ’
0:00:00.007310752 23027 0x558fa1a01800 INFO GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin “/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtsp.so” loaded
0:00:00.007320721 23027 0x558fa1a01800 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element “rtspsrc”
0:00:00.008108448 23027 0x558fa1a01800 INFO GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin “/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrealmedia.so” loaded
0:00:00.008116854 23027 0x558fa1a01800 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element “rtspreal”
0:00:00.008323476 23027 0x558fa1a01800 INFO GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin “/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstasf.so” loaded
0:00:00.008331421 23027 0x558fa1a01800 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element “rtspwms”
0:00:00.008365216 23027 0x558fa1a01800 INFO GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element “pipeline”
Setting pipeline to PAUSED …
0:00:00.008422284 23027 0x558fa1a01800 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state: current NULL pending VOID_PENDING, desired next READY
0:00:00.008441100 23027 0x558fa1a01800 INFO task gsttask.c:460:gst_task_set_lock: setting stream lock 0x558fa1b92db8 on task 0x558fa1b9f050
0:00:00.008449315 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2688:gst_element_continue_state: completed state change to READY
0:00:00.008455457 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.008469323 23027 0x558fa1a01800 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func: child ‘rtspsrc0’ changed state to 2(READY) successfully
0:00:00.008475385 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2660:gst_element_continue_state: committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:00.008480304 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (PAUSED pending)
0:00:00.008492487 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2668:gst_element_continue_state: continue state change READY to PAUSED, final PAUSED
0:00:00.008498439 23027 0x558fa1a01800 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state: current READY pending VOID_PENDING, desired next PAUSED
0:00:00.008541230 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2688:gst_element_continue_state: completed state change to PAUSED
0:00:00.008547181 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.008553964 23027 0x558fa1a01800 INFO GST_STATES gstbin.c:2995:gst_bin_change_state_func: child ‘rtspsrc0’ changed state to 3(PAUSED) successfully without preroll
0:00:00.008559334 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2688:gst_element_continue_state: completed state change to PAUSED
0:00:00.008563122 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending)
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Progress: (connect) Connecting to xxxx
Progress: (open) Retrieving server options
0:00:00.032046926 23027 0x558fa19f4b60 INFO rtspsrc gstrtspsrc.c:7788:gst_rtspsrc_retrieve_sdp: Now using version: 1.0
Progress: (open) Retrieving media info
0:00:00.041625107 23027 0x558fa19f4b60 WARN rtspsrc gstrtspsrc.c:6536:gst_rtspsrc_send: error: Not found
0:00:00.041638983 23027 0x558fa19f4b60 WARN rtspsrc gstrtspsrc.c:6536:gst_rtspsrc_send: error: Not Found (404)
0:00:00.041674771 23027 0x558fa19f4b60 INFO GST_ERROR_SYSTEM gstelement.c:2153:gst_element_message_full_with_details: posting message: Not found
0:00:00.041702845 23027 0x558fa19f4b60 INFO GST_ERROR_SYSTEM gstelement.c:2180:gst_element_message_full_with_details: posted error message: Not found
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Not found
Additional debug info:
gstrtspsrc.c(6536): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Not Found (404)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
0:00:00.041747079 23027 0x558fa19f4b60 WARN rtspsrc gstrtspsrc.c:7973:gst_rtspsrc_open: can’t get sdp
0:00:00.041812954 23027 0x558fa19f4b60 WARN rtspsrc gstrtspsrc.c:6032:gst_rtspsrc_loop: we are not connected
0:00:00.041839124 23027 0x558fa19f4b60 INFO task gsttask.c:312:gst_task_func: Task going to paused
0:00:00.041839114 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2688:gst_element_continue_state: completed state change to READY
0:00:00.041854142 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed: notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:00.041871515 23027 0x558fa1a01800 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func: child ‘rtspsrc0’ changed state to 2(READY) successfully
0:00:00.041888838 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2660:gst_element_continue_state: committing state from PAUSED to READY, pending NULL, next NULL
0:00:00.041946959 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed: notifying about state-changed PAUSED to READY (NULL pending)
0:00:00.041975964 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2668:gst_element_continue_state: continue state change READY to NULL, final NULL
0:00:00.041985622 23027 0x558fa1a01800 INFO GST_STATES gstbin.c:2503:gst_bin_element_set_state: current READY pending VOID_PENDING, desired next NULL
0:00:00.042003566 23027 0x558fa19f4b60 INFO task gsttask.c:314:gst_task_func: Task resume from paused
0:00:00.042025949 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2688:gst_element_continue_state: completed state change to NULL
0:00:00.042033794 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed: notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:00.042043823 23027 0x558fa1a01800 INFO GST_STATES gstbin.c:2952:gst_bin_change_state_func: child ‘rtspsrc0’ changed state to 1(NULL) successfully
0:00:00.042056407 23027 0x558fa1a01800 INFO GST_STATES gstelement.c:2688:gst_element_continue_state: complete

Any thought? Thank you

Please use " GST_DEBUG=rtspsrc:7 gst-launch-1.0 rtspsrc location=rtsp://xxxx ! rtph264depay ! fakesink" to get proper debug information.

Log:

0:00:00.013448787 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:9063:gst_rtspsrc_uri_set_uri: parsing URI
0:00:00.013466270 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:9070:gst_rtspsrc_uri_set_uri: configuring URI
0:00:00.013474706 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:9086:gst_rtspsrc_uri_set_uri: set uri: XXXX
0:00:00.013484485 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:9087:gst_rtspsrc_uri_set_uri: request uri is: XXXX
Setting pipeline to PAUSED …
0:00:00.013588152 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:8836:gst_rtspsrc_start: starting
0:00:00.013632646 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:5942:gst_rtspsrc_loop_send_cmd: sending cmd OPEN
0:00:00.013637285 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:5979:gst_rtspsrc_loop_send_cmd: not interrupting busy cmd unknown
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
0:00:00.013794714 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:8783:gst_rtspsrc_thread: got command OPEN
0:00:00.013822297 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:5093:gst_rtspsrc_connection_flush: set flushing 0
0:00:00.013849819 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:4959:gst_rtsp_conninfo_connect: creating connection (XXXX)…
0:00:00.014023770 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:4970:gst_rtsp_conninfo_connect: sanitized uri XXXX
0:00:00.014067733 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:5004:gst_rtsp_conninfo_connect: connecting (XXXX)…
Progress: (connect) Connecting to XXXX
0:00:00.022969769 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:7767:gst_rtspsrc_retrieve_sdp: create options… (async)
0:00:00.022990990 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:7776:gst_rtspsrc_retrieve_sdp: send options…
0:00:00.023045012 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:522:default_before_send: default handler
0:00:00.023056314 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:522:default_before_send: default handler
0:00:00.023064259 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6371:gst_rtspsrc_try_send: sending message
0:00:00.023071252 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9408:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.023080400 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9411:gst_rtspsrc_print_rtsp_message: RTSP request message 0x7f7f1c765c00
0:00:00.023090268 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9412:gst_rtspsrc_print_rtsp_message: request line:
Progress: (open) Retrieving server options
0:00:00.023102572 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9413:gst_rtspsrc_print_rtsp_message: method: ‘OPTIONS’
0:00:00.023110928 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9415:gst_rtspsrc_print_rtsp_message: uri: 'XXXX
0:00:00.023119264 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9416:gst_rtspsrc_print_rtsp_message: version: ‘1.0’
0:00:00.023127058 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9418:gst_rtspsrc_print_rtsp_message: headers:
0:00:00.023136857 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘User-Agent’, value: ‘GStreamer/1.16.3’
0:00:00.023148689 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘User-Agent’, value: ‘RealMedia Player Version 6.0.9.1235 (linux-2.0-libc6-i386-gcc2.95)’
0:00:00.023157276 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘ClientChallenge’, value: ‘9e26d33f2984236010ef6253fb1887f7’
0:00:00.023167666 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘CompanyID’, value: ‘KnKV4M4I/B2FjJ1TToLycw==’
0:00:00.023180039 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘GUID’, value: ‘00000000-0000-0000-0000-000000000000’
0:00:00.023187874 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘RegionData’, value: ‘0’
0:00:00.023196230 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘PlayerStarttime’, value: ‘[28/03/2003:22:50:23 00:00]’
0:00:00.023205016 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘ClientID’, value: ‘Linux_2.4_6.0.9.1235_play32_RN01_EN_586’
0:00:00.023211719 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9420:gst_rtspsrc_print_rtsp_message: body:
0:00:00.023219183 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9500:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.029331348 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9408:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.029339524 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9430:gst_rtspsrc_print_rtsp_message: RTSP response message 0x7f7f1c765c60
0:00:00.029342159 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9431:gst_rtspsrc_print_rtsp_message: status line:
0:00:00.029349713 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9432:gst_rtspsrc_print_rtsp_message: code: ‘401’
0:00:00.029369130 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9433:gst_rtspsrc_print_rtsp_message: reason: ‘Unauthorized’
0:00:00.029373749 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9434:gst_rtspsrc_print_rtsp_message: version: ‘1.0
0:00:00.029376805 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9436:gst_rtspsrc_print_rtsp_message: headers:
0:00:00.029382566 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘CSeq’, value: ‘1’
0:00:00.029386323 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘WWW-Authenticate’, value: ‘Digest realm=“Login to 4cd13678b92fdb8d38cc95e1723ba5c2”, nonce=“8235cfb32ec35f59c4df6bccce7e1d5d”’
0:00:00.029392414 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9439:gst_rtspsrc_print_rtsp_message: body: length 0
0:00:00.029399989 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9500:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.029404828 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6273:gst_rtsp_src_receive_response: received response message
0:00:00.029410108 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6292:gst_rtsp_src_receive_response: got response message 401
0:00:00.029422031 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6188:gst_rtspsrc_setup_auth: Attempting authentication using credentials from the URL
0:00:00.029426609 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6217:gst_rtspsrc_setup_auth: Attempting Digest authentication
0:00:00.029432100 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:522:default_before_send: default handler
0:00:00.029436418 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:522:default_before_send: default handler
0:00:00.029442570 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6371:gst_rtspsrc_try_send: sending message
0:00:00.029446126 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9408:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.029450144 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9411:gst_rtspsrc_print_rtsp_message: RTSP request message 0x7f7f1c765c00
0:00:00.029454322 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9412:gst_rtspsrc_print_rtsp_message: request line:
0:00:00.029459191 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9413:gst_rtspsrc_print_rtsp_message: method: ‘OPTIONS’
0:00:00.029463760 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9415:gst_rtspsrc_print_rtsp_message: uri: XXXX’
0:00:00.029467777 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9416:gst_rtspsrc_print_rtsp_message: version: ‘1.0’
0:00:00.029471595 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9418:gst_rtspsrc_print_rtsp_message: headers:
0:00:00.029475923 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘User-Agent’, value: ‘GStreamer/1.16.3’
0:00:00.029480662 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘User-Agent’, value: ‘RealMedia Player Version 6.0.9.1235 (linux-2.0-libc6-i386-gcc2.95)’
0:00:00.029484700 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘ClientChallenge’, value: ‘9e26d33f2984236010ef6253fb1887f7’
0:00:00.029488527 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘CompanyID’, value: ‘KnKV4M4I/B2FjJ1TToLycw==’
0:00:00.029491963 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘GUID’, value: ‘00000000-0000-0000-0000-000000000000’
0:00:00.029496763 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘RegionData’, value: ‘0’
0:00:00.029501041 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘PlayerStarttime’, value: ‘[28/03/2003:22:50:23 00:00]’
0:00:00.029507273 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘ClientID’, value: ‘Linux_2.4_6.0.9.1235_play32_RN01_EN_586’
0:00:00.029512012 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Date’, value: ‘Thu, 13 Jul 2023 10:31:08 GMT’
0:00:00.029516029 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘User-Agent’, value: ‘RealMedia Player Version 6.0.9.1235 (linux-2.0-libc6-i386-gcc2.95)’
0:00:00.029520768 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘ClientChallenge’, value: ‘9e26d33f2984236010ef6253fb1887f7’
0:00:00.029524435 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘CompanyID’, value: ‘KnKV4M4I/B2FjJ1TToLycw==’
0:00:00.029528793 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘GUID’, value: ‘00000000-0000-0000-0000-000000000000’
0:00:00.029532851 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘RegionData’, value: ‘0’
0:00:00.029536919 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘PlayerStarttime’, value: ‘[28/03/2003:22:50:23 00:00]’
0:00:00.029541988 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘ClientID’, value: ‘Linux_2.4_6.0.9.1235_play32_RN01_EN_586’
0:00:00.029545495 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9420:gst_rtspsrc_print_rtsp_message: body:
0:00:00.029549683 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9500:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.064212753 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9408:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.064233412 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9430:gst_rtspsrc_print_rtsp_message: RTSP response message 0x7f7f1c765c60
0:00:00.064242790 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9431:gst_rtspsrc_print_rtsp_message: status line:
0:00:00.064253561 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9432:gst_rtspsrc_print_rtsp_message: code: ‘200’
0:00:00.064267467 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9433:gst_rtspsrc_print_rtsp_message: reason: ‘OK’
0:00:00.064282185 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9434:gst_rtspsrc_print_rtsp_message: version: '1.0
0:00:00.064294208 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9436:gst_rtspsrc_print_rtsp_message: headers:
0:00:00.064308976 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘CSeq’, value: ‘2’
0:00:00.064323243 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Server’, value: ‘Rtsp Server/3.0’
0:00:00.064336318 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Public’, value: ‘OPTIONS’
0:00:00.064349243 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Public’, value: ‘DESCRIBE’
0:00:00.064361065 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Public’, value: ‘ANNOUNCE’
0:00:00.064374150 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Public’, value: ‘SETUP’
0:00:00.064386213 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Public’, value: ‘PLAY’
0:00:00.064393938 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Public’, value: ‘RECORD’
0:00:00.064402935 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Public’, value: ‘PAUSE’
0:00:00.064410880 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Public’, value: ‘TEARDOWN’
0:00:00.064419446 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Public’, value: ‘SET_PARAMETER’
0:00:00.064427461 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Public’, value: ‘GET_PARAMETER’
0:00:00.064435256 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9439:gst_rtspsrc_print_rtsp_message: body: length 0
0:00:00.064446507 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9500:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.064453771 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6273:gst_rtsp_src_receive_response: received response message
0:00:00.064461366 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6292:gst_rtsp_src_receive_response: got response message 200
0:00:00.064472827 72014 0x5614c33c7b60 INFO rtspsrc gstrtspsrc.c:7788:gst_rtspsrc_retrieve_sdp: Now using version: 1.0
0:00:00.064486093 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:7796:gst_rtspsrc_retrieve_sdp: create describe…
0:00:00.064496062 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:7813:gst_rtspsrc_retrieve_sdp: send describe…
0:00:00.064530798 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:522:default_before_send: default handler
0:00:00.064539905 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:522:default_before_send: default handler
0:00:00.064548100 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6371:gst_rtspsrc_try_send: sending message
0:00:00.064555424 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9408:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.064564361 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9411:gst_rtspsrc_print_rtsp_message: RTSP request message 0x7f7f1c765c00
0:00:00.064571264 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9412:gst_rtspsrc_print_rtsp_message: request line:
Progress: (open) Retrieving media info
0:00:00.064578819 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9413:gst_rtspsrc_print_rtsp_message: method: ‘DESCRIBE’
0:00:00.064595450 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9415:gst_rtspsrc_print_rtsp_message: uri: XXXX
0:00:00.064604417 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9416:gst_rtspsrc_print_rtsp_message: version: ‘1.0’
0:00:00.064610940 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9418:gst_rtspsrc_print_rtsp_message: headers:
0:00:00.064619436 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘User-Agent’, value: ‘GStreamer/1.16.3’
0:00:00.064627782 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘Accept’, value: ‘application/sdp’
0:00:00.064634044 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9420:gst_rtspsrc_print_rtsp_message: body:
0:00:00.064640807 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9500:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.083196378 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9408:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.083215915 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9430:gst_rtspsrc_print_rtsp_message: RTSP response message 0x7f7f1c765c60
0:00:00.083221486 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9431:gst_rtspsrc_print_rtsp_message: status line:
0:00:00.083231264 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9432:gst_rtspsrc_print_rtsp_message: code: ‘404’
0:00:00.083239149 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9433:gst_rtspsrc_print_rtsp_message: reason: ‘Not Found’
0:00:00.083246733 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9434:gst_rtspsrc_print_rtsp_message: version: '1.0
0:00:00.083253156 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9436:gst_rtspsrc_print_rtsp_message: headers:
0:00:00.083261882 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘CSeq’, value: ‘3’
0:00:00.083271070 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9391:dump_key_value: key: ‘WWW-Authenticate’, value: ‘Digest realm=“Login to 4cd13678b92fdb8d38cc95e1723ba5c2”, nonce=“8235cfb32ec35f59c4df6bccce7e1d5d”’
0:00:00.083281650 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9439:gst_rtspsrc_print_rtsp_message: body: length 0
0:00:00.083286890 72014 0x5614c33c7b60 LOG rtspsrc gstrtspsrc.c:9500:gst_rtspsrc_print_rtsp_message: --------------------------------------------
0:00:00.083291879 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6273:gst_rtsp_src_receive_response: received response message
0:00:00.083297129 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6292:gst_rtsp_src_receive_response: got response message 404
0:00:00.083323870 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6193:gst_rtspsrc_setup_auth: Attempting authentication using credentials from the properties
0:00:00.083331114 72014 0x5614c33c7b60 WARN rtspsrc gstrtspsrc.c:6536:gst_rtspsrc_send: error: Not found
0:00:00.083336224 72014 0x5614c33c7b60 WARN rtspsrc gstrtspsrc.c:6536:gst_rtspsrc_send: error: Not Found (404)
0:00:00.083394114 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:7939:gst_rtspsrc_retrieve_sdp: free connection
0:00:00.083401948 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:5060:gst_rtsp_conninfo_close: closing connection…
0:00:00.083448176 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:5066:gst_rtsp_conninfo_close: freeing connection…
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Not found
0:00:00.083462293 72014 0x5614c33c7b60 WARN rtspsrc gstrtspsrc.c:7973:gst_rtspsrc_open: can’t get sdp
Additional debug info:
gstrtspsrc.c(6536): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Not Found (404)
0:00:00.083477432 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:8783:gst_rtspsrc_thread: got command LOOP
0:00:00.083483163 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:5093:gst_rtspsrc_connection_flush: set flushing 0
ERROR: pipeline doesn’t want to preroll.
0:00:00.083488252 72014 0x5614c33c7b60 WARN rtspsrc gstrtspsrc.c:6032:gst_rtspsrc_loop: we are not connected
Setting pipeline to NULL …
0:00:00.083496037 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:6040:gst_rtspsrc_loop: pausing task, reason flushing
0:00:00.083502109 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:5942:gst_rtspsrc_loop_send_cmd: sending cmd WAIT
0:00:00.083505565 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:5967:gst_rtspsrc_loop_send_cmd: cancel previous request LOOP
0:00:00.083509793 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:5974:gst_rtspsrc_loop_send_cmd: connection flush busy LOOP
0:00:00.083513500 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:5093:gst_rtspsrc_connection_flush: set flushing 1
0:00:00.083539039 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:5942:gst_rtspsrc_loop_send_cmd: sending cmd CLOSE
0:00:00.083549749 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:5974:gst_rtspsrc_loop_send_cmd: connection flush busy WAIT
0:00:00.083555881 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:5093:gst_rtspsrc_connection_flush: set flushing 1
0:00:00.083566912 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:8783:gst_rtspsrc_thread: got command CLOSE
0:00:00.083571631 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:5093:gst_rtspsrc_connection_flush: set flushing 0
0:00:00.083576891 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:7994:gst_rtspsrc_close: TEARDOWN…
0:00:00.083581379 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:7999:gst_rtspsrc_close: not ready, doing cleanup
0:00:00.083585357 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:8063:gst_rtspsrc_close: closing connection…
0:00:00.083590016 72014 0x5614c33c7b60 DEBUG rtspsrc gstrtspsrc.c:2336:gst_rtspsrc_cleanup: cleanup
0:00:00.083623820 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:8867:gst_rtspsrc_stop: stopping
0:00:00.083629882 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:5942:gst_rtspsrc_loop_send_cmd: sending cmd WAIT
0:00:00.083635252 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:5974:gst_rtspsrc_loop_send_cmd: connection flush busy WAIT
0:00:00.083639921 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:5093:gst_rtspsrc_connection_flush: set flushing 1
0:00:00.083660289 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:7994:gst_rtspsrc_close: TEARDOWN…
0:00:00.083665008 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:7999:gst_rtspsrc_close: not ready, doing cleanup
0:00:00.083669507 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:8063:gst_rtspsrc_close: closing connection…
0:00:00.083674376 72014 0x5614c354daf0 DEBUG rtspsrc gstrtspsrc.c:2336:gst_rtspsrc_cleanup: cleanup
Freeing pipeline …

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

According to the log, the RTSP client(DeepStream app) just send a DESCRIBE request RFC 2326: Real Time Streaming Protocol (RTSP) (rfc-editor.org) to the RTSP server(the camera), but the camera response 404 failure. Please check with your camera.

The GStreamer rtspsrc only support standard RFC 2326: Real Time Streaming Protocol (RTSP)

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