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

Media Player bug on FFMPEG backend, position changes freeze the video after first loop

    XMLWordPrintable

Details

    • Windows

    Description

      Hi there,

       

      The attached project, works as expected on Qt 6.5.3, but it doesn't on Qt 6.5.4 onwards.

      If you have a MediaPlayer QML item with loops higher than one, after the player complete one loop (one reproduction of the whole video) any change on position makes the video freeze for short or long time (I guess depending on the video length).

       

      The demo app has a  "To End" button in case you can test with a long video, attached is also a short one with a big text on the last frame to be aware of it.

       

      To reproduce the bug, simply press "Choose video..." button to load a video, then wait until the end of press the "To End" button, after this press the "Set random pos" button and it will move the mediaplayer video to that position, in Qt 6.5.4 onwards it will produce the mentioned lag.

       

      Attachments

        1. image-2024-02-15-13-21-21-157.png
          13 kB
          Daniel Camba
        2. MediaPlayerBug.zip
          6.24 MB
          Daniel Camba

        Issue Links

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

          Activity

            People

              laknoll Lars Knoll
              cambalamas Daniel Camba
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes