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

MediaPlayer's position value becomes larger than the duration value.

    XMLWordPrintable

Details

    • Windows

    Description

      When I play the video (000_out.mp4) using the attached sample (liveWithVideoOutput), the value of the position property of MediaPlayer sometimes exceeds the value of the duration property.
      This phenomenon does not always occur, but it does occur when the video is played repeatedly.
      It also occurred on Windows 10, but not on Linux.

      The reproduced environment is as follows
      ・OS: Windows 10 64bit
      ・Qt: 5.15.5 msvc2019 64bit

      The reproduction procedure is as follows.
      [1] Build and run the sample. liveWithVideoOutput_20210927.zip
      [2] Wait for about 30 minutes.

      In addition, I checked the differences in the backend settings and found the following.
      ・When the backend is set to directshow, the symptom does not occur even after waiting for 13 hours.
       ※ I set it with qputenv("QT_MULTIMEDIA_PREFERRED_PLUGINS", "directshow")
      ・When set to windowsmediafoundation, the symptom occurs within a few minutes.

      Based on the above, there may be some problem in the process related to Windows MediaFoundation.
      Please investigate the cause.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtmultimediateam Qt Multimedia Team
              fuminori.matsubara Matsubara Fuminori
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes