Invalid address family

Hi,

I run a pipeline that uses rstpsrc location=rtsp://rtspstream:**************************************@zephyr.rtsp.stream/movie (contains some auth credentials) and it works fine on my machine but not on a colleague’s. The error is Invalid address family (got 30). Is there an alternative way to address the stream that might work?

I have contacted the provider of the stream but figured someone here might have some insight as well.

Thanks

Is this just with gst-launch-1.0? Can you provide a full debug log for this? Also which version of GStreamer is used there?

Reminds me of Bug 743008 – udpsink: Can't set manually created GSocket: Invalid address family (got 10) .

He was on 1.22.8 and it did not work with gst-launch-1.0 or our application.
I had him upgrade to 1.24.3 and it works with gst-launch-1.0 but not our application (I think maybe he is still pulling in the old version, that idea is pending).

0:00:02.093048000 24345 0x7fc61082b2a0 WARN            multiudpsink gstmultiudpsink.c:1229:gst_multiudpsink_configure_client:<udpsink1> error: Invalid address family (got 30)
0:00:02.093074000 24345 0x7fc61082b2a0 WARN                basesink gstbasesink.c:5882:gst_base_sink_change_state:<udpsink1> error: Failed to start
0:00:02.124462000 24345 0x7fc61082b300 WARN            multiudpsink gstmultiudpsink.c:1229:gst_multiudpsink_configure_client:<udpsink3> error: Invalid address family (got 30)
0:00:03.281726000 24345 0x7fc61082b2a0 WARN                basesink gstbasesink.c:5882:gst_base_sink_change_state:<udpsink4> error: Failed to start
0:00:03.281743000 24345 0x7fc612831400 WARN                GST_PADS gstpad.c:4384:gst_pad_peer_query:<fakesrc0:src> could not send sticky events
0:00:03.281924000 24345 0x7fc612831460 WARN                GST_PADS gstpad.c:4384:gst_pad_peer_query:<fakesrc2:src> could not send sticky events
0:00:03.320323000 24345 0x7fc61082b300 WARN            multiudpsink gstmultiudpsink.c:1229:gst_multiudpsink_configure_client:<udpsink7> error: Invalid address family (got 30)
0:00:03.320715000 24345 0x7fc61082b300 WARN                basesink gstbasesink.c:5882:gst_base_sink_change_state:<udpsink6> error: Failed to start
0:00:03.320747000 24345 0x7fc6128314c0 WARN                GST_PADS gstpad.c:4384:gst_pad_peer_query:<fakesrc1:src> could not send sticky events
0:00:03.320947000 24345 0x7fc612831520 WARN                GST_PADS gstpad.c:4384:gst_pad_peer_query:<fakesrc3:src> could not send sticky events
0:00:08.576391000 24345 0x7fc61082b2a0 WARN                 rtspsrc gstrtspsrc.c:6124:gst_rtspsrc_reconnect:<rtspsrc1> warning: Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a tcp connection.
0:00:08.624189000 24345 0x7fc61082b300 WARN                 rtspsrc gstrtspsrc.c:6124:gst_rtspsrc_reconnect:<rtspsrc0> warning: Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a tcp connection.
0:00:11.814688000 24345 0x7fc61082b1e0 WARN                   libav gstavviddec.c:1075:gst_ffmpegviddec_get_buffer2:<avdec_h264-1> Couldn't get codec frame !
0:00:11.814703000 24345 0x7fc61082b1e0 ERROR                  libav :0 get_buffer() failed
0:00:11.814709000 24345 0x7fc61082b1e0 ERROR                  libav :0 thread_get_buffer() failed
0:00:11.814713000 24345 0x7fc61082b1e0 ERROR                  libav :0 decode_slice_header error
0:00:11.814717000 24345 0x7fc61082b1e0 ERROR                  libav :0 no frame!
0:00:11.814726000 24345 0x7fc61082b1e0 WARN            videodecoder gstvideodecoder.c:4804:_gst_video_decoder_error:<avdec_h264-1> error: Failed to send data for decoding
0:00:11.814731000 24345 0x7fc61082b1e0 WARN            videodecoder gstvideodecoder.c:4806:_gst_video_decoder_error:<avdec_h264-1> error: Invalid input packet
0:00:11.977319000 24345 0x7fc61082b2a0 WARN                 rtspsrc gstrtspsrc.c:6409:gst_rtspsrc_loop:<rtspsrc1> error: Internal data stream error.
0:00:11.977331000 24345 0x7fc61082b2a0 WARN                 rtspsrc gstrtspsrc.c:6409:gst_rtspsrc_loop:<rtspsrc1> error: streaming stopped, reason not-linked (-1)
0:00:11.992204000 24345 0x7fc61082b240 WARN               h264parse gsth264parse.c:2221:gst_h264_parse_update_src_caps:<h264parse0> VUI framerate 90000.0 exceeds allowed maximum 182.0
0:00:12.128699000 24345 0x7fc61082b240 WARN               h264parse gsth264parse.c:2221:gst_h264_parse_update_src_caps:<h264parse0> VUI framerate 90000.0 exceeds allowed maximum 182.0
0:00:12.128702000 24345 0x7fc61082b300 WARN         rtpjitterbuffer rtpjitterbuffer.c:770:rtp_jitter_buffer_calculate_pts backward timestamps at server, schedule resync
0:00:12.130531000 24345 0x7fc61082b240 ERROR                  libav :0 reference picture missing during reorder
0:00:12.130547000 24345 0x7fc61082b240 ERROR                  libav :0 Missing reference picture, default is 0
0:00:12.136352000 24345 0x7fc61082b240 ERROR                  libav :0 mmco: unref short failure
0:00:12.266675000 24345 0x7fc61082b300 WARN                 rtspsrc gstrtspsrc.c:6409:gst_rtspsrc_loop:<rtspsrc0> error: Internal data stream error.
0:00:12.266695000 24345 0x7fc61082b300 WARN                 rtspsrc gstrtspsrc.c:6409:gst_rtspsrc_loop:<rtspsrc0> error: streaming stopped, reason not-linked (-1)
0:00:12.877472000 24345 0x7fc612831760 WARN                 default gstrtspconnection.c:1417:writev_bytes Operation was cancelled
0:00:14.052285000 24345 0x7fc6109bdf60 WARN                 default gstrtspconnection.c:1417:writev_bytes Operation was cancelled
0:00:14.378059000 24345 0x7fc6109bdf00 WARN                 default gstrtspconnection.c:1417:writev_bytes Operation was cancelled
0:00:14.404092000 24345 0x7fc612831400 WARN                 default gstrtspconnection.c:1417:writev_bytes Operation was cancelled
0:00:17.294576000 24345 0x7fc613af56f0 WARN                 rtspsrc gstrtspsrc.c:6354:gst_rtspsrc_loop_send_cmd_and_wait:<rtspsrc1> Timed out waiting for TEARDOWN to be processed.
0:00:17.399688000 24345 0x7fc613af56f0 WARN                 rtspsrc gstrtspsrc.c:6354:gst_rtspsrc_loop_send_cmd_and_wait:<rtspsrc0> Timed out waiting for TEARDOWN to be processed.
0:00:17.483806000 24345 0x7fc61082b2a0 WARN                 rtspsrc gstrtspsrc.c:6691:gst_rtsp_src_receive_response:<rtspsrc1> receive interrupted
0:00:17.483828000 24345 0x7fc61082b2a0 WARN                 rtspsrc gstrtspsrc.c:6789:gst_rtspsrc_try_send:<rtspsrc1> receive interrupted
0:00:17.483838000 24345 0x7fc61082b2a0 WARN                 rtspsrc gstrtspsrc.c:8558:gst_rtspsrc_close:<rtspsrc1> TEARDOWN interrupted
0:00:17.572232000 24345 0x7fc61082b300 WARN                 rtspsrc gstrtspsrc.c:6691:gst_rtsp_src_receive_response:<rtspsrc0> receive interrupted
0:00:17.572247000 24345 0x7fc61082b300 WARN                 rtspsrc gstrtspsrc.c:6789:gst_rtspsrc_try_send:<rtspsrc0> receive interrupted
0:00:17.572255000 24345 0x7fc61082b300 WARN                 rtspsrc gstrtspsrc.c:8558:gst_rtspsrc_close:<rtspsrc0> TEARDOWN interrupted```

The logs before that are the interesting ones :slight_smile: