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

Unusable rtsp video playback (More than 90% of frames are dropped)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.3.1
    • 5.1.1, 5.2.1, 5.3.0 Beta1
    • Multimedia
    • None
    • Platform: imx6 (partly also Linux amd64)
      Qt version: 5.1.1 - 5.3.0 Beta 1 tested
      Video source: Axis network camera
    • 101dce7a2958c9b4cee2caa5b61e9c9ca86affcf

    Description

      When playing back RTSP streams on imx6 platfprm via QML MediaPlayer element, the playback is extremely bad:

      • Playback needs nearly 5 seconds to start
      • Playback drops about 90% of frames
      • Warning message on console output: Warning: "A lot of buffers are being dropped."

      When using a native gstreamer pipeline like this on the cmdline, playback starts after about 1 second and is close to perfect:

      gst-launch rtspsrc location=rtsp://axis-cam1/axis-media/media.amp ! decodebin2 ! mfw_v4lsink sync=false

      I can replicate the Qt5 bad playback somewhat partly when using *sync=true' on the videosink element (playback start is delayed several seconds and the warning appears, but frame drop is still somewhat better than in Qt).

      On a PC platform (Linux amd64) the effect is not so strong: Playback is also delayed several seconds and there are often hickups in the playback, but frame drop is rather something like 10% and not 90%.

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            neuer_user Michael B.
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes