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

QVideoWidget rendering video incorrectly on macOS Monterey

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.6, 6.6.3, 6.7.0 RC, 6.8.0 FF
    • 6.5.0
    • Multimedia
    • None
    • macOS Monterey (12.6.5) on a mid 2015 iMac 5k
    • macOS
    • b851a8547 (dev), 96ff253ad (6.7), 05533f134 (6.6), 56b882abf (tqtc/lts-6.5)

    Description

      QVideoWidget on v6.5.0 seems to render pure black in videos (what may be encoded as transparency) as white.

      See the examples images (attached) showing the Media Player Example (to which I have made no code changes). The same rendering error occurs with both the "darwin" or "ffmpeg" media backend on 6.5.0 and not at all on 6.2.4. I can tell the backend is indeed different between the darwin/ffmpeg screenshots because of the different metadata included (lower red arrow).

      The same error occurs in the "Video Widget Example," (in 6.5.0) but NOT the "Video Graphics Item Example" (in any version, with either backend).

      This leads me to believe the issue is likely with QVideoWidget rather than QMediaPlayer of the ffmpeg implementation.

      Thanks for looking!

      Attachments

        1. 6.2.4.png
          967 kB
          CJ Niemira
        2. 6.2.5 darwin.png
          1.03 MB
          CJ Niemira
        3. 6.2.5 ffmpeg.png
          1.09 MB
          CJ Niemira
        4. grand_sumo_intro.mp4
          3.99 MB
          CJ Niemira
        5. image-2023-11-08-23-03-42-929.png
          316 kB
          Jøger Hansegård
        6. image-2024-02-16-22-54-17-934.png
          910 kB
          Jøger Hansegård
        7. image-2024-02-16-23-01-26-698.png
          104 kB
          Jøger Hansegård
        8. nv12_bt709.png
          537 kB
          Doris Verria
        9. original_nv12.png
          1.33 MB
          Doris Verria
        10. original_yuv_triplanar.png
          606 kB
          Doris Verria
        11. Screenshot 2024-02-19 at 2.10.30 PM.png
          136 kB
          Doris Verria
        12. Screenshot 2024-02-19 at 2.12.09 PM.png
          636 kB
          Doris Verria
        13. Screenshot 2024-02-19 at 2.42.10 PM.png
          2.89 MB
          Doris Verria
        14. Screenshot 2024-02-21 at 23.54.56.png
          3.75 MB
          Pavel Dubsky
        15. Screenshot 2024-02-21 at 23.54.56-1.png
          3.75 MB
          Pavel Dubsky
        16. VideoGraphicsItem Example.png
          956 kB
          CJ Niemira
        17. VideoWidget Example.png
          451 kB
          CJ Niemira
        18. yuv_triplanar_bt709.png
          597 kB
          Doris Verria
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dorisverria Doris Verria
            cniemira CJ Niemira
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews