RTSP stream playback problem
I ran this pipeline in Gstreamer 1.16:
gst-launch- 1.0 e -vvv rtspsrc location="rtsp://10.0.0.2:8555/test"
latency=200 ! rtph264depay ! h264parse ! v4l2h264dec capture-io-mode=4 !
clutterautovideosink
It prints out Segmentation fault. I am enclosing backtrace.
Thread 15 "rtpjitterbuffer" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x6a2fe470 (LWP 23488)]
0x75f807d0 in gst_v4l2_buffer_pool_orphan (bpool=0x121614)
at gstv4l2bufferpool.c:982
982 if (!GST_V4L2_ALLOCATOR_CAN_ORPHAN_BUFS (pool->vallocator))
(gdb) bt
#0 0x75f807d0 in gst_v4l2_buffer_pool_orphan (bpool=0x121614)
at gstv4l2bufferpool.c:982
#1 0x75f942d8 in gst_v4l2_video_dec_set_format (decoder=0x114170,
state=0x6f227f00) at gstv4l2videodec.c:249
#2 0x7621c6ec in gst_video_decoder_setcaps (decoder=0x114170,
caps=0x6ab18228)
at gstvideodecoder.c:712
#3 0x7621dc28 in gst_video_decoder_sink_event_default (decoder=0x114170,
event=0x6ab1a0c0) at gstvideodecoder.c:1101
#4 0x75f96ad4 in gst_v4l2_video_dec_sink_event (decoder=0x114170,
event=0x6ab1a0c0) at gstv4l2videodec.c:887
#5 0x7621eaf0 in gst_video_decoder_sink_event (pad=0x104650,
parent=0x114170,
event=0x6ab1a0c0) at gstvideodecoder.c:1367
#6 0x76ed7e18 in gst_pad_send_event_unchecked (pad=0x104650,
event=0x6ab1a0c0, type=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
at gstpad.c:5765
#7 0x76ed6630 in gst_pad_push_event_unchecked (pad=0x1044f8,
event=0x6ab1a0c0, type=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
at gstpad.c:5410
#8 0x76ed0284 in push_sticky (pad=0x1044f8, ev=0x6a2fcb58,
user_data=0x6a2fcb98) at gstpad.c:3926
#9 0x76ec3fec in events_foreach (pad=0x1044f8, func=0x76ed0140
<push_sticky>,
user_data=0x6a2fcb98) at gstpad.c:608
#10 0x76ed0718 in check_sticky (pad=0x1044f8, event=0x6ab1a0c0)
cc @ndufresne
Edited by Nicolas Dufresne