Camera Example from Multimedia after cross compiling to raspberry pi 4 isnt working. Using Qt6.4.3
Locked
Unsolved
QtonPi
-
Hi so ive just cross compiled the Camera Example from Multimedia to the raspberry pi but when i run it i get this error. The application runs but no camera appears. Ive tried the camera with cheese and gstreamer directly and it works fine just not using the qt6.4.3 multimedia example. Can anyone help me figure out what is wrong? My usb camera is heating up when i run the application so its def getting power. but i just get a blank black screen. Sorry im new to cross compiling and qt.
risosltd@raspberrypi:~/camera $ ./camera [4:58:53.804964889] [16449] INFO Camera camera_manager.cpp:299 libcamera v0.0.4+22-923f5d70 ** (camera:16449): CRITICAL **: 13:59:09.524: gst_alsa_device_new: assertion 'caps' failed (camera:16449): GLib-GObject-WARNING **: 13:59:09.544: g_object_set_is_valid_property: object class 'GstQueue' has no property named '\u0007' (camera:16449): GLib-GObject-WARNING **: 13:59:09.582: specified instance size for type 'QGstSubtitleSink' is smaller than the parent type's 'GstBaseSink' instance size (camera:16449): GStreamer-CRITICAL **: 13:59:09.582: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed (camera:16449): GLib-GObject-CRITICAL **: 13:59:09.582: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed (camera:16449): GLib-GObject-CRITICAL **: 13:59:09.582: g_object_set: assertion 'G_IS_OBJECT (object)' failed [4:58:54.021936198] [16449] INFO Camera camera_manager.cpp:299 libcamera v0.0.4+22-923f5d70 (camera:16449): GLib-GObject-WARNING **: 13:59:09.663: specified instance size for type 'QGstVideoRendererSink' is smaller than the parent type's 'GstVideoSink' instance size (camera:16449): GStreamer-CRITICAL **: 13:59:09.664: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed (camera:16449): GLib-GObject-CRITICAL **: 13:59:09.664: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed (camera:16449): GLib-GObject-WARNING **: 13:59:09.664: invalid (NULL) pointer instance (camera:16449): GLib-GObject-CRITICAL **: 13:59:09.664: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed [4:58:54.064698161] [16462] INFO Camera camera.cpp:1028 configuring streams: (0) 4656x3496-MJPEG Xlib: sequence lost (0x101f8 > 0x1fa) in reply type 0x0! Xlib: sequence lost (0x101fd > 0x1ff) in reply type 0x0! Xlib: sequence lost (0x10202 > 0x204) in reply type 0x0! Xlib: sequence lost (0x10207 > 0x209) in reply type 0x0!
risosltd@raspberrypi:~/camera $ gst-launch-1.0 --version gst-launch-1.0 version 1.18.4 GStreamer 1.18.4 http://packages.qa.debian.org/gstreamer1.0
-
@SirBillyBobJoe Please stop posting same question more than once!
Closing this one...
-