Ffmpeg works but gstreamer does not work for rtsp camera

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Tx2
• DeepStream Version 5.0
• JetPack Version (valid for Jetson only) 4.4
• 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)

I’m using Nvidia Jetson Tx2 device.

With the following command, I can connect and capture an image with ffmpeg.

$/usr/bin/ffmpeg -y -frames 1 snapshot.png -rtsp_transport tcp -i rtsp://admin:admin@192.168.10.131/1/profile
ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)
  configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://admin:admin@192.168.10.131/1/profile':
  Metadata:
    title           : SDP Descrption
    comment         : SDP Description
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1920x1080, 25 fps, 30 tbr, 90k tbn, 50 tbc
    Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
    Stream #0:2: Data: none
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
[swscaler @ 0x55a8f70c70] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x55a8f70c70] No accelerated colorspace conversion found from yuv420p to rgb24.
Output #0, image2, to 'snapshot.png':
  Metadata:
    title           : SDP Descrption
    comment         : SDP Description
    encoder         : Lavf57.83.100
    Stream #0:0: Video: png, rgb24, 1920x1080, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
    Metadata:
      encoder         : Lavc57.107.100 png
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.03 bitrate=N/A dup=1 drop=1 speed=0.066x    
video:1982kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

But with gstreamer, (I’m using version 1.14.5) I am not able to access the rtsp feed.

