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

QML MediaPlayer only reports position changes at 10hz

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P2: Important P2: Important
    • None
    • 6.2.1
    • Multimedia
    • None
    • Linux/X11

      It appears that the media player component only reports playback position changes every 100ms, regardless of the actual playback rate of the video.

      In our drone application, we have recordings that are 30 or 60fps, and we have built a 'session replay' feature wherein both video and system telemetry data are time synchronized and played back to produce a UI experience equivalent to when the drone was originally piloted.

      The problem is, we look up the nearest-neighbour telemetry data to the current video frame (as informed by the mediaPlayer.position value), but if this is only being reported at 10hz, then we are effectively skipping 6 samples when replaying a 60FPS recording session and 3 samples for 30fps.

      This leads to a situation where video playback is perfectly smooth at the given framerate, while the telemetry playback is choppy and no longer necessarily synchronized with the video frames.

      What we would expect is that the position is updated every single frame and correlates exactly to the presentation timestamp of the underlying video file.

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

            piotr Piotr Srebrny (Inactive)
            spiderkeys Charles Cross
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes