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

QMediaPlayer goes black screen after EndOfMedia

XMLWordPrintable

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

      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

        1. after.webm
          1.04 MB
        2. before.webm
          520 kB
        For Gerrit Dashboard: QTBUG-118501
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes