Segmented VTT - absolute or relative timestamps?
See original GitHub issueWebVTT segments are not syncing properly with live streams because they are not accounting for the segmentStartTime
. The first cue in each segment starts at 00:00:00.000
so the segmentStartTime
needs to be used to offset each segment properly.
Issue Analytics
- State:
- Created 7 years ago
- Comments:21 (21 by maintainers)
Top Results From Across the Web
Segmented VTT - absolute or relative timestamps? · Issue #480
#481 has more discussion. It seems that it's unclear whether VTT timestamps are supposed to be absolute of relative.
Read more >Absolute vs. Relative Timestamps: When to Use Which
Absolute timestamps include a date and time. Displaying both inline with a relative timestamp can take up a lot of space. You can...
Read more >WebVTT in live streams | Apple Developer Forums
I'm trying to understand what will be the correct way to signal X-TIMESTAMP-MAP in live streams. For VoD (e.g. manifests with EXT-X-ENDLIST), I...
Read more >draft-pantos-http-live-streaming-22 - IETF Datatracker
If a WebVTT segment does not have the X-TIMESTAMP-MAP, the client MUST assume ... Any relative URI is considered to be relative to...
Read more >WebVTT for subtitles and captions - Adobe Support
A WebVTT file is segmented according to the specified duration. ... The URLs can be absolute or relative. When a request for a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sure, that could work. If we introduce a setting for this, we could even put it into v2.0.x (default to current behavior, warn about impending deprecation when used). Then in v2.1.0 we could just remove the setting.
@sandersaares Thank you for pointing me in the right direction, I had not read that.
In that section (DASH-IF IOP 6.4.5) it says:
According to this it looks like Shaka should be ignoring the
presentationTimeOffset
if its present. And if I am reading it correctly this is actually independent of the issue of relative timestamps.@joeyparrish does this look correct to you? I can open an separate issue for this and likely provided a PR.