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

Windows native multimedia backend does not agree with Windows Media Player when dealing with rotated video

    XMLWordPrintable

Details

    • Windows

    Description

      For a rotated video, e.g. the one attached that has landscape resolution of 1280x720 but rotated -90 degree, which means it is actually a portrait video, the build-in Media Player on Windows can correctly recognize that and play it in portrait mode:

      Not quite so if it is QtMM with

      qputenv("QT_MEDIA_BACKEND", "windows");
      

      So we may want to fix the behavior so that native backend works natively. Currently, FFMPEG works correctly so that is the workaround.

      The snippet shown in QVideoWidget doc can be used as reproducer:
      https://doc.qt.io/qt-6/qvideowidget.html#details

      Attachments

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

        Activity

          People

            timblechmann tim blechmann
            luqiaochen Luqiao Chen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: