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

QMediaPlayer goes black screen after EndOfMedia

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3, 6.6.0, 6.6.1
    • Multimedia
    • Linux/X11

    Description

      Note: this is a copy of my issue from the Qt for Python bug tracker, as it was mentioned by kleint that my issue was not related to the Python bindings, but rather the Qt library. However, I am not a C++ programmer and cannot provide a MWE easily. A basic example is your "Player Example" that showcases my problem.

      Hello,

      I am using PySide6 to play video slides one at a time. Each slide is thus a video, played with a QMediaPlayer.

      Before v6.5.3 (e.g., with 6.5.2), the video would end on the last frame, keeping in still until the next video is played.

      Starting with 6.5.3, the video goes black. To me, this is a bug because (1) this was not documented in the changelog, (2) a have some error message in the terminal, and (3) the result is pretty unpleasant. I put a video of "before" / "after" the 6.5.3 release, showing the "bug".

      The error message is:

      qt.multimedia.ffmpeg.libsymbolsresolver: Couldn't load VAAPI library
      [h264_cuvid @ 0x563e6d65e200] Invalid pkt_timebase, passing timestamps as-is.
      failed to get textures for frame; format: 117 textureConverter null

      Attachments

        1. after.webm
          1.04 MB
        2. before.webm
          520 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-118501
          # Subject Branch Project Status CR V

          Activity

            People

              artemiy Artem Dyomin
              jeertmans Jérome Eertmans
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews