qtdemux0:sink receiving signal SIGSEGV
Hey, I'm trying to run the following pipeline to play a sample mp4 video.
gst-launch-1.0 playbin uri=file:///home/ak/Downloads/sample_1920x1080.mp4
But I got the following log:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
(gst-launch-1.0:12519): GStreamer-CRITICAL **: 17:22:24.477: gst_caps_from_string: assertion 'string' failed
(gst-launch-1.0:12519): GStreamer-CRITICAL **: 17:22:24.477: gst_pad_template_new: assertion 'caps != NULL' failed
(gst-launch-1.0:12519): GStreamer-CRITICAL **: 17:22:24.477: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:12519): GStreamer-CRITICAL **: 17:22:24.477: gst_element_class_add_pad_template: assertion 'GST_IS_PAD_TEMPLATE (templ)' failed
(gst-launch-1.0:12519): GStreamer-Video-CRITICAL **: 17:22:24.477: gst_video_decoder_init: assertion 'pad_template != NULL' failed
(gst-launch-1.0:12519): GStreamer-WARNING **: 17:22:24.477: Element vaapidecode0 has an ALWAYS template src, but no pad of the same name
Caught SIGSEGV
Spinning. Please run 'gdb gst-launch-1.0 12519' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
When I run the pipeline again with gdb I get the following log:
Starting program: /usr/bin/gst-launch-1.0 playbin uri=file:///home/anilkaraca/Downloads/sample_1920x1080.mp4
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Setting pipeline to PAUSED ...
[New Thread 0x7ffff5465640 (LWP 12236)]
Pipeline is PREROLLING ...
[New Thread 0x7ffff4c64640 (LWP 12237)]
[New Thread 0x7fffeffff640 (LWP 12238)]
[New Thread 0x7fffef7fe640 (LWP 12239)]
[New Thread 0x7fffeeda9640 (LWP 12240)]
[New Thread 0x7fffecae1640 (LWP 12241)]
[Thread 0x7fffecae1640 (LWP 12241) exited]
[New Thread 0x7fffecae1640 (LWP 12242)]
[Thread 0x7fffecae1640 (LWP 12242) exited]
(gst-launch-1.0:12233): GStreamer-CRITICAL **: 17:18:47.941: gst_caps_from_string: assertion 'string' failed
(gst-launch-1.0:12233): GStreamer-CRITICAL **: 17:18:47.941: gst_pad_template_new: assertion 'caps != NULL' failed
(gst-launch-1.0:12233): GStreamer-CRITICAL **: 17:18:47.941: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:12233): GStreamer-CRITICAL **: 17:18:47.941: gst_element_class_add_pad_template: assertion 'GST_IS_PAD_TEMPLATE (templ)' failed
(gst-launch-1.0:12233): GStreamer-Video-CRITICAL **: 17:18:47.941: gst_video_decoder_init: assertion 'pad_template != NULL' failed
(gst-launch-1.0:12233): GStreamer-WARNING **: 17:18:47.941: Element vaapidecode0 has an ALWAYS template src, but no pad of the same name
Thread 4 "qtdemux0:sink" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeffff640 (LWP 12238)]
___pthread_mutex_destroy (mutex=0x0) at ./nptl/pthread_mutex_destroy.c:31
31 ./nptl/pthread_mutex_destroy.c: No such file or directory.
I'm pretty new to gstreamer so I couldn't find a way to debug it online. It was working fine until I started playing with this tutorial.