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

[BUG] Dash Timed Text Track Overlap Issue #1223

Open
merkleresearch opened this issue Apr 1, 2024 · 3 comments
Open

[BUG] Dash Timed Text Track Overlap Issue #1223

merkleresearch opened this issue Apr 1, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@merkleresearch
Copy link

merkleresearch commented Apr 1, 2024

Current Behavior:

When using the Dash Provider to display timed text tracks, there is an unexpected behavior where two div elements of the text are shown simultaneously for a brief moment at the beginning of the video. This issue occurs specifically during the transition from the first text segment ("Morning!") to the second. Instead of displaying a single div for the text and then seamlessly transitioning to the next segment, both segments are displayed at once, leading to a cluttered text display.

Expected Behavior:

The expected behavior is for the Dash Provider to display only one div of text at a time, similar to how it operates with HLS and native dash.js implementations. The text display should smoothly transition from one segment to the next without simultaneously showing two text segments.

Steps To Reproduce:

VTT Example

00:00.590 --> 00:01.530
Morning!

00:01.530 --> 00:02.270
Morning!

Rendered example
Screenshot 2024-04-01 at 23 16 40

@merkleresearch merkleresearch added the bug Something isn't working label Apr 1, 2024
@merkleresearch
Copy link
Author

@mihar-22 Any idea please how can I fix it?

@JimmyLv
Copy link

JimmyLv commented Jul 15, 2024

@merkleresearch hi what I really want to know is, is it possible to display two text tracks at the same time? Because I want to display two subtitles for bilingual translation at the same time, and display them in different styles.

@merkleresearch
Copy link
Author

it's not bilingual transaction, it's a just bug in the way it's displayed

`00:00.590 --> 00:01.530
Morning!

00:01.530 --> 00:02.270
Morning!`

For your issue I recommend using a server side solution that will merge 2 subtitles with one and avoid the time loss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants