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

Can not set camera pixel format on MacOS.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.3, 6.6
    • 6.5.1
    • Multimedia
    • None
    • 1. MacOS: Ventura 13.4.1
      2. Qt 6.5.1
      3. USB 3.0 port
    • macOS
    • 6332cdc7c (6.6), 278c3cf99 (6.5), 35f595353 (dev)

    Description

      Hi,
      Test environment:
      1. MacOS: Ventura 13.4.1
      2. Qt 6.5.1
      3. USB 3.0 port

      My camera pixel format has MotionJPEG and YUY2.
      When I set pixel format to MotionJPEG or to YUY2, there are error messages as below,
      1. MJ:
      Cannot find AVCaptureDeviceFormat; Did you use format from another camera?
      qt.multimedia.camera: Videotoolbox doesn't support cvPixelFormat: 0 "\x00\x00\x00\x00" Camera pix format: Format_NV12.
      2. YUY2:
      qt.multimedia.camera: Videotoolbox doesn't support cvPixelFormat: 2037741171 "yuvs" Camera pix format: Format_YUYV.

      Thanks.

      Have a nice day.

      Wunian

      Attachments

        1. env set.png
          env set.png
          228 kB
        2. DoNotSetDefaultCameraFormat.txt
          2 kB
        3. SetDefaultCameraFormat.txt
          2 kB
        4. mainwindow.cpp
          9 kB
        5. mainwindow.h
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            artemiy Artem Dyomin
            wunian Wunian LEE
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes