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

QtMultimedia video very slow first ~20 secounds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.9.3
    • Multimedia
    • None
    • linux, egl, etnaviv, qt 5.9.3, i.MX6

      Playing a video by QtMultimedia and gstreamer and its plugin v4l2video9dec0 (VPU hw-accelerated decoding) results in a very slow and stuttering playback for the first ~20 secounds.

      Testing the gstreamer path:

      $ gst-launch-1.0 playbin uri=file:///tmp/out.avi

       works fine.

      So the only difference is the final sink, in QtMultimedia it's qgstvideorenderersink and with gst-launch-1.0 it's kmssink.

      So: kmssink is and qgstvideorenderersink is .

      By digging a bit deeper, I added some debug calls and timestamps to generate the attached logfile log.txt.

      While video is blocked, CPU usage is 0%, when video plays it's ~ 60%

      So it seems like a loking issue.

      Any ideas?

       

        1. gst_kmssink.log
          297 kB
        2. log.txt
          183 kB
        3. qgstsink.log
          325 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            valentyn.doroshchuk Valentyn Doroshchuk
            ccff Christoph Fritz
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes