HI all:
Just now we are using am5728 gstreamer to decode mp4 file.
But it failed.
We use the below command to save mp4 file
gst-launch-1.0 -e v4l2src device=/dev/video1 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, framerate=(fraction)60/1' ! vpe num-input-buffers=8 ! 'video/x-raw,format=(string)NV12, width=(int)1280, height=(int)720, framerate=(fraction)60/1' ! queue ! ducatih264enc bitrate=4000 level=51 profile=100 ! queue ! h264parse ! qtmux ! filesink location=test.mp4
we make sure the test.mp4 is OK, because we can decode it successfully in windows 10 and ubuntu 14.04
When we use the below command to decode the mp4 file, it will reporter error
gst-launch-1.0 -e filesrc location=test.mp4 ! qtdemux ! queue ! h264parse ! ducatih264dec ! queue ! waylandsink
the error is
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_caps_get_structure: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_structure_has_field: assertion 'structure != NULL' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_caps_is_strictly_equal: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_mini_object_unref: assertion '(g_atomic_int_get (&mini_object->lockstate) & LOCK_MASK) < 4' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object->refcount > 0' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_caps_get_structure: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_structure_has_field: assertion 'structure != NULL' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_caps_is_strictly_equal: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_mini_object_unref: assertion '(g_atomic_int_get (&mini_object->lockstate) & LOCK_MASK) < 4' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object->refcount > 0' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_caps_get_structure: assertion 'GST_IS_CAPS (caps)' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_structure_has_field: assertion 'structure != NULL' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_caps_is_strictly_equal: assertion 'GST_IS_CAPS (caps1)' failed
(gst-launch-1.0:1428): GStreamer-CRITICAL **: gst_mini_object_unref: assertion 'mini_object->refcount > 0' failed
Caught SIGSEGV
#0 0xb6b45e50 in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0xb6c789f8 in ?? () from /usr/lib/libglib-2.0.so.0
Spinning. Please run 'gdb gst-launch-1.0 1428' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
My processor sdk is processor sdk rt_linux 3.3
The board is an custom am5728 board.
So, any other encountered this issue?
Thanks
Regards