Skip to content
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

Fix blinking cues when segmented over multiple segments or chunks #4103

Merged

Conversation

bbert
Copy link
Contributor

@bbert bbert commented Jan 2, 2023

This PR fixes an issue in case a same cue is segmented over consecutive segments or chunks.
In this case, we have multiple consecutive cues but with same content, potentially leading to blinking effect.
This blinking effect is more observable with image subtitles. Here is a link to a sample stream which is a copy of the reference stream "[DASH-IF] IMSC1 (CMAF) Image Subtitles", but with cue "eng: 00:00:03" that is segmented over 2 segments:
https://broadpeak-tv.github.io/test-content/dash/imsc-image/imsc1_img.mpd

To fix this issue, the proposed solution is to update previous cue endTime, instead of a creating a new cue, when consecutive cues (endTime(N) === startTime(N+1)) contents are equal.

@dsilhavy
Copy link
Collaborator

dsilhavy commented Jan 3, 2023

Thanks @bbert . Can you please check against https://dash.akamaized.net/akamai/test/caption_test/ElephantsDream/elephants_dream_480p_heaac5_1_https.mpd . This seems to break with these changes as cues are extended that are not supposed to be extended.

Bildschirm­foto 2023-01-03 um 11 05 44

Bildschirm­foto 2023-01-03 um 11 05 48

@dsilhavy dsilhavy added this to the 4.6.0 milestone Jan 6, 2023
@dsilhavy dsilhavy merged commit f4d45c7 into Dash-Industry-Forum:development Jan 9, 2023
@dsilhavy
Copy link
Collaborator

From the dash.js call: @bbert to hide this behind a settings flag to overcome potential problems on LG devices

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants