dashdemux2: the seek operation takes a log time to finish for some streams which is tested by internal network
- The issue is caused by the data buffering time in adaptivedemux2.The actual data buffering time of dash stream need to be 30 seconds by default.The log is as below and reger to the attachment playbin3_dash_seek_slowly.logfor details.
- Maybe we can configure the buffering time in dashdemux2 according to the actual stream by recommended_buffering_threshold?
- Would it be better to lower the DEFAULT_MAX_BUFFERING_TIME(30 seconds) and DEFAULT_BUFFERING_HIGH_WATERMARK_TIME(30 seconds) in adaptivedemux2?
Line 108315: 0:00:08.330085500 32022 0xaaab0cda4b00 DEBUG basesink gstbasesink.c:5767:gst_base_sink_change_state:<audiosink-actual-sink-pulse> PLAYING to PAUSED
Line 108318: 0:00:08.330173000 32022 0xaaab0cda4b00 DEBUG basesink gstbasesink.c:5789:gst_base_sink_change_state:<audiosink-actual-sink-pulse> PLAYING to PAUSED, we are prerolled
Line 108320: 0:00:08.330644750 32022 0xaaab0cda4b00 DEBUG basesink gstbasesink.c:5767:gst_base_sink_change_state:<videosink-actual-sink-wayland> PLAYING to PAUSED
Line 108324: 0:00:08.330810125 32022 0xaaab0cda4b00 DEBUG basesink gstbasesink.c:5797:gst_base_sink_change_state:<videosink-actual-sink-wayland> PLAYING to PAUSED, we are not prerolled
Line 108333: 0:00:08.331297625 32022 0xaaab0cda4b00 DEBUG streamsynchronizer gststreamsynchronizer.c:1091:gst_stream_synchronizer_change_state:<streamsynchronizer0> State change PLAYING->PAUSED
Line 108335: 0:00:08.331325250 32022 0xffff60009b60 DEBUG basesink gstbasesink.c:1707:gst_base_sink_commit_state:<videosink-actual-sink-wayland> committing state to PAUSED
Line 108336: 0:00:08.331380500 32022 0xffff60009b60 DEBUG basesink gstbasesink.c:1732:gst_base_sink_commit_state:<videosink-actual-sink-wayland> posting PAUSED state change message
Line 108520: 0:00:08.338739500 32022 0xaaab0cda4b00 DEBUG gst-play gstplay.c:1293:state_changed_cb:<play0> Changed state old: PLAYING new: PAUSED pending: VOID_PENDING
Line 108522: 0:00:08.338784250 32022 0xaaab0cda4b00 DEBUG gst-play gstplay.c:1366:state_changed_cb:<play0> Seeking now that we reached PAUSED state
Line 108577: 0:00:08.340940750 32022 0xffff70004240 LOG multiqueue gstmultiqueue.c:2482:gst_multi_queue_loop:<multiqueue0:queue_0> task paused, reason:flushing
Line 108627: 0:00:08.343391500 32022 0xffff8000acc0 LOG multiqueue gstmultiqueue.c:2823:gst_multi_queue_sink_event:<multiqueue0:queue_1> Exit because task paused, reason: flushing
Line 108811: 0:00:08.356583875 32022 0xaaab0cda4b00 DEBUG gst-play gstplay.c:1293:state_changed_cb:<play0> Changed state old: PAUSED new: PAUSED pending: PAUSED
Line 152111: 0:00:11.023236750 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 154157: 0:00:12.028172375 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 156945: 0:00:13.030719500 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 159953: 0:00:14.033660250 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 166791: 0:00:15.037316625 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 175940: 0:00:16.039407875 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 186670: 0:00:17.035350000 32022 0xffff60009920 DEBUG basesink gstbasesink.c:1707:gst_base_sink_commit_state:<audiosink-actual-sink-pulse> committing state to PAUSED
Line 186671: 0:00:17.035406500 32022 0xffff60009920 DEBUG basesink gstbasesink.c:1732:gst_base_sink_commit_state:<audiosink-actual-sink-pulse> posting PAUSED state change message
Line 186839: 0:00:17.041666875 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 186855: 0:00:17.042097625 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 186998: 0:00:17.048172250 32022 0xffff60009b60 DEBUG basesink gstbasesink.c:1707:gst_base_sink_commit_state:<videosink-actual-sink-wayland> committing state to PAUSED
Line 186999: 0:00:17.048198875 32022 0xffff60009b60 DEBUG basesink gstbasesink.c:1732:gst_base_sink_commit_state:<videosink-actual-sink-wayland> posting PAUSED state change message
Line 187006: 0:00:17.048412875 32022 0xaaab0cda4b00 DEBUG gst-play gstplay.c:1293:state_changed_cb:<play0> Changed state old: PAUSED new: PAUSED pending: VOID_PENDING
Line 187016: 0:00:17.048616125 32022 0xaaab0cda4b00 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 187032: 0:00:17.049009750 32022 0xaaab0cda4b00 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 187052: 0:00:17.049542250 32022 0xaaab0cda4b00 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 187064: 0:00:17.049806250 32022 0xaaab0cda4b00 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 194567: 0:00:18.043869500 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 194573: 0:00:18.044150625 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 197974: 0:00:19.045861750 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 197988: 0:00:19.046537750 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 200745: 0:00:20.048306250 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 200755: 0:00:20.048586500 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 204034: 0:00:21.051064000 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 204040: 0:00:21.051252875 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 207168: 0:00:22.053750750 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 207174: 0:00:22.053993750 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 210229: 0:00:23.055651250 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 210235: 0:00:23.055838000 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 213039: 0:00:24.057916375 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 213045: 0:00:24.058216125 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 216451: 0:00:25.060724125 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 216457: 0:00:25.060986750 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 219871: 0:00:26.064483750 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 219877: 0:00:26.064682875 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 223316: 0:00:27.068635000 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 223326: 0:00:27.069534875 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 226386: 0:00:28.072076250 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<audiosink-actual-sink-pulse> in paused, using start time 0:00:00.000000000
Line 226392: 0:00:28.072261250 32022 0xaaab0cda4b60 DEBUG basesink gstbasesink.c:5206:gst_base_sink_get_position:<videosink-actual-sink-wayland> in paused, using start time 0:00:00.000000000
Line 228839: 0:00:28.796323000 32022 0xaaab0cda4b00 DEBUG basesink gstbasesink.c:5715:gst_base_sink_change_state:<audiosink-actual-sink-pulse> PAUSED to PLAYING, don't need preroll
Line 228852: 0:00:28.797287250 32022 0xaaab0cda4b00 DEBUG basesink gstbasesink.c:5715:gst_base_sink_change_state:<videosink-actual-sink-wayland> PAUSED to PLAYING, don't need preroll
Line 228941: 0:00:28.801798000 32022 0xaaab0cda4b00 DEBUG gst-play gstplay.c:1293:state_changed_cb:<play0> Changed state old: PAUSED new: PLAYING pending: VOID_PENDING
Edited by elliot chen