Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-137436

QMediaDevices::videoInputs() skips UVC camera due to unsupported format but same camera works fine in Qt5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9.1
    • Multimedia
    • None
    • Mac Book Pro 2019 (Intel Core i7), macOS Sequoia 15.5
    • macOS

    Description

      Hi,

      I have a UVC camera that works fine in the "camera" example from the Qt5 distribution, but not with the "camera" example in Qt6. The camera also works fine with other viewers (e.g. QuickTime Player).

      In the Qt6 "camera" example the camera is rejected, I see the following in the log :
      qt.multimedia.avfvideodevices: Skip camera "<device name>" without supported formats

      The log message appears when QMediaDevices::videoInputs() is called here: camera.cpp:367

      Attached is the USB / UVC information for the camera obtained with lsusb.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtmultimediateam Qt Multimedia Team
            pstadelmann Patrick Stadelmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes