[ERROR] USB Camera - Internal data stream error
-
Hi, I have an action cam connected to my computer (running ubuntu 20.4.03) through USB and it is listed as /dev/video0 and /dev/video1. I tried streaming the video from /dev/video0 using vlc and also using gst-play-1.0 on the terminal and it works well.
Then, when I try running the Qt Camera Example on Qt 5.15.2, I get the following error:
(camera:19090): GStreamer-CRITICAL **: 18:04:24.774: gst_pad_get_current_caps: assertion 'GST_IS_PAD (pad)' failed (camera:19090): GLib-GObject-CRITICAL **: 18:04:24.774: g_object_set: assertion 'G_IS_OBJECT (object)' failed (camera:19090): GLib-GObject-CRITICAL **: 18:04:24.774: g_object_set: assertion 'G_IS_OBJECT (object)' failed CameraBin error: "GStreamer error: negotiation problem." Unable to query the parameter info: QCameraImageProcessingControl::WhiteBalancePreset : "Invalid argument" Unable to query the parameter info: QCameraImageProcessingControl::ColorTemperature : "Invalid argument" CameraBin error: "Internal data stream error."
Can anyone help me?
-
Hi and welcome to devnet,
Which type of camera is it ?
Which version of Qt are you using ? -
It is an N-Go 1080P action cam connected with its USB cable. I believe it's not the camera fault since I once tried a similar code (with COMx instead of /dev/video0) with Qt installed on windows and it worked fine.
I am using Qt 5.15.2.
-
Can you show the pipeline you use on the command line ?