Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Camera Example from Multimedia after cross compiling to raspberry pi 4 isnt working. Using Qt6.4.3
QtWS25 Last Chance

Camera Example from Multimedia after cross compiling to raspberry pi 4 isnt working. Using Qt6.4.3

Scheduled Pinned Locked Moved Unsolved QtonPi
2 Posts 2 Posters 537 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.
  • S Offline
    S Offline
    SirBillyBobJoe
    wrote on last edited by SirBillyBobJoe
    #1

    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
    

    IMG_5633.jpg

    jsulmJ 1 Reply Last reply
    0
    • S SirBillyBobJoe

      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
      

      IMG_5633.jpg

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

      @SirBillyBobJoe Please stop posting same question more than once!

      Closing this one...

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

      1 Reply Last reply
      0
      • jsulmJ jsulm locked this topic on

      • Login

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