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

[FFmpeg] Warnings while playing a video with OpenGL RHI backend

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.1
    • 6.4.3, 6.5.0 RC
    • Multimedia
    • None
    • macOS Ventura 13.2.1
    • macOS

    Description

      There're warnings (spammed on each video frame) in debug output while playing a video using MediaPlayer and when OpenGL RHI is used as rendering backend.

      OpenGL texture creation failed -6683
      OpenGL texture creation failed -6683
      OpenGL texture creation failed -6683
      OpenGL texture creation failed -6683
      OpenGL texture creation failed -6683
      OpenGL texture creation failed -6683
      OpenGL texture creation failed -6683
      OpenGL texture creation failed -6683
      OpenGL texture creation failed -6683
      OpenGL texture creation failed -6683
      OpenGL texture creation failed -6683
      ...
      

      Can be reproduced at least on macOS, with standard QML Media Player example.
      You just need explicitly specify corresponding environment variables.

      QT_MEDIA_BACKEND=ffmpeg
      QSG_RHI_BACKEND=opengl
      

      Attachments

        Activity

          People

            artemiy Artem Dyomin
            studiosus Vladimir Belyavsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: