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

[gstreamer] audio starts late

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.8
    • Multimedia
    • Linux/X11
    • Multimedia Wk7

    Description

      when playing back an video file via the `player` example, the audio stream starts around 3 seconds after the video.

      gst_audio_base_sink_skew_slaving messages after startup:

      "player: qt.multimedia.player -     Got tags:  taglist, video-codec=(string)"H.264\ \(Main\ Profile\)", language-code=(string)en, bitrate=(uint)2889487, minimum-bitrate=(uint)605184, maximum-bitrate=(uint)8484288;"
      0:00:12.686116962 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.116398056 < -+0:00:00.020000000
      "player: qt.multimedia.player - received bus message: tag, Source: audiosink, Timestamp: 18446744073709551615"
      "player: qt.multimedia.player -     Got tags:  taglist, audio-codec=(string)"MPEG-4\ AAC", maximum-bitrate=(uint)448000, bitrate=(uint)448000, language-code=(string)en, minimum-bitrate=(uint)354750;"
      0:00:12.686231657 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.112397114 < -+0:00:00.020000000
      0:00:12.686311839 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.108884718 < -+0:00:00.020000000
      "player: qt.multimedia.player - received bus message: tag, Source: audiosink, Timestamp: 18446744073709551615"
      0:00:12.686342948 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.105482059 < -+0:00:00.020000000
      "player: qt.multimedia.player -     Got tags:  taglist, audio-codec=(string)"MPEG-4\ AAC", maximum-bitrate=(uint)448000, bitrate=(uint)448000, language-code=(string)en, minimum-bitrate=(uint)345749;"
      0:00:12.686365789 92777 0x7fff98004440 WARN                   pulse pulsesink.c:704:gst_pulsering_stream_underflow_cb:<audiosink> Got underflow
      0:00:12.686387631 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.102185327 < -+0:00:00.020000000
      "player: qt.multimedia.player - received bus message: tag, Source: audiosink, Timestamp: 18446744073709551615"
      "player: qt.multimedia.player -     Got tags:  taglist, audio-codec=(string)"MPEG-4\ AAC", maximum-bitrate=(uint)448000, bitrate=(uint)448000, language-code=(string)en, minimum-bitrate=(uint)343125;"
      0:00:12.686473716 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.098992450 < -+0:00:00.020000000
      "player: qt.multimedia.player - received bus message: tag, Source: audiosink, Timestamp: 18446744073709551615"
      "player: qt.multimedia.player -     Got tags:  taglist, audio-codec=(string)"MPEG-4\ AAC", maximum-bitrate=(uint)448000, bitrate=(uint)448000, language-code=(string)en, minimum-bitrate=(uint)341625;"
      0:00:12.686561409 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.095901687 < -+0:00:00.020000000
      0:00:12.686631024 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.092906977 < -+0:00:00.020000000
      0:00:12.686686933 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.090005327 < -+0:00:00.020000000
      0:00:12.686724523 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.087193889 < -+0:00:00.020000000
      0:00:12.686783505 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.084469599 < -+0:00:00.020000000
      0:00:12.686835147 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.081829916 < -+0:00:00.020000000
      0:00:12.686870292 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.079272745 < -+0:00:00.020000000
      0:00:12.686903314 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.076795468 < -+0:00:00.020000000
      0:00:12.686956916 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.074395623 < -+0:00:00.020000000
      0:00:12.687025906 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.072070742 < -+0:00:00.020000000
      0:00:12.687092277 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.069818519 < -+0:00:00.020000000
      0:00:12.687160666 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.067636700 < -+0:00:00.020000000
      0:00:12.687199063 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.065523052 < -+0:00:00.020000000
      0:00:12.687237410 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.063475443 < -+0:00:00.020000000
      0:00:12.687273509 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.061491849 < -+0:00:00.020000000
      0:00:12.687305458 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.059570239 < -+0:00:00.020000000
      0:00:12.687337591 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.057708644 < -+0:00:00.020000000
      0:00:12.687392922 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.055905274 < -+0:00:00.020000000
      0:00:12.687441204 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.054158227 < -+0:00:00.020000000
      0:00:12.687490342 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.052465790 < -+0:00:00.020000000
      0:00:12.687540757 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.050826216 < -+0:00:00.020000000
      0:00:12.687593242 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.049237912 < -+0:00:00.020000000
      0:00:12.687638406 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.047699232 < -+0:00:00.020000000
      0:00:12.687694436 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.046208636 < -+0:00:00.020000000
      0:00:12.687757410 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.044764617 < -+0:00:00.020000000
      0:00:12.687806134 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.043365712 < -+0:00:00.020000000
      0:00:12.687858680 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.042010524 < -+0:00:00.020000000
      0:00:12.687904653 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.040697703 < -+0:00:00.020000000
      0:00:12.687948933 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.039425887 < -+0:00:00.020000000
      0:00:12.687998433 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.038193847 < -+0:00:00.020000000
      0:00:12.688045733 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.037000278 < -+0:00:00.020000000
      0:00:12.688091430 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.035844010 < -+0:00:00.020000000
      0:00:12.688141281 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.034723907 < -+0:00:00.020000000
      0:00:12.688184931 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.033638773 < -+0:00:00.020000000
      0:00:12.688237797 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.032587567 < -+0:00:00.020000000
      0:00:12.688287932 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.031569212 < -+0:00:00.020000000
      0:00:12.688468867 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.030582628 < -+0:00:00.020000000
      0:00:12.688537914 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.029626943 < -+0:00:00.020000000
      0:00:12.688586632 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.028701120 < -+0:00:00.020000000
      0:00:12.688630048 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.027804208 < -+0:00:00.020000000
      0:00:12.688668882 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.026935331 < -+0:00:00.020000000
      0:00:12.688717973 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.026093608 < -+0:00:00.020000000
      0:00:12.688752356 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.025278166 < -+0:00:00.020000000
      0:00:12.688788450 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.024488221 < -+0:00:00.020000000
      0:00:12.688822755 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.023722978 < -+0:00:00.020000000
      0:00:12.688856228 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.022981647 < -+0:00:00.020000000
      0:00:12.688890755 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.022263454 < -+0:00:00.020000000
      0:00:12.688925308 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.021567711 < -+0:00:00.020000000
      0:00:12.688960213 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.020893720 < -+0:00:00.020000000
      0:00:12.688993278 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.020240790 < -+0:00:00.020000000
      0:00:12.689054064 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.038603802 < -+0:00:00.020000000
      0:00:12.689115576 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.036228752 < -+0:00:00.020000000
      0:00:12.689175781 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.033999846 < -+0:00:00.020000000
      0:00:12.689239764 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.031907664 < -+0:00:00.020000000
      0:00:12.689274565 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.029944978 < -+0:00:00.020000000
      0:00:12.689357905 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.028102653 < -+0:00:00.020000000
      0:00:12.689450733 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.026373687 < -+0:00:00.020000000
      0:00:12.689515467 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.024751115 < -+0:00:00.020000000
      0:00:12.689579895 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.023228323 < -+0:00:00.020000000
      0:00:12.689652150 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.021799209 < -+0:00:00.020000000
      0:00:12.689702810 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.020458076 < -+0:00:00.020000000
      0:00:12.689812901 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.028351525 < -+0:00:00.020000000
      0:00:12.689894533 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.025775771 < -+0:00:00.020000000
      0:00:12.689972504 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.023434036 < -+0:00:00.020000000
      0:00:12.694401798 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.021304944 < -+0:00:00.020000000
      0:00:12.694464613 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.025426592 < -+0:00:00.020000000
      0:00:12.694507288 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.022394075 < -+0:00:00.020000000
      0:00:12.694585130 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.024275156 < -+0:00:00.020000000
      0:00:12.694671355 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.020711806 < -+0:00:00.020000000
      0:00:12.694763101 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.020881745 < -+0:00:00.020000000
      0:00:12.694843725 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.022320189 < -+0:00:00.020000000
      0:00:12.694944957 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.020997492 < -+0:00:00.020000000
      0:00:12.695082176 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.020164354 < -+0:00:00.020000000
      0:00:12.695748825 92777 0x7fff98004440 WARN                   pulse pulsesink.c:704:gst_pulsering_stream_underflow_cb:<audiosink> Got underflow
      0:00:12.695762716 92777 0x7fff7001f5e0 WARN           audiobasesink gstaudiobasesink.c:1502:gst_audio_base_sink_skew_slaving:<audiosink> correct clock skew -0:00:00.020246354 < -+0:00:00.020000000
      

      the gstreamer/alsa backend works fine

      Attachments

        Issue Links

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

          Activity

            People

              timblechmann tim blechmann
              timblechmann tim blechmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes