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. Error while running camera example
Forum Updated to NodeBB v4.3 + New Features

Error while running camera example

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 4 Posters 995 Views 1 Watching
  • 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.

    In qt camera example i am getting this error:

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

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

    CameraBin error: "Failed to allocate required memory."

    I tried to make it work using gstreamer commands, and i was able to get the camera preview.
    Is there anyone who knows how to fix it?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      closx
      wrote on last edited by closx
      #2

      Which gstreamer commands? Did you used xlib's (X11 based)?
      It can be some issue related to the resolution. If it is, it could be related to your processor. Which device you are trying to run the application?

      bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
      tag me (like @closx) if you are answering to me, so I can notice :D

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

        hey, sorry for the late reply.

        This issue am not getting while i was using the gsrtreamer commands.
        Yes, it is x11 based.
        Issue came up when i ran qt camera example program from the qt creator.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          You need to provide more details about:

          • The Qt version you are using
          • Linux distribution you are using
          • The exact camera you are using

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - 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
            #5

            1)Qt Creator 4.8.2
            Based on Qt 5.11.3 (GCC 8.3.0, 64 bit)
            2)Debian buster
            3)ODROID USB-CAM 720P

            What are the required packages for the application to run?

            jsulmJ 1 Reply Last reply
            0
            • T tech.hi

              1)Qt Creator 4.8.2
              Based on Qt 5.11.3 (GCC 8.3.0, 64 bit)
              2)Debian buster
              3)ODROID USB-CAM 720P

              What are the required packages for the application to run?

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

              @tech.hi said in Error while running camera example:

              1)Qt Creator 4.8.2
              Based on Qt 5.11.3 (GCC 8.3.0, 64 bit)

              This is not Qt version you're using, this is Qt creator version and version of Qt which was used to build QtCreator.
              So, which Qt version did you install?

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

              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