$gst-launch-1.0 uridecodebin uri=rtsp://admin:admin@192.168.10.131/1/profile ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:admin@192.168.10.131/1/profile
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (request) SETUP stream 2
ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: Could not read from resource.
Additional debug info:
gstrtspsrc.c(5917): gst_rtsp_src_receive_response (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Could not receive message. (Timeout while waiting for server response)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

I have also removed gstreamer-ugly pkg but it still does not work!

ref : RTSP Gstreamer Simple Recieve and Store in File - #12 by Honey_Patouceul

Let me know if you can help me! Thanks!

Do you know the video format of your rtsp camera? Can you try the following command and get the log?

gst-launch-1.0 --gst-debug=5 uridecodebin uri=rtsp://admin:admin@192.168.10.131/1/profile ! fakesink

There’s so many lines to that output, so I’ll upload as a file.

gst_debug.log (5.9 MB)

Do you know the video format of your rtsp camera?

To get clear log, you can use the following command:
gst-launch-1.0 --gst-debug=rtspsrc:5 uridecodebin uri=rtsp://admin:admin@192.168.10.131/1/profile ! fakesink

This is the output from the command.
Can you know the video format from here?

$gst-launch-1.0 --gst-debug=rtspsrc:5 uridecodebin uri=rtsp://admin:admin@192.168.10.131/1/profile ! fakesink
Setting pipeline to PAUSED …
0:00:00.081884268 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:8617:gst_rtspsrc_uri_set_uri: parsing URI
0:00:00.086594486 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:8624:gst_rtspsrc_uri_set_uri: configuring URI
0:00:00.086773142 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:8640:gst_rtspsrc_uri_set_uri: set uri: rtsp://admin:admin@192.168.10.131/1/profile
0:00:00.086920342 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:8642:gst_rtspsrc_uri_set_uri: request uri is: rtsp://192.168.10.131/1/profile
0:00:00.087186967 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:8391:gst_rtspsrc_start: starting
0:00:00.087413687 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:5567:gst_rtspsrc_loop_send_cmd: sending cmd OPEN
0:00:00.087570872 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:5598: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.096068298 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:8346:gst_rtspsrc_thread: got command OPEN
0:00:00.096327786 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush: set flushing 0
0:00:00.096512875 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4614:gst_rtsp_conninfo_connect: creating connection (rtsp://admin:admin@192.168.10.131/1/profile)…
0:00:00.096934859 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4625:gst_rtsp_conninfo_connect: sanitized uri rtsp://192.168.10.131/1/profile
Progress: (connect) Connecting to rtsp://admin:admin@192.168.10.131/1/profile
0:00:00.097597485 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4659:gst_rtsp_conninfo_connect: connecting (rtsp://admin:admin@192.168.10.131/1/profile)…
0:00:00.161440403 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:7342:gst_rtspsrc_retrieve_sdp: create options… (async)
0:00:00.161704691 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:7351:gst_rtspsrc_retrieve_sdp: send options…
0:00:00.161910420 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.162171860 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.162332372 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
Progress: (open) Retrieving server options
0:00:00.183303136 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response: received response message
0:00:00.183348832 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response: got response message 200
0:00:00.183370209 13484 0x5596429f70 INFO rtspsrc gstrtspsrc.c:7364:gst_rtspsrc_retrieve_sdp: Now using version: 1.0
0:00:00.183397153 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:7371:gst_rtspsrc_retrieve_sdp: create describe…
0:00:00.183418497 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:7388:gst_rtspsrc_retrieve_sdp: send describe…
0:00:00.183630209 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.183658177 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.183678177 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
Progress: (open) Retrieving media info
0:00:00.243349438 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response: received response message
0:00:00.243601567 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response: got response message 401
0:00:00.243761919 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5785:gst_rtspsrc_setup_auth: Attempting authentication using credentials from the URL
0:00:00.243939135 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5814:gst_rtspsrc_setup_auth: Attempting Digest authentication
0:00:00.244107008 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.244264576 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.244414400 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
0:00:00.307116388 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response: received response message
0:00:00.307368484 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response: got response message 200
0:00:00.307534245 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:7446:gst_rtspsrc_retrieve_sdp: parse SDP…
0:00:00.307729445 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:7077:gst_rtspsrc_parse_range: parsed range npt=0-
0:00:00.307989862 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:7088:gst_rtspsrc_parse_range: range: type 0, min 0.000000 - type 2, max 0.000000
0:00:00.308164454 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:7098:gst_rtspsrc_parse_range: range: min 0:00:00.000000000
0:00:00.308310022 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:7113:gst_rtspsrc_parse_range: range: max 99:99:99.999999999
0:00:00.308546407 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1782:gst_rtspsrc_collect_payloads: mapping sdp session level attributes to caps
0:00:00.308719175 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1784:gst_rtspsrc_collect_payloads: mapping sdp media level attributes to caps
0:00:00.308826087 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1802:gst_rtspsrc_collect_payloads: looking at 0 pt: 96
0:00:00.308968040 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1941:gst_rtspsrc_create_stream: stream 0, (0x7fa404bae0)
0:00:00.309113384 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1942:gst_rtspsrc_create_stream: port: 0
0:00:00.309144968 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1943:gst_rtspsrc_create_stream: container: 0
0:00:00.309233224 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1944:gst_rtspsrc_create_stream: control: trackID=1
0:00:00.309265896 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1979:gst_rtspsrc_create_stream: setup: rtsp://192.168.10.131/1/profile/trackID=1
0:00:00.309371816 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1782:gst_rtspsrc_collect_payloads: mapping sdp session level attributes to caps
0:00:00.309482953 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1784:gst_rtspsrc_collect_payloads: mapping sdp media level attributes to caps
0:00:00.309570121 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1802:gst_rtspsrc_collect_payloads: looking at 0 pt: 8
0:00:00.309650665 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1941:gst_rtspsrc_create_stream: stream 1, (0x7fa404cd70)
0:00:00.309792969 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1942:gst_rtspsrc_create_stream: port: 0
0:00:00.310479595 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1943:gst_rtspsrc_create_stream: container: 0
0:00:00.310521995 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1944:gst_rtspsrc_create_stream: control: trackID=2
0:00:00.310551979 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1979:gst_rtspsrc_create_stream: setup: rtsp://192.168.10.131/1/profile/trackID=2
0:00:00.310689291 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1782:gst_rtspsrc_collect_payloads: mapping sdp session level attributes to caps
0:00:00.310792011 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1784:gst_rtspsrc_collect_payloads: mapping sdp media level attributes to caps
0:00:00.310832524 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1802:gst_rtspsrc_collect_payloads: looking at 0 pt: 97
0:00:00.310957068 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1941:gst_rtspsrc_create_stream: stream 2, (0x7fa404d600)
0:00:00.311049580 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1942:gst_rtspsrc_create_stream: port: 0
0:00:00.313439313 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1943:gst_rtspsrc_create_stream: container: 0
0:00:00.313498641 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1944:gst_rtspsrc_create_stream: control: trackID=3
0:00:00.313535697 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1979:gst_rtspsrc_create_stream: setup: rtsp://192.168.10.131/1/profile/trackID=3
0:00:00.313687250 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.313727250 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:466:select_stream_accum: accum 1
0:00:00.313838066 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.313878578 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6798:gst_rtspsrc_setup_streams_start: doing setup of stream 0x7fa404bae0 with rtsp://192.168.10.131/1/profile/trackID=1
0:00:00.313985458 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6813:gst_rtspsrc_setup_streams_start: protocols = 0x7, protocol mask = 0x1
0:00:00.314017074 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6281:gst_rtspsrc_create_transports_string: got transports (NULL)
0:00:00.314114482 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6311:gst_rtspsrc_create_transports_string: adding UDP unicast
0:00:00.314146930 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6338:gst_rtspsrc_create_transports_string: prepared transports RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.314247027 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6828:gst_rtspsrc_setup_streams_start: replace ports in RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.316280535 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2167:gst_rtspsrc_alloc_udp_ports: got RTP port 49313
0:00:00.316615128 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2175:gst_rtspsrc_alloc_udp_ports: RTP port not even
0:00:00.316788696 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2177:gst_rtspsrc_alloc_udp_ports: free RTP udpsrc
0:00:00.317032185 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2182:gst_rtspsrc_alloc_udp_ports: retry 1
0:00:00.318087547 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2167:gst_rtspsrc_alloc_udp_ports: got RTP port 49314
0:00:00.319449822 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2199:gst_rtspsrc_alloc_udp_ports: starting RTCP on port 49315
0:00:00.319957439 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6839:gst_rtspsrc_setup_streams_start: transport is now RTP/AVP;unicast;client_port=49314-49315
0:00:00.320238079 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
Progress: (request) SETUP stream 0
0:00:00.320430944 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.320642880 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
0:00:00.343997553 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response: received response message
0:00:00.344276466 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response: got response message 200
0:00:00.344448498 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6555:gst_rtsp_src_setup_stream_from_response: stream 0x7fa404bae0 as UDP unicast
0:00:00.344617490 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4248:gst_rtspsrc_stream_configure_transport: configuring transport for stream 0x7fa404bae0
0:00:00.344780371 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4257:gst_rtspsrc_stream_configure_transport: setting media type to application/x-rtp
0:00:00.345036723 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3491:gst_rtspsrc_stream_configure_manager: using manager rtpbin
0:00:00.351412193 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3202:set_manager_buffer_mode: auto buffering mode, have clock (NULL)
0:00:00.351779937 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3222:set_manager_buffer_mode: auto buffering mode
0:00:00.351950914 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3227:set_manager_buffer_mode: selected slave
0:00:00.352118530 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3590:gst_rtspsrc_stream_configure_manager: connect to signals on session manager, stream 0x7fa404bae0
0:00:00.356067466 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 0, stream 0x7fa404bae0, 0
0:00:00.356848012 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:recv_rtp_sink_0
0:00:00.356907628 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.357112268 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 0, stream 0x7fa404bae0, 0
0:00:00.357530573 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:recv_rtcp_sink_0
0:00:00.357576973 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.357624302 13484 0x5596429f70 INFO rtspsrc gstrtspsrc.c:3633:gst_rtspsrc_stream_configure_manager: configure bandwidth in session 0x7fa4068240
0:00:00.357706094 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3981:gst_rtspsrc_stream_configure_udp: setting up UDP source
0:00:00.357775822 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4007:gst_rtspsrc_stream_configure_udp: connecting UDP source 0 to manager
0:00:00.357848654 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4038:gst_rtspsrc_stream_configure_udp: connecting UDP source 1 to manager
0:00:00.357902446 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4082:gst_rtspsrc_stream_configure_udp_sinks: configure RTP UDP sink for 192.168.10.131:10000
0:00:00.359926578 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4105:gst_rtspsrc_stream_configure_udp_sinks: RTP UDP src has sock 0x7fa401e520
0:00:00.360441235 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4147:gst_rtspsrc_stream_configure_udp_sinks: configure RTCP UDP sink for 192.168.10.131:10001
0:00:00.364583676 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4171:gst_rtspsrc_stream_configure_udp_sinks: RTCP UDP src has sock 0x7fa401e3d0
0:00:00.365075933 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3294:request_rtcp_encoder: decoder session 0, stream 0x7fa404bae0, 0
0:00:00.365428062 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:send_rtcp_src_0
0:00:00.365717343 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.365939135 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.366107519 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:466:select_stream_accum: accum 1
0:00:00.366246496 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.366403232 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6798:gst_rtspsrc_setup_streams_start: doing setup of stream 0x7fa404cd70 with rtsp://192.168.10.131/1/profile/trackID=2
0:00:00.366557952 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6813:gst_rtspsrc_setup_streams_start: protocols = 0x1, protocol mask = 0x1
0:00:00.366708609 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6281:gst_rtspsrc_create_transports_string: got transports (NULL)
0:00:00.366853473 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6311:gst_rtspsrc_create_transports_string: adding UDP unicast
0:00:00.366994465 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6338:gst_rtspsrc_create_transports_string: prepared transports RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.367143842 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6828:gst_rtspsrc_setup_streams_start: replace ports in RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.368286084 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2167:gst_rtspsrc_alloc_udp_ports: got RTP port 60541
0:00:00.368512708 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2175:gst_rtspsrc_alloc_udp_ports: RTP port not even
0:00:00.368672613 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2177:gst_rtspsrc_alloc_udp_ports: free RTP udpsrc
0:00:00.368906181 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2182:gst_rtspsrc_alloc_udp_ports: retry 1
0:00:00.369843239 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2167:gst_rtspsrc_alloc_udp_ports: got RTP port 60542
0:00:00.370886377 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2199:gst_rtspsrc_alloc_udp_ports: starting RTCP on port 60543
0:00:00.371321354 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6839:gst_rtspsrc_setup_streams_start: transport is now RTP/AVP;unicast;client_port=60542-60543
Progress: (request) SETUP stream 1
0:00:00.372056204 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.372242028 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.372405805 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
0:00:00.384562886 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response: received response message
0:00:00.385260231 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response: got response message 200
0:00:00.385442472 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6555:gst_rtsp_src_setup_stream_from_response: stream 0x7fa404cd70 as UDP unicast
0:00:00.385584392 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4248:gst_rtspsrc_stream_configure_transport: configuring transport for stream 0x7fa404cd70
0:00:00.385724008 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4257:gst_rtspsrc_stream_configure_transport: setting media type to application/x-rtp
0:00:00.385872809 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3491:gst_rtspsrc_stream_configure_manager: using manager rtpbin
0:00:00.387321964 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 1, stream 0x7fa404bae0, 0
0:00:00.387515020 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 1, stream 0x7fa404cd70, 1
0:00:00.387805069 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:recv_rtp_sink_1
0:00:00.388200654 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.388971183 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 1, stream 0x7fa404bae0, 0
0:00:00.389008527 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 1, stream 0x7fa404cd70, 1
0:00:00.389158576 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:recv_rtcp_sink_1
0:00:00.389183344 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.389215152 13484 0x5596429f70 INFO rtspsrc gstrtspsrc.c:3633:gst_rtspsrc_stream_configure_manager: configure bandwidth in session 0x7fa4068570
0:00:00.389284624 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3981:gst_rtspsrc_stream_configure_udp: setting up UDP source
0:00:00.389334192 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4007:gst_rtspsrc_stream_configure_udp: connecting UDP source 0 to manager
0:00:00.389417008 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4038:gst_rtspsrc_stream_configure_udp: connecting UDP source 1 to manager
0:00:00.389455120 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4082:gst_rtspsrc_stream_configure_udp_sinks: configure RTP UDP sink for 192.168.10.131:10002
0:00:00.390782867 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4105:gst_rtspsrc_stream_configure_udp_sinks: RTP UDP src has sock 0x7fa401e7c0
0:00:00.392165334 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4147:gst_rtspsrc_stream_configure_udp_sinks: configure RTCP UDP sink for 192.168.10.131:10003
0:00:00.393397337 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4171:gst_rtspsrc_stream_configure_udp_sinks: RTCP UDP src has sock 0x7fa401e910
0:00:00.393771289 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3294:request_rtcp_encoder: decoder session 1, stream 0x7fa404bae0, 0
0:00:00.394312666 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3294:request_rtcp_encoder: decoder session 1, stream 0x7fa404cd70, 1
0:00:00.394576827 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:send_rtcp_src_1
0:00:00.394733755 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.394918556 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.395060060 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:466:select_stream_accum: accum 1
0:00:00.395194332 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.395341757 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6798:gst_rtspsrc_setup_streams_start: doing setup of stream 0x7fa404d600 with rtsp://192.168.10.131/1/profile/trackID=3
0:00:00.395494365 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6813:gst_rtspsrc_setup_streams_start: protocols = 0x1, protocol mask = 0x1
0:00:00.395645021 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6281:gst_rtspsrc_create_transports_string: got transports (NULL)
0:00:00.395789214 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6311:gst_rtspsrc_create_transports_string: adding UDP unicast
0:00:00.395993438 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6338:gst_rtspsrc_create_transports_string: prepared transports RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.396145534 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6828:gst_rtspsrc_setup_streams_start: replace ports in RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.397382337 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2167:gst_rtspsrc_alloc_udp_ports: got RTP port 54132
0:00:00.398055074 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2199:gst_rtspsrc_alloc_udp_ports: starting RTCP on port 54133
0:00:00.398383427 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6839:gst_rtspsrc_setup_streams_start: transport is now RTP/AVP;unicast;client_port=54132-54133
Progress: (request) SETUP stream 2
0:00:00.399881350 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.400156743 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.403320685 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
0:00:20.420088073 13484 0x5596429f70 WARN rtspsrc gstrtspsrc.c:5917:gst_rtsp_src_receive_response: error: Could not receive message. (Timeout while waiting for server response)
0:00:20.420367754 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:6102:gst_rtspsrc_send: got error -14
0:00:20.420513930 13484 0x5596429f70 WARN rtspsrc gstrtspsrc.c:7033:gst_rtspsrc_setup_streams_start: error: Could not send message. (Timeout while waiting for server response)
0:00:20.420592746 13484 0x5596429f70 ERROR rtspsrc gstrtspsrc.c:7304:gst_rtspsrc_open_from_sdp: setup failed
0:00:20.420697099 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:2058:gst_rtspsrc_cleanup: cleanup
0:00:20.420817899 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1994:gst_rtspsrc_stream_free: free stream 0x7fa404bae0
0:00:20.421211116 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1994:gst_rtspsrc_stream_free: free stream 0x7fa404cd70
0:00:20.421614605 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:1994:gst_rtspsrc_stream_free: free stream 0x7fa404d600
0:00:20.422316206 13484 0x5596429f70 WARN rtspsrc gstrtspsrc.c:7554:gst_rtspsrc_open: can’t setup streaming from sdp
0:00:20.422387310 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:8346:gst_rtspsrc_thread: got command LOOP
0:00:20.422430862 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush: set flushing 0
0:00:20.422500206 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5253:gst_rtspsrc_loop_udp: doing receive with timeout 34 seconds
ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: Could not read from resource.
Additional debug info:
gstrtspsrc.c(5917): gst_rtsp_src_receive_response (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Could not receive message. (Timeout while waiting for server response)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
0:00:20.423056304 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:5567:gst_rtspsrc_loop_send_cmd: sending cmd CLOSE
0:00:20.423079504 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:5585:gst_rtspsrc_loop_send_cmd: cancel previous request LOOP
0:00:20.423109488 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:5593:gst_rtspsrc_loop_send_cmd: connection flush busy LOOP
0:00:20.423136464 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush: set flushing 1
0:00:20.423162064 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:4751:gst_rtspsrc_connection_flush: connection flush
0:00:20.423221680 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:8422:gst_rtspsrc_stop: stopping
0:00:20.423253072 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:5567:gst_rtspsrc_loop_send_cmd: sending cmd WAIT
0:00:20.423278512 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:5579:gst_rtspsrc_loop_send_cmd: ignore, we were closing
0:00:20.423303568 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:5593:gst_rtspsrc_loop_send_cmd: connection flush busy LOOP
0:00:20.423329008 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush: set flushing 1
0:00:20.423390800 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5337:gst_rtspsrc_loop_udp: got interrupted
0:00:20.423448144 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5636:gst_rtspsrc_loop: pausing task, reason flushing
0:00:20.423485328 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5567:gst_rtspsrc_loop_send_cmd: sending cmd WAIT
0:00:20.423511185 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5579:gst_rtspsrc_loop_send_cmd: ignore, we were closing
0:00:20.423537137 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:5593:gst_rtspsrc_loop_send_cmd: connection flush busy LOOP
0:00:20.423563665 13484 0x5596429f70 DEBUG rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush: set flushing 1
0:00:20.423617457 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:7569:gst_rtspsrc_close: TEARDOWN…
0:00:20.423646065 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:7574:gst_rtspsrc_close: not ready, doing cleanup
0:00:20.423678417 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:7637:gst_rtspsrc_close: closing connection…
0:00:20.423703153 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:4715:gst_rtsp_conninfo_close: closing connection…
0:00:20.423776561 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:4721:gst_rtsp_conninfo_close: freeing connection…
0:00:20.423817361 13484 0x55964b3960 DEBUG rtspsrc gstrtspsrc.c:2058:gst_rtspsrc_cleanup: cleanup
Setting pipeline to NULL …
Freeing pipeline …

As for video Format, I believe it’s h264, but I don’t know in details.

Unfortunately, your rtsp camera is a multiple tracks source, two videos and one audio in it. You can not use gst-launch and uridecodebin to handle it, seems uridecodebin failed to find decoder for one of the 3 streams. You need to use gstreamer application to identify which stream you want to pick out.
You may try the following pipeline to check whether the h264 stream can be identified automatically.
gst-launch-1.0 rtspsrc location=rtsp://xxxxxxxx ! rtph264depay ! h264parse ! fakesink

How did you know our rtsp camera is multiple tracks source? Right now we don’t have physical access to the camera, we’re accessing it through Tx2 which is also remote from us.

By the way, these are the results from the above command

$gst-launch-1.0 rtspsrc location=rtsp://admin:admin@192.168.10.131/1/profile ! rtph264depay ! h264parse ! fakesink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:admin@192.168.10.131/1/profile
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (request) SETUP stream 2
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.
Additional debug info:
gstrtspsrc.c(5917): gst_rtsp_src_receive_response (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (Timeout while waiting for server response)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …

and also with gst_debug

$gst-launch-1.0 --gst-debug=rtspsrc:5 rtspsrc location=rtsp://admin:admin@192.168.10.131/2/profile ! rtph264depay ! h264parse ! fakesink
0:00:00.062108207 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:8617:gst_rtspsrc_uri_set_uri: parsing URI
0:00:00.062446576 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:8624:gst_rtspsrc_uri_set_uri: configuring URI
0:00:00.062639793 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:8640:gst_rtspsrc_uri_set_uri: set uri: rtsp://admin:admin@192.168.10.131/2/profile
0:00:00.062803505 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:8642:gst_rtspsrc_uri_set_uri: request uri is: rtsp://192.168.10.131/2/profile
Setting pipeline to PAUSED …
0:00:00.073163529 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:8391:gst_rtspsrc_start: starting
0:00:00.073797290 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:5567:gst_rtspsrc_loop_send_cmd: sending cmd OPEN
0:00:00.073998475 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:5598: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.075075117 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:8346:gst_rtspsrc_thread: got command OPEN
0:00:00.075107885 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush: set flushing 0
0:00:00.075139661 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4614:gst_rtsp_conninfo_connect: creating connection (rtsp://admin:admin@192.168.10.131/2/profile)…
0:00:00.075422670 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4625:gst_rtsp_conninfo_connect: sanitized uri rtsp://192.168.10.131/2/profile
Progress: (connect) Connecting to rtsp://admin:admin@192.168.10.131/2/profile
0:00:00.075583790 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4659:gst_rtsp_conninfo_connect: connecting (rtsp://admin:admin@192.168.10.131/2/profile)…
0:00:00.105997909 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:7342:gst_rtspsrc_retrieve_sdp: create options… (async)
0:00:00.106044693 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:7351:gst_rtspsrc_retrieve_sdp: send options…
0:00:00.106118261 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.106156405 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.106175317 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
Progress: (open) Retrieving server options
0:00:00.131259311 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response: received response message
0:00:00.131310895 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response: got response message 200
0:00:00.131335727 2888 0x55a874c320 INFO rtspsrc gstrtspsrc.c:7364:gst_rtspsrc_retrieve_sdp: Now using version: 1.0
0:00:00.131362159 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:7371:gst_rtspsrc_retrieve_sdp: create describe…
0:00:00.131383311 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:7388:gst_rtspsrc_retrieve_sdp: send describe…
0:00:00.131459343 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.131483919 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.131501583 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
Progress: (open) Retrieving media info
0:00:00.198957707 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response: received response message
0:00:00.199211595 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response: got response message 401
0:00:00.199385004 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5785:gst_rtspsrc_setup_auth: Attempting authentication using credentials from the URL
0:00:00.199536236 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5814:gst_rtspsrc_setup_auth: Attempting Digest authentication
0:00:00.199697804 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.199847085 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.200018733 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
0:00:00.328948182 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response: received response message
0:00:00.329215222 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response: got response message 200
0:00:00.329387383 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:7446:gst_rtspsrc_retrieve_sdp: parse SDP…
0:00:00.329632951 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:7077:gst_rtspsrc_parse_range: parsed range npt=0-
0:00:00.329703896 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:7088:gst_rtspsrc_parse_range: range: type 0, min 0.000000 - type 2, max 0.000000
0:00:00.329742264 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:7098:gst_rtspsrc_parse_range: range: min 0:00:00.000000000
0:00:00.329775672 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:7113:gst_rtspsrc_parse_range: range: max 99:99:99.999999999
0:00:00.330235513 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1782:gst_rtspsrc_collect_payloads: mapping sdp session level attributes to caps
0:00:00.330476633 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1784:gst_rtspsrc_collect_payloads: mapping sdp media level attributes to caps
0:00:00.330652442 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1802:gst_rtspsrc_collect_payloads: looking at 0 pt: 96
0:00:00.330860218 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1941:gst_rtspsrc_create_stream: stream 0, (0x7f9c04ba00)
0:00:00.331010395 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1942:gst_rtspsrc_create_stream: port: 0
0:00:00.331152891 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1943:gst_rtspsrc_create_stream: container: 0
0:00:00.331291259 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1944:gst_rtspsrc_create_stream: control: trackID=1
0:00:00.331327227 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1979:gst_rtspsrc_create_stream: setup: rtsp://192.168.10.131/2/profile/trackID=1
0:00:00.331445212 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1782:gst_rtspsrc_collect_payloads: mapping sdp session level attributes to caps
0:00:00.331548412 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1784:gst_rtspsrc_collect_payloads: mapping sdp media level attributes to caps
0:00:00.331659036 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1802:gst_rtspsrc_collect_payloads: looking at 0 pt: 8
0:00:00.331720924 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1941:gst_rtspsrc_create_stream: stream 1, (0x7f9c04cd00)
0:00:00.331819452 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1942:gst_rtspsrc_create_stream: port: 0
0:00:00.331908125 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1943:gst_rtspsrc_create_stream: container: 0
0:00:00.331935485 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1944:gst_rtspsrc_create_stream: control: trackID=2
0:00:00.332033213 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1979:gst_rtspsrc_create_stream: setup: rtsp://192.168.10.131/2/profile/trackID=2
0:00:00.332080189 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1782:gst_rtspsrc_collect_payloads: mapping sdp session level attributes to caps
0:00:00.332181117 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1784:gst_rtspsrc_collect_payloads: mapping sdp media level attributes to caps
0:00:00.332273245 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1802:gst_rtspsrc_collect_payloads: looking at 0 pt: 97
0:00:00.332383294 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1941:gst_rtspsrc_create_stream: stream 2, (0x7f9c04d620)
0:00:00.332475358 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1942:gst_rtspsrc_create_stream: port: 0
0:00:00.332503486 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1943:gst_rtspsrc_create_stream: container: 0
0:00:00.332589374 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1944:gst_rtspsrc_create_stream: control: trackID=3
0:00:00.332619614 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1979:gst_rtspsrc_create_stream: setup: rtsp://192.168.10.131/2/profile/trackID=3
0:00:00.332721439 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.332753727 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:466:select_stream_accum: accum 1
0:00:00.332845791 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.332879999 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6798:gst_rtspsrc_setup_streams_start: doing setup of stream 0x7f9c04ba00 with rtsp://192.168.10.131/2/profile/trackID=1
0:00:00.332987903 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6813:gst_rtspsrc_setup_streams_start: protocols = 0x7, protocol mask = 0x1
0:00:00.333079391 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6281:gst_rtspsrc_create_transports_string: got transports (NULL)
0:00:00.333109695 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6311:gst_rtspsrc_create_transports_string: adding UDP unicast
0:00:00.333192320 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6338:gst_rtspsrc_create_transports_string: prepared transports RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.333225312 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6828:gst_rtspsrc_setup_streams_start: replace ports in RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.335615013 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2167:gst_rtspsrc_alloc_udp_ports: got RTP port 34979
0:00:00.335847750 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2175:gst_rtspsrc_alloc_udp_ports: RTP port not even
0:00:00.335988070 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2177:gst_rtspsrc_alloc_udp_ports: free RTP udpsrc
0:00:00.338362892 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2182:gst_rtspsrc_alloc_udp_ports: retry 1
0:00:00.339496782 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2167:gst_rtspsrc_alloc_udp_ports: got RTP port 34980
0:00:00.340267184 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2199:gst_rtspsrc_alloc_udp_ports: starting RTCP on port 34981
0:00:00.340610161 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6839:gst_rtspsrc_setup_streams_start: transport is now RTP/AVP;unicast;client_port=34980-34981
Progress: (request) SETUP stream 0
0:00:00.341121586 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.341289010 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.341449363 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
0:00:00.359825597 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response: received response message
0:00:00.359898525 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response: got response message 200
0:00:00.359952285 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6555:gst_rtsp_src_setup_stream_from_response: stream 0x7f9c04ba00 as UDP unicast
0:00:00.359987741 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4248:gst_rtspsrc_stream_configure_transport: configuring transport for stream 0x7f9c04ba00
0:00:00.360016381 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4257:gst_rtspsrc_stream_configure_transport: setting media type to application/x-rtp
0:00:00.360057053 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3491:gst_rtspsrc_stream_configure_manager: using manager rtpbin
0:00:00.361805026 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3202:set_manager_buffer_mode: auto buffering mode, have clock (NULL)
0:00:00.361994658 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3222:set_manager_buffer_mode: auto buffering mode
0:00:00.362025314 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3227:set_manager_buffer_mode: selected slave
0:00:00.362065218 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3590:gst_rtspsrc_stream_configure_manager: connect to signals on session manager, stream 0x7f9c04ba00
0:00:00.364295143 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 0, stream 0x7f9c04ba00, 0
0:00:00.364642024 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:recv_rtp_sink_0
0:00:00.364694120 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.364892713 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 0, stream 0x7f9c04ba00, 0
0:00:00.365048137 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:recv_rtcp_sink_0
0:00:00.365085065 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.365129481 2888 0x55a874c320 INFO rtspsrc gstrtspsrc.c:3633:gst_rtspsrc_stream_configure_manager: configure bandwidth in session 0x7f9c06a260
0:00:00.365205161 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3981:gst_rtspsrc_stream_configure_udp: setting up UDP source
0:00:00.365270313 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4007:gst_rtspsrc_stream_configure_udp: connecting UDP source 0 to manager
0:00:00.365345386 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4038:gst_rtspsrc_stream_configure_udp: connecting UDP source 1 to manager
0:00:00.365395114 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4082:gst_rtspsrc_stream_configure_udp_sinks: configure RTP UDP sink for 192.168.10.131:10000
0:00:00.367133902 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4105:gst_rtspsrc_stream_configure_udp_sinks: RTP UDP src has sock 0x7f9c01f520
0:00:00.367647791 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4147:gst_rtspsrc_stream_configure_udp_sinks: configure RTCP UDP sink for 192.168.10.131:10001
0:00:00.369157554 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4171:gst_rtspsrc_stream_configure_udp_sinks: RTCP UDP src has sock 0x7f9c01f3d0
0:00:00.369421779 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3294:request_rtcp_encoder: decoder session 0, stream 0x7f9c04ba00, 0
0:00:00.369554579 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:send_rtcp_src_0
0:00:00.369593107 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.369668212 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.369702964 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:466:select_stream_accum: accum 1
0:00:00.369732884 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.369768212 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6798:gst_rtspsrc_setup_streams_start: doing setup of stream 0x7f9c04cd00 with rtsp://192.168.10.131/2/profile/trackID=2
0:00:00.369800212 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6813:gst_rtspsrc_setup_streams_start: protocols = 0x1, protocol mask = 0x1
0:00:00.369829108 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6281:gst_rtspsrc_create_transports_string: got transports (NULL)
0:00:00.369855188 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6311:gst_rtspsrc_create_transports_string: adding UDP unicast
0:00:00.369882484 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6338:gst_rtspsrc_create_transports_string: prepared transports RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.369908948 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6828:gst_rtspsrc_setup_streams_start: replace ports in RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.370726294 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2167:gst_rtspsrc_alloc_udp_ports: got RTP port 38444
0:00:00.374465311 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2199:gst_rtspsrc_alloc_udp_ports: starting RTCP on port 38445
0:00:00.374801119 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6839:gst_rtspsrc_setup_streams_start: transport is now RTP/AVP;unicast;client_port=38444-38445
Progress: (request) SETUP stream 1
0:00:00.375273089 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.375417633 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.375563489 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
0:00:00.419830663 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5866:gst_rtsp_src_receive_response: received response message
0:00:00.419902311 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5885:gst_rtsp_src_receive_response: got response message 200
0:00:00.419950439 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6555:gst_rtsp_src_setup_stream_from_response: stream 0x7f9c04cd00 as UDP unicast
0:00:00.419983783 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4248:gst_rtspsrc_stream_configure_transport: configuring transport for stream 0x7f9c04cd00
0:00:00.420014120 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4257:gst_rtspsrc_stream_configure_transport: setting media type to application/x-rtp
0:00:00.420050792 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3491:gst_rtspsrc_stream_configure_manager: using manager rtpbin
0:00:00.420937642 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 1, stream 0x7f9c04ba00, 0
0:00:00.420996394 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 1, stream 0x7f9c04cd00, 1
0:00:00.421171818 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:recv_rtp_sink_1
0:00:00.421199882 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.421363179 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 1, stream 0x7f9c04ba00, 0
0:00:00.421391819 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3261:request_rtp_decoder: decoder session 1, stream 0x7f9c04cd00, 1
0:00:00.421520555 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:recv_rtcp_sink_1
0:00:00.421543179 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.421573739 2888 0x55a874c320 INFO rtspsrc gstrtspsrc.c:3633:gst_rtspsrc_stream_configure_manager: configure bandwidth in session 0x7f9c06a590
0:00:00.421635691 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3981:gst_rtspsrc_stream_configure_udp: setting up UDP source
0:00:00.421682955 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4007:gst_rtspsrc_stream_configure_udp: connecting UDP source 0 to manager
0:00:00.421742252 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4038:gst_rtspsrc_stream_configure_udp: connecting UDP source 1 to manager
0:00:00.421779852 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4082:gst_rtspsrc_stream_configure_udp_sinks: configure RTP UDP sink for 192.168.10.131:10002
0:00:00.423377711 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4105:gst_rtspsrc_stream_configure_udp_sinks: RTP UDP src has sock 0x7f9c01f670
0:00:00.423657200 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4147:gst_rtspsrc_stream_configure_udp_sinks: configure RTCP UDP sink for 192.168.10.131:10003
0:00:00.424777778 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:4171:gst_rtspsrc_stream_configure_udp_sinks: RTCP UDP src has sock 0x7f9c01f7c0
0:00:00.425077971 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3294:request_rtcp_encoder: decoder session 1, stream 0x7f9c04ba00, 0
0:00:00.425184627 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3294:request_rtcp_encoder: decoder session 1, stream 0x7f9c04cd00, 1
0:00:00.425350004 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2990:new_manager_pad: got new manager pad manager:send_rtcp_src_1
0:00:00.425444372 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:3063:new_manager_pad: ignoring unknown stream
0:00:00.425590484 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.425926101 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:466:select_stream_accum: accum 1
0:00:00.426026101 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:455:default_select_stream: default handler
0:00:00.426124534 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6798:gst_rtspsrc_setup_streams_start: doing setup of stream 0x7f9c04d620 with rtsp://192.168.10.131/2/profile/trackID=3
0:00:00.426212822 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6813:gst_rtspsrc_setup_streams_start: protocols = 0x1, protocol mask = 0x1
0:00:00.426295030 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6281:gst_rtspsrc_create_transports_string: got transports (NULL)
0:00:00.426375062 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6311:gst_rtspsrc_create_transports_string: adding UDP unicast
0:00:00.426499958 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6338:gst_rtspsrc_create_transports_string: prepared transports RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.426528855 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6828:gst_rtspsrc_setup_streams_start: replace ports in RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:00.427530521 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2167:gst_rtspsrc_alloc_udp_ports: got RTP port 54641
0:00:00.427563097 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2175:gst_rtspsrc_alloc_udp_ports: RTP port not even
0:00:00.427693497 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2177:gst_rtspsrc_alloc_udp_ports: free RTP udpsrc
0:00:00.427779801 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2182:gst_rtspsrc_alloc_udp_ports: retry 1
0:00:00.428401723 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2167:gst_rtspsrc_alloc_udp_ports: got RTP port 54642
0:00:00.429165149 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2199:gst_rtspsrc_alloc_udp_ports: starting RTCP on port 54643
0:00:00.429351293 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6839:gst_rtspsrc_setup_streams_start: transport is now RTP/AVP;unicast;client_port=54642-54643
Progress: (request) SETUP stream 2
0:00:00.429553405 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.429576766 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:476:default_before_send: default handler
0:00:00.429599294 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:5964:gst_rtspsrc_try_send: sending message
0:00:20.449118470 2888 0x55a874c320 WARN rtspsrc gstrtspsrc.c:5917:gst_rtsp_src_receive_response: error: Could not receive message. (Timeout while waiting for server response)
0:00:20.449551655 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:6102:gst_rtspsrc_send: got error -14
0:00:20.449695016 2888 0x55a874c320 WARN rtspsrc gstrtspsrc.c:7033:gst_rtspsrc_setup_streams_start: error: Could not send message. (Timeout while waiting for server response)
0:00:20.449790184 2888 0x55a874c320 ERROR rtspsrc gstrtspsrc.c:7304:gst_rtspsrc_open_from_sdp: setup failed
0:00:20.449832552 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:2058:gst_rtspsrc_cleanup: cleanup
0:00:20.449868328 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1994:gst_rtspsrc_stream_free: free stream 0x7f9c04ba00
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.
Additional debug info:
gstrtspsrc.c(5917): gst_rtsp_src_receive_response (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (Timeout while waiting for server response)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
0:00:20.450773226 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:5567:gst_rtspsrc_loop_send_cmd: sending cmd CLOSE
0:00:20.450820234 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:5585:gst_rtspsrc_loop_send_cmd: cancel previous request LOOP
0:00:20.450854858 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:5593:gst_rtspsrc_loop_send_cmd: connection flush busy OPEN
0:00:20.450873130 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush: set flushing 1
0:00:20.450888235 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:4751:gst_rtspsrc_connection_flush: connection flush
Setting pipeline to NULL …
0:00:20.451038443 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:8422:gst_rtspsrc_stop: stopping
0:00:20.451059723 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:5567:gst_rtspsrc_loop_send_cmd: sending cmd WAIT
0:00:20.451146315 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:5579:gst_rtspsrc_loop_send_cmd: ignore, we were closing
0:00:20.451179627 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:5593:gst_rtspsrc_loop_send_cmd: connection flush busy OPEN
0:00:20.451213803 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:4748:gst_rtspsrc_connection_flush: set flushing 1
0:00:20.451115371 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1994:gst_rtspsrc_stream_free: free stream 0x7f9c04cd00
0:00:20.451543884 2888 0x55a874c320 DEBUG rtspsrc gstrtspsrc.c:1994:gst_rtspsrc_stream_free: free stream 0x7f9c04d620
0:00:20.452177645 2888 0x55a874c320 WARN rtspsrc gstrtspsrc.c:7554:gst_rtspsrc_open: can’t setup streaming from sdp
0:00:20.452264366 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:7569:gst_rtspsrc_close: TEARDOWN…
0:00:20.452303438 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:7574:gst_rtspsrc_close: not ready, doing cleanup
0:00:20.452333550 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:7637:gst_rtspsrc_close: closing connection…
0:00:20.452360398 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:4715:gst_rtsp_conninfo_close: closing connection…
0:00:20.452445102 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:4721:gst_rtsp_conninfo_close: freeing connection…
0:00:20.452489134 2888 0x55a8729200 DEBUG rtspsrc gstrtspsrc.c:2058:gst_rtspsrc_cleanup: cleanup
Freeing pipeline …

The log told us there are 3 tracks in the stream:

Seems failed when retrieve stream 2. You can not use gst-launch-1.0 to run the pipeline because you can not select stream in this way.

Do you have any idea how to solve this?
I believe all deepstream python apps use Gstreamer as base application.
Would this work in Base deepstream python apps without this command?
Thanks!

If that is the case, can we just set the pipeline to only use 1 stream?

There is ‘select-stream’ signal in rtspsrc. rtspsrc (gstreamer.freedesktop.org). For this specific rtsp source, you need to implement the ‘select-stream’ signal callback in your python app.

This seems like a lot of work.Do you have any sample code implementing this function in Python?
Also, this might help, but actually we have 20 identical cameras, and only a few (2-3 cameras) are having this issue. Do you have any idea why this happens to only a few cameras?

This is not deepstream specific. We don’t have such sample.

There are some C/C++ resources in internet. E.G. GST rtspsrc example, bug on windows (github.com)

You may try removing the following package if installed, it is known for such RTSP server authentication problems:

 sudo apt remove gstreamer1.0-plugins-ugly

I have also tried that. Doesn’t work in my case. Thanks for your concern!

I have solved this by the help of Gstreamer forum.

The problem was that ffmpeg is using tcp when gstreamer is using udp and tcp, and I believe in stream 2, udp is failing. The trick was to put a t to specify tcp

$gst-launch-1.0 rtspsrc location=rtspt://admin:admin@192.168.10.131/1/profile ! fakesink

This is the link. Thanks everyone for your help!

http://gstreamer-devel.966125.n4.nabble.com/Ffmpeg-works-but-gstreamer-does-not-work-for-rtsp-camera-tt4696330.html

Hi, @jinmochong

I meet same problem with you, and I find that we must set select-rtp-protocol=4 in source group.

But sometimes it can succeed pull rtsp, sometimes it failed.

So what’s your mean of “The trick was to put a t to specify tcp”, hope for your reply.

Thanks!