-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
TTML PNG image captions scaled differently due to regions straddling segment boundaries #4839
Comments
I now understand the problem and why it regressed when it did. Captions straddle the fixed segment boundary In v4.1.3 a code change for dealing with regions regressed by letting what it believed were uniquely named regions linger for re-use. |
I am working on a fix |
Captions split over stream segment boundaries are repeated over more than one segment. Regions in which they sit maybe described the same but allocated different ids and vice versa. Proposal to treat internal region ids uniqely by encoding the dimensions in the id. fixes #4839
Captions split over stream segment boundaries are repeated over more than one segment. Regions in which they sit maybe described the same but allocated different ids and vice versa. Proposal to treat internal region ids uniqely by encoding the dimensions in the id. fixes #4839
Captions split over stream segment boundaries are repeated over more than one segment. Regions in which they sit maybe described the same but allocated different ids and vice versa. Proposal to treat internal region ids uniqely by encoding the dimensions in the id. fixes #4839
Captions split over stream segment boundaries are repeated over more than one segment. Regions in which they sit maybe described the same but allocated different ids and vice versa. Proposal to treat internal region ids uniqely by encoding the dimensions in the id. fixes #4839
Captions split over stream segment boundaries are repeated over more than one segment. Regions in which they sit maybe described the same but allocated different ids and vice versa. Proposal to treat internal region ids uniqely by encoding the dimensions in the id. fixes #4839
Captions split over stream segment boundaries are repeated over more than one segment. Regions in which they sit maybe described the same but allocated different ids and vice versa. Proposal to treat internal region ids uniqely by encoding the dimensions in the id. fixes shaka-project#4839
Have you read the FAQ and checked for duplicate open issues?
Yes
What link can we use to reproduce this?
https://v4-3-1-dot-shaka-player-demo.appspot.com/demo/#audiolang=en;textlang=sv;uilang=en;asset=https://otvplayer.nagra.com/demo/content/shakaPlayer/otvpl-3672/otvpl-3672-shorter.mpd;panel=CUSTOM%20CONTENT;build=uncompiled
What version of Shaka Player are you using?
v4.3.1-uncompiled
What browser and OS are you using?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
What did you do?
Play the stream
Enable captions.
If necessary scrub back and forth between 00:00:06:26 & 00:00:07:29
Pay attention to the size of the PNG subtitles.
What did you expect to happen?
Consistent size and no gap (absence) between the cues showing the same PNG for time range.
What actually happened?
Image shown scaled at different sizes during its time span.
Analysis so far:
Images that appear in more than one consecutive segment are defined in equivalent but differently labelled regions.
As time progresses the earlier version of the label will be replaced but may linger around in the DOM and hence affect scaling of images.
History: works well in 4.1.2 but has regressed since, 4.3.1 worsens as we seem gaps of no captions in the timeline.
The text was updated successfully, but these errors were encountered: