Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Camera example not working
Forum Updated to NodeBB v4.3 + New Features

Camera example not working

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tech.hi
    wrote on last edited by
    #1

    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 ??

    jsulmJ 1 Reply Last reply
    0
    • T tech.hi

      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 ??

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

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

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tech.hi
        wrote on last edited by tech.hi
        #3

        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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved