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

Qt Multimedia fails to read crop info from a HEVC video stream's VPS.

    XMLWordPrintable

Details

    • All
    • 65345a04c6 (qt/qtmultimedia/dev) 0e3bb5db91 (qt/qtmultimedia/6.4) 0e3bb5db91 (qt/tqtc-qtmultimedia/6.4) 65345a04c6 (qt/tqtc-qtmultimedia/dev) c06a1e2a72 (qt/qtmultimedia/6.3) c06a1e2a72 (qt/tqtc-qtmultimedia/6.3) c8d5ad6ba5 (qt/tqtc-qtmultimedia/6.2)

    Description

      Qt Multimedia fails to read crop info from a HEVC video stream's VPS, effectively QT multimedia extends the view port beyond the end of the video content for videos that rely on crop info.

      in attached video if we get the video info by looking at it with https://mediaarea.net/MediaInfoOnline or a similar tool, we can see that the stored width is 1984, however the width after applying the crop gotten from the video stream's VPS the width is 1924. So when we open the video in QT, we expect videoOutput.sourceRect.width to be 1924, however videoOutput.sourceRect.height is 1984 and we see that green bar when we play it in a QT application

      This issue does not reproduce in non QT applications like VLC and Windows M&TV
      This can be reproduce opening the attached video with the QML Media Player Example.

      This issue only reproduces for videos encoded with HEVC. Additionally the videos must be a resolution not aligned to 16 by 16. When you encode a video in this nonaligned resolution, the encoder will allocate some extra space, and write which parts to crop out in the video's VPS

      Attachments

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

        Activity

          People

            anrocha André De La Rocha (Inactive)
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes