Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Camera example not working



  • I am using Qt creator 4.8.2, on Debian buster.

    And the error log I am getting is :
    (camera:5761): GStreamer-CRITICAL **: 09:44:19.901: gst_mini_object_unref: assertion 'GST_MINI_OBJECT_REFCOUNT_VALUE (mini_object) > 0' failed

    Unable to query the parameter info: "Inappropriate ioctl for device"

    Unable to query the parameter info: "Inappropriate ioctl for device"

    (camera:5761): GStreamer-CRITICAL **: 09:44:20.081: gst_mini_object_unref: assertion 'GST_MINI_OBJECT_REFCOUNT_VALUE (mini_object) > 0' failed

    (camera:5761): GStreamer-CRITICAL **: 09:44:20.126: gst_mini_object_unref: assertion 'GST_MINI_OBJECT_REFCOUNT_VALUE (mini_object) > 0' failed

    (camera:5761): GStreamer-CRITICAL **: 09:44:20.226: gst_caps_is_empty: assertion 'GST_IS_CAPS (caps)' failed

    (camera:5761): GStreamer-CRITICAL **: 09:44:20.226: gst_caps_is_equal: assertion 'GST_IS_CAPS (caps2)' failed

    ** (camera:5761): CRITICAL **: 09:44:20.226: gst_pad_set_caps: assertion 'caps != NULL && gst_caps_is_fixed (caps)' failed

    (camera:5761): GLib-CRITICAL **: 09:44:20.226: g_atomic_ref_count_dec: assertion 'g_atomic_int_get (arc) > 0' failed

    free(): invalid pointer

    09:44:20: The program has unexpectedly finished.

    Is there anyone who knows whats wrong with it ??


  • Qt Champions 2019

    @tech.hi Does the same camera work in general on same machine?



  • Thank you for replying.
    I found the issue was because some of the files in gstreamer1.0-plugins-* was missing.
    After installing, camera started working.


Log in to reply