New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting the minimum ID3 cue length to 0.25 seconds breaks frame metadata use case #2963
Comments
So the underlying reason for the original PR as explained to me was that the TextTrack events would sometimes not fire because the ID3 tags had such short durations they were never part of the @bxthomas it would be useful to know, what are you using to detect the active ID3 tag on the web platform for ones where your needing sample level accuracy so we can make sure to test that in the future (include a unit test) where the current time doesn't advance at sample-level accuracy. As a follow-up based on that, I'm curious if having two properties, a "realDuration" and a fake "duration" intended for the web API to enable "cuechange" based usage would be nice, or if @bxthomas simply has a better answer 👍 |
In this case, it was always with cues found on the last sample, where cue duration was being set to
I would like to know more as well. For now though I am happy to provide a patch that should work for either use-case with #2964. |
Hi all, I'll answer for Brian. Our use case is that we send frame metadata in ID3 tags (e.g. timecode). And then we do not use |
Thank you @bxthomas and @tpaszun for creating this issue and providing feedback. Please let me know if this build https://deploy-preview-2964--hls-js-dev.netlify.app/demo/ of #2964 addresses this issue. I will cut a patch once confirmed. Thanks! |
* patch/v0.14.x: Only apply minimum ID3 cue duration when cue has none resolves #2963
* upstream_hls.js/master: Bump @types/mocha from 8.0.2 to 8.0.3 Bump netlify-cli from 2.59.0 to 2.59.1 Bump @types/mocha from 8.0.1 to 8.0.2 Fix demo buffer-bar scaling and repaint issues Bump sinon from 9.0.2 to 9.0.3 Bump @babel/core from 7.11.0 to 7.11.1 Bump mocha from 8.1.0 to 8.1.1 Only apply minimum ID3 cue duration when cue has none resolves video-dev#2963
* release: Bump @types/mocha from 8.0.2 to 8.0.3 Bump netlify-cli from 2.59.0 to 2.59.1 Bump @types/mocha from 8.0.1 to 8.0.2 Fix demo buffer-bar scaling and repaint issues Bump sinon from 9.0.2 to 9.0.3 Bump @babel/core from 7.11.0 to 7.11.1 Bump mocha from 8.1.0 to 8.1.1 Only apply minimum ID3 cue duration when cue has none resolves video-dev#2963
PR #2951, introduced a minimum ID3 cue length of 0.25 seconds. However, ID3 tags can be used to hold user metadata that may describe data specific to a particular video frame. By imposing this artificial limitation, we can no longer correlate ID3 cues to video frames, and this breaks useful functionality.
The text was updated successfully, but these errors were encountered: