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

QML VideoOutput not displaying video in Wayland

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.13.2
    • Multimedia
    • None
    • Yocto on IMX8 Mini
    • Linux/Yocto

    Description

      When using a simple Wayland Compositor provided by Qt or when using the Weston Compositor, the VideoOutput from an wayland client will not display the video output stream from a video camera (QT_QPA_PLATFORM=wayland).

      Tested the same QML code when running with QT_QPA_PLATFORM=EGLFS and had no issues display the video stream.  Issue appears to be only when running with application with the platform set to wayland.

      Code in QML:

      TargetingCamera

      { id: camera objectName: "targetingCamera" }

      VideoOutput {
      source: camera
      id: videoOut
      fillMode: VideoOutput.PreserveAspectCrop
      width: 393
      height: 400
      anchors

      { bottom: parent.bottom left: parent.left }

      }

      Attachments

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

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            mmader87 Matthew Mader
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes