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
          6.2.4.png
          967 kB
        2. 6.2.5 darwin.png
          6.2.5 darwin.png
          1.03 MB
        3. 6.2.5 ffmpeg.png
          6.2.5 ffmpeg.png
          1.09 MB
        4. grand_sumo_intro.mp4
          3.99 MB
        5. image-2023-11-08-23-03-42-929.png
          image-2023-11-08-23-03-42-929.png
          316 kB
        6. image-2024-02-16-22-54-17-934.png
          image-2024-02-16-22-54-17-934.png
          910 kB
        7. image-2024-02-16-23-01-26-698.png
          image-2024-02-16-23-01-26-698.png
          104 kB
        8. nv12_bt709.png
          nv12_bt709.png
          537 kB
        9. original_nv12.png
          original_nv12.png
          1.33 MB
        10. original_yuv_triplanar.png
          original_yuv_triplanar.png
          606 kB
        11. Screenshot 2024-02-19 at 2.10.30 PM.png
          Screenshot 2024-02-19 at 2.10.30 PM.png
          136 kB
        12. Screenshot 2024-02-19 at 2.12.09 PM.png
          Screenshot 2024-02-19 at 2.12.09 PM.png
          636 kB
        13. Screenshot 2024-02-19 at 2.42.10 PM.png
          Screenshot 2024-02-19 at 2.42.10 PM.png
          2.89 MB
        14. Screenshot 2024-02-21 at 23.54.56.png
          Screenshot 2024-02-21 at 23.54.56.png
          3.75 MB
        15. Screenshot 2024-02-21 at 23.54.56-1.png
          Screenshot 2024-02-21 at 23.54.56-1.png
          3.75 MB
        16. VideoGraphicsItem Example.png
          VideoGraphicsItem Example.png
          956 kB
        17. VideoWidget Example.png
          VideoWidget Example.png
          451 kB
        18. yuv_triplanar_bt709.png
          yuv_triplanar_bt709.png
          597 kB
        For Gerrit Dashboard: QTBUG-113317
        # Subject Branch Project Status CR V

        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