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

[Boot2Qt] Virtual camera (imx-capture) is incorrectly set as the default camera in Qt application on i.MX 8M Mini EVK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.10.0 Beta4
    • Multimedia
    • None
    • Linux/Yocto

      MacOS 15.6.1

      Qt Creator 18.0.0 

      Qt 6.10 beta 4

      Device: i.MX 8M Mini EVK

       

      Steps to reproduce:

      1. Connect the external camera to the device.
      2. Run the declarative camera example on i.MX 8M Mini EVK
      3. Check the default camera selected.

      Expected: Only working devices should be detected and available for selection.

      Actual: The "imx-capture"camera is selected by default:

      "/usr/examples/multimedia/declarative-camera/declarative-camera" QList()
      qt.multimedia.gstreamer: Using Qt multimedia with GStreamer version: "GStreamer 1.24.7"
      QGstElement::getPipeline failed for element: videoConvert {name: videoConvert, parent: camerabin, qos: 1, method: (not implemented: GstVideoScaleMethod), add-borders: 1, sharpness: 1, sharpen: 0, dither: (not implemented: GstVideoDitherMethod), envelope: 2, n-threads: 1, dither-quantization: 1, chroma-resampler: (not implemented: GstVideoResamplerMethod), alpha-mode: (not implemented: GstVideoAlphaMode), alpha-value: 1, chroma-mode: (not implemented: GstVideoChromaMode), matrix-mode: (not implemented: GstVideoMatrixMode), gamma-mode: (not implemented: GstVideoGammaMode), primaries-mode: (not implemented: GstVideoPrimariesMode), converter-config: null}
      qml: State: Other
      QGstreamerMediaCapture: received error from gstreamer Failed to allocate required memory. /usr/src/debug/gstreamer1.0-plugins-good/1.24.7.imx/sys/v4l2/gstv4l2src.c(956): gst_v4l2src_decide_allocation (): /GstPipeline:mediaCapturePipeline/GstBin:camerabin/GstV4l2Src:camerasrc:
      Buffer pool activation failed
      QGstreamerMediaCapture: received error from gstreamer Internal data stream error. /usr/src/debug/gstreamer1.0/1.24.7.imx/libs/gst/base/gstbasesrc.c(3177): gst_base_src_loop (): /GstPipeline:mediaCapturePipeline/GstBin:camerabin/GstV4l2Src:camerasrc:
      streaming stopped, reason not-negotiated (-4)
      

      Reproducibility:  100%

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

            lars.sutterud Lars Sutterud
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes