Problem with multiple RTSP streams. Pipeline Freezes
Hi everyone,
I have a deepstream python application that takes multiple input video streams (up to 64) from dynamically created RTSP sources. I have an error that appears at the beginning of the pipeline execution, but randomly. That is, it fails sometimes, sometimes not:
(python3:306): GStreamer-CRITICAL **: 17:38:21.015: gst_value_init_and_copy: assertion 'G_IS_VALUE (src)' failed
0:02:15.312357648 306 0x7fe6e80346a0 WARN rtspsrc gstrtspsrc.c:3458:on_timeout_common:<source> source 4cf692f3, stream 4cf692f3 in session 3 timed out
(python3:306): GStreamer-CRITICAL **: 17:38:21.117: gst_value_init_and_copy: assertion 'G_IS_VALUE (src)' failed
Updating config
Configuración actualizada
0:02:16.240716775 306 0x7fe6e8034760 WARN rtspsrc gstrtspsrc.c:3458:on_timeout_common:<source> source c93ad589, stream c93ad589 in session 0 timed out
(python3:306): GStreamer-CRITICAL **: 17:38:22.045: gst_value_init_and_copy: assertion 'G_IS_VALUE (src)' failed
0:02:18.924786319 306 0x7fe6e8034640 WARN rtspsrc gstrtspsrc.c:3458:on_timeout_common:<source> source 3db90df1, stream 3db90df1 in session 2 timed out
(python3:306): GStreamer-CRITICAL **: 17:38:24.729: gst_value_init_and_copy: assertion 'G_IS_VALUE (src)' failed
0:02:25.598070744 306 0x7fe6f00311e0 WARN rtspsrc gstrtspsrc.c:3458:on_timeout_common:<source> source c2dc5853, stream c2dc5853 in session 4 timed out
(python3:306): GStreamer-CRITICAL **: 17:38:31.408: gst_value_init_and_copy: assertion 'G_IS_VALUE (src)' failed
0:02:25.792803724 306 0x7fe75405f0c0 WARN rtspsrc gstrtspsrc.c:3458:on_timeout_common:<source> source 36de9b93, stream 36de9b93 in session 2 timed out
(python3:306): GStreamer-CRITICAL **: 17:38:31.597: gst_value_init_and_copy: assertion 'G_IS_VALUE (src)' failed
0:02:26.077900181 306 0x7fe6d0034760 WARN rtspsrc gstrtspsrc.c:3458:on_timeout_common:<source> source 01edc225, stream 01edc225 in session 1 timed out
I am using this decoding in a deepstream application. Also, I am always getting this warning message (even when it works):
0:00:34.948262699 306 0x7fe420013b60 INFO GST_ERROR_SYSTEM gstelement.c:2180:gst_element_message_full_with_details:<source-bin-12> posted warning message: No decoder available for type 'application/x-rtp, media=(string)application, payload=(int)99, clock-rate=(int)90000, encoding-name=(string)X-AVIGILON.ANALYTICS, ssrc=(uint)1291227891, clock-base=(uint)3460794567, seqnum-base=(uint)27471, npt-start=(guint64)63384532000000, play-speed=(double)1, play-scale=(double)1'.
0:00:34.948327803 306 0x7fe420013b60 WARN default descriptions.c:1233:gst_pb_utils_get_codec_description: No description available for media type: application/x-rtp
0:00:34.948375571 306 0x7fe420013b60 WARN decodebin gstdecodebin2.c:4678:gst_decode_bin_expose:<decodebin146> error: no suitable plugins found:
Missing decoder: application/x-rtp (application/x-rtp, media=(string)application, payload=(int)99, clock-rate=(int)90000, encoding-name=(string)X-AVIGILON.ANALYTICS, ssrc=(uint)1291227891, clock-base=(uint)3460794567, seqnum-base=(uint)27471, npt-start=(guint64)63384532000000, play-speed=(double)1, play-scale=(double)1)
0:00:34.948436750 306 0x7fe420013b60 INFO GST_ERROR_SYSTEM gstelement.c:2153:gst_element_message_full_with_details:<decodebin146> posting message: Your GStreamer installation is missing a plug-in.
0:00:34.948489001 306 0x7fe420013b60 INFO GST_ERROR_SYSTEM gstelement.c:2180:gst_element_message_full_with_details:<decodebin146> posted error message: Your GStreamer installation is missing a plug-in.
0:00:34.948562967 306 0x7fe420013b60 INFO GST_STATES gstbin.c:3421:bin_handle_async_done:<decodebin146> committing state from READY to PAUSED, old pending PAUSED
0:00:34.948592066 306 0x7fe420013b60 INFO GST_STATES gstbin.c:3444:bin_handle_async_done:<decodebin146> completed state change, pending VOID
0:00:34.948623251 306 0x7fe420013b60 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<decodebin146> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:34.948665255 306 0x7fe420013b60 INFO GST_STATES gstbin.c:3421:bin_handle_async_done:<source-bin-12> committing state from PAUSED to PAUSED, old pending PLAYING
0:00:34.948702238 306 0x7fe420013b60 INFO GST_STATES gstbin.c:3444:bin_handle_async_done:<source-bin-12> completed state change, pending VOID
0:00:34.948730809 306 0x7fe420013b60 INFO GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<source-bin-12> notifying about state-changed PAUSED to PAUSED (VOID_PENDING pending)
0:00:34.948824691 306 0x7fe420013b60 INFO typefind gsttypefindelement.c:180:gst_type_find_element_have_type:<typefind> found caps application/x-rtp, media=(string)application, payload=(int)99, clock-rate=(int)90000, encoding-name=(string)X-AVIGILON.ANALYTICS, ssrc=(uint)1291227891, clock-base=(uint)3460794567, seqnum-base=(uint)27471, npt-start=(guint64)63384532000000, play-speed=(double)1, play-scale=(double)1, probability=100
0:00:34.948942457 306 0x7fe420013b60 INFO task gsttask.c:312:gst_task_func:<rtpjitterbuffer142:src> Task going to paused
Warning: gst-stream-error-quark: No decoder available for type 'application/x-rtp, media=(string)application, payload=(int)98, clock-rate=(int)90000, encoding-name=(string)VND.ONVIF.METADATA, ssrc=(uint)3812661682, clock-base=(uint)2142122843, seqnum-base=(uint)40702, npt-start=(guint64)63384884000000, play-speed=(double)1, play-scale=(double)1'. (6): gsturidecodebin.c(920): unknown_type_cb (): /GstPipeline:pipeline0/GstURIDecodeBin:source-bin-25
Please, I need recommendation on what to do,
Edited by Nicolas Dufresne