Unsolved Error while running camera example
-
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? -
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? -
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. -
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
-
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 720PWhat are the required packages for the application to run?
-
@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?