I’ve been seeing strange behavior since version 4.2.1 with the GStreamer plugins. I’ve worked around them by disabling Nvidia decoders. However, I’m still seeing a crash in some cases. For example:
gst-launch-1.0 rtspsrc location=‘rtsp://username:password@ipcamera/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast’ drop_on_latency=true udp_buffer_size=1572864 do_retransmission=false latency=1000 ! queue max_size_time=5000000000 max-size-bytes=0 max-size-buffers=0 leaky=1 ! rtph264depay ! h264parse ! omxh264dec ! videoconvert ! appsink name=sink max-buffers=5 drop=1
Produces the following crash:
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://mhill:cosmos@192.168.0.155/onvif-media/media.amp?profile=profile_1_h264&sessiontimeout=60&streamtype=unicast
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING …
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
(gst-launch-1.0:17529): GStreamer-CRITICAL **: 15:00:45.323: gst_caps_is_empty: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:17529): GStreamer-CRITICAL **: 15:00:45.324: gst_caps_truncate: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:17529): GStreamer-CRITICAL **: 15:00:45.324: gst_caps_fixate: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:17529): GStreamer-CRITICAL **: 15:00:45.324: gst_caps_get_structure: assertion ‘GST_IS_CAPS (caps)’ failed
(gst-launch-1.0:17529): GStreamer-CRITICAL **: 15:00:45.324: gst_structure_get_string: assertion ‘structure != NULL’ failed
(gst-launch-1.0:17529): GStreamer-CRITICAL **: 15:00:45.324: gst_mini_object_unref: assertion ‘mini_object != NULL’ failed
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Allocating new output: 1280x960 (x 9), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3605: Send OMX_EventPortSettingsChanged: nFrameWidth = 1280, nFrameHeight = 960
^Chandling interrupt.
Interrupt: Stopping pipeline …
Execution ended after 0:00:06.425638687
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Caught SIGSEGV
#0 0x0000007fb2f1dce4 in __waitpid (pid=, stat_loc=0x7fcc0194f4, options=) at …/sysdeps/unix/sysv/linux/waitpid.c:30
#1 0x0000007fb2f592a0 in g_on_error_stack_trace ()
#2 0x0000005583789c3c in ()
#3 0x0000007f6c002e40 in ()
#4 0x00000000001c2000 in ()
Spinning. Please run ‘gdb gst-launch-1.0 17529’ to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.