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

Media Player stream gets stopped with these errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.1, 6.7.2, 6.8.0
    • Multimedia
    • None
    • Windows
    • Multimedia wk 35-38

    Description

      To reproduce the bug play an online media with MediaPlayerExample and start seeking the playback multiple times. suddenly playback stops.

      I've added two lines to the media player example to show State changes on seeking:

      onPlaybackStateChanged: {
          console.log("onPlaybackStateChanged ", mediaPlayer.playbackState)
      } 
      
      onMediaStatusChanged: {
          console.log("onMediaStatusChanged ", mediaPlayer.mediaStatus)
      } 

      Application Output:

      qml: onMediaStatusChanged  1
      qml: onMediaStatusChanged  2
      qml: onPlaybackStateChanged  1
      qml: onMediaStatusChanged  4
      qml: onPlaybackStateChanged  0
      qml: onMediaStatusChanged  2
      [mov,mp4,m4a,3gp,3g2,mj2 @ 000001D321477140] Packet corrupt (stream = 0, dts = 451000).
      [NULL @ 000001D321A84900] Invalid NAL unit size (36391 > 22091).
      [NULL @ 000001D321A84900] missing picture in access unit with size 22101
      [tls @ 000001D321D0BD40] Failed to send close message
      qml: onMediaStatusChanged  1
      mime type is not rfc8216 compliant
      [hls @ 000001D3224207C0] Skip ('#EXT-X-VERSION:6')
      [hls @ 000001D3224207C0] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/0/0/540x540/czzWF90yf8a7wuts.mp4' for reading
      [hls @ 000001D3224207C0] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/0/3000/540x540/PuFwMqyxqaNARE3n.m4s' for reading
      [hls @ 000001D3224207C0] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/3000/6000/540x540/iQ8q1k0QCsNr1et3.m4s' for reading
      qt.multimedia.ffmpeg.mediadataholder: AVStream duration -9223372036854775808 is invalid. Taking it from the metadata
      qml: onMediaStatusChanged  2
      qml: onPlaybackStateChanged  1
      qml: onMediaStatusChanged  4
      [hls @ 000001D3224207C0] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/0/0/540x540/czzWF90yf8a7wuts.mp4' for reading
      [hls @ 000001D3224207C0] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/0/3000/540x540/PuFwMqyxqaNARE3n.m4s' for reading
      [hls @ 000001D3224207C0] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/3000/6000/540x540/iQ8q1k0QCsNr1et3.m4s' for reading
      [https @ 000001D327F93780] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/6000/9000/540x540/ZcjVc3_N1jVmjfiz.m4s' for reading
      [https @ 000001D32D8CEDC0] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/9000/12000/540x540/v-l4W2ccdWQU6rif.m4s' for reading
      qml: onMediaStatusChanged  5
      [https @ 000001D327F93780] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/12000/15000/540x540/Ulk_BR-Ir6dOI8eZ.m4s' for reading
      qml: onMediaStatusChanged  2
      [hls @ 000001D3224207C0] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/0/0/540x540/czzWF90yf8a7wuts.mp4' for reading
      [hls @ 000001D3224207C0] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/12000/15000/540x540/Ulk_BR-Ir6dOI8eZ.m4s' for reading
      [hls @ 000001D3224207C0] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/15000/18000/540x540/Y7I9e4VIYsSNjelY.m4s' for reading
      [https @ 000001D327F93780] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/18000/21000/540x540/fFiTOZTYCzP006My.m4s' for reading
      [https @ 000001D322602700] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/21000/24000/540x540/-F7UqBS4Jt5tqb-e.m4s' for reading
      [NULL @ 000001D327F9A100] Invalid NAL unit size (441216092 > 3422).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 3426
      [NULL @ 000001D327F9A100] Invalid NAL unit size (1288624777 > 3270).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 3274
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-1464484254 > 4943).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 4947
      [NULL @ 000001D327F9A100] Invalid NAL unit size (1536005188 > 4003).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 4007
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-2138387599 > 2767).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 2771
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-440173506 > 2890).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 2894
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-58949072 > 3953).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 3957
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-2028598411 > 5766).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 5770
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-899917757 > 3697).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 3701
      [NULL @ 000001D327F9A100] Invalid NAL unit size (1184704992 > 2798).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 2802
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-1905230161 > 2680).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 2684
      [NULL @ 000001D327F9A100] Invalid NAL unit size (669162611 > 3797).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 3801
      [NULL @ 000001D327F9A100] Invalid NAL unit size (123256373 > 5955).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 5959
      [NULL @ 000001D327F9A100] Invalid NAL unit size (2038218311 > 4298).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 4302
      [NULL @ 000001D327F9A100] Invalid NAL unit size (764875122 > 2991).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 2995
      [NULL @ 000001D327F9A100] Invalid NAL unit size (966072605 > 2511).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 2515
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-199538916 > 6639).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 6643
      [NULL @ 000001D327F9A100] Invalid NAL unit size (1065835936 > 5127).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 5131
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-548916215 > 3047).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 3051
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-807073216 > 2878).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 2882
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-1272276501 > 6713).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 6717
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-14946067 > 4884).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 4888
      [NULL @ 000001D327F9A100] Invalid NAL unit size (1328283480 > 3263).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 3267
      [NULL @ 000001D327F9A100] Invalid NAL unit size (44782173 > 3263).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 3267
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-1255120018 > 7074).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 7078
      [https @ 000001D327F93780] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/24000/27000/540x540/zXDYLBnaLzEURg7L.m4s' for reading
      [NULL @ 000001D327F9A100] Invalid NAL unit size (1025721089 > 5872).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 5876
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-936278336 > 3227).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 3231
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-1493950055 > 3210).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 3214
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-519379679 > 5152).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 5156
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-204994797 > 7089).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 7093
      [NULL @ 000001D327F9A100] Invalid NAL unit size (858677988 > 4061).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 4065
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-1920118978 > 2866).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 2870
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-196975243 > 4945).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 4949
      [NULL @ 000001D327F9A100] Invalid NAL unit size (1562535933 > 4574).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 4578
      [NULL @ 000001D327F9A100] Invalid NAL unit size (-737769960 > 2493).
      [NULL @ 000001D327F9A100] missing picture in access unit with size 2497
      [https @ 000001D322602700] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/27000/30000/540x540/5sBX-NCpXA2oSukN.m4s' for reading
      [https @ 000001D327F93780] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/30000/33000/540x540/JbUHp_oHtew_TMHn.m4s' for reading
      [https @ 000001D322602700] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/33000/36000/540x540/zOOvn6mZWVa5OpXF.m4s' for reading
      [https @ 000001D327F93780] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/36000/39000/540x540/fnwkgrmVhFumgSVi.m4s' for reading
      [https @ 000001D322602700] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/39000/42000/540x540/Knmgvj0hBUyfLCpp.m4s' for reading
      [https @ 000001D327F93780] Opening 'https://video.twimg.com/ext_tw_video/1803370758908911616/pu/vid/avc1/42000/46080/540x540/O5jxNpFVX-sGij73.m4s' for reading
      qml: onPlaybackStateChanged  0
      qml: onMediaStatusChanged  6 

      Attachments

        1. 126557.mp4
          3.99 MB
        2. image-2024-06-20-20-01-38-460.png
          image-2024-06-20-20-01-38-460.png
          37 kB
        3. image-2024-07-17-18-22-00-464.png
          image-2024-07-17-18-22-00-464.png
          31 kB
        4. image-2024-08-22-13-28-31-465.png
          image-2024-08-22-13-28-31-465.png
          3 kB
        5. testApp.zip
          2 kB

        Issue Links

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

          Activity

            People

              qtmultimediateam Qt Multimedia Team
              spfl97 Dawn Walker
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes