Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [ERROR] USB Camera - Internal data stream error
Forum Updated to NodeBB v4.3 + New Features

[ERROR] USB Camera - Internal data stream error

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 609 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.
  • J Offline
    J Offline
    Joao Canas
    wrote on last edited by
    #1

    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?

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

      Hi and welcome to devnet,

      Which type of camera is it ?
      Which version of Qt are you 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
      • J Offline
        J Offline
        Joao Canas
        wrote on last edited by
        #3

        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.

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

          Can you show the pipeline you use on the command line ?

          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

          • Login

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