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

feat(toDash): Add option to include WebVTT or TTML captions #673

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

absidue
Copy link
Collaborator

@absidue absidue commented Jun 24, 2024

By default no captions get included in the DASH manifest, however if the video has captions, the developer can ask for them to be included by setting the new captions_format option to either vtt or ttml depending on which format they would like.
To avoid making extra requests, this hardcodes the bandwidth/bitrate of the text adaptation sets to 0.

I tested that this works with shaka-player, I haven't tested it with any other players.

@LuanRT LuanRT merged commit bd9f6ac into LuanRT:main Jun 25, 2024
4 checks passed
@absidue absidue deleted the dash-captions branch June 25, 2024 04:24
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.

2 participants