[Webkit-unassigned] [Bug 251771] Overlapping VTTCues carried by InbandTextTrack (LegibleOutput) does not handle correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 8 23:37:59 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=251771
--- Comment #3 from Taichiro Ishikawa <taichiro.ishikawa at play.jp> ---
I also raised feedback in Feedback Assistant. (https://feedbackassistant.apple.com/feedback/11985197).
And, add another sample stream. describe current webkit behavior below.
https://taichiro-ishikawa-play.github.io/hls-sample-stream/multiple-cue-for-webkit2/master.m3u8
Original VTT Content in sample HLS VTT Fragment:
VTTCue[0]: text="line 1 (0)", startTime=0, endTime=2
VTTCue[1]: text="line 2 (1)", startTime=0, endTime=2
VTTCue[2]: text="line 1 (2)", startTime=2, endTime=4
VTTCue[3]: text="line 2 (3)", startTime=2.5, endTime=3.5
VTTCue[4]: text="line 3 (4)", startTime=3, endTime=4
Current webkit HLS TextTrack VTTCue result:
VTTCue[0]: text="line 1 (0)", startTime=0, endTime=2
VTTCue[1]: text="line 2 (1)", startTime=1.9996666666666667, endTime=2.4996666666666667
VTTCue[2]: text="line 1 (2)", startTime=2.4996666666666667, endTime=2.9996666666666667
VTTCue[3]: text="line 1 (2)", startTime=2.9996666666666667, endTime=3.4996666666666667
VTTCue[4]: text="line 2 (3)", startTime=3.4996666666666667, endTime=3.9996666666666667
VTTCue[5]: text="line 1 (2)", startTime=3.9996666666666667, endTime=3.9996666666666667
It is not same as Original VTT Content.
Because InbandTextTrackPrivateAVF::processNativeSamples handles only first vttc atom in legibleoutput callback.
Patched webkit HLS TextTrack VTTCue result:
VTTCue[0]: text="line 1 (0)", startTime=0, endTime=2
VTTCue[1]: text="line 2 (1)", startTime=0, endTime=2
VTTCue[2]: text="line 1 (2)", startTime=1.9996666666666667, endTime=2.4996666666666667
VTTCue[3]: text="line 1 (2)", startTime=2.4996666666666667, endTime=2.9996666666666667
VTTCue[4]: text="line 2 (3)", startTime=2.4996666666666667, endTime=2.9996666666666667
VTTCue[5]: text="line 1 (2)", startTime=2.9996666666666667, endTime=3.4996666666666667
VTTCue[6]: text="line 2 (3)", startTime=2.9996666666666667, endTime=3.4996666666666667
VTTCue[7]: text="line 3 (4)", startTime=2.9996666666666667, endTime=3.4996666666666667
VTTCue[8]: text="line 1 (2)", startTime=3.4996666666666667, endTime=3.9996666666666667
VTTCue[9]: text="line 3 (4)", startTime=3.4996666666666667, endTime=3.9996666666666667
It is fragmented, so concatenate, it same as Original VTT Content.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230209/e653ff78/attachment.htm>
More information about the webkit-unassigned
mailing list