Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Possible bug in QGstreamerMediaDevices? (Video source device not found)

Possible bug in QGstreamerMediaDevices? (Video source device not found)

Scheduled Pinned Locked Moved Unsolved Qt 6
2 Posts 2 Posters 318 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.
  • M Offline
    M Offline
    Monni
    wrote on last edited by Monni
    #1

    Hi,

    Pardon me if this should be posted directly as a bug, but I'm first time contributing so I decided to play it safe and ask first before submitting a bug, might just be something regarding my system.

    So I've been playing with developing a camera video streaming software using Qt 6.2.2. When creating a QMediaDevices class, it doesn't "find" the webcam in the system. The system is linux based and thus uses GStreamer as Qt Multimedia backend. I traced the problem I'm having with the source code and a debugger to function QGstreamerMediaDevices::addDevice.

    Device type string returned by function gst_device_get_device_class on my system is "Source/Video", but the code compares that specific type to exact string "Video/Source". Thus the video source then isn't registered.

    Is this something I can submit a bug for, or should this be something to be debugged here? If yes, what system info is necessary to include here?

    -Henri Pyöriä

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

      Hi,

      Sounds a good start for a bug report yes. Maybe even a patch :-)

      There might have been some changes between the GStreamer used to rewrite Qt Multimedia 6 and the one of your system.

      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