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 the "dub" role to translated captions #677

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

absidue
Copy link
Collaborator

@absidue absidue commented Jun 28, 2024

You can ask YouTube to translate a caption track with machine translation by adding the tlang query parameter with your desired locale. This pull request adds to dub role to those caption tracks when adding them to the DASH manifest.

Unfortunately there doesn't seem to be a suitable role value in the urn:mpeg:dash:role:2011 scheme for auto-generated captions (kind=asr), so we don't currently have a way to tag those inside the DASH manifest, unless we want to create a custom scheme.

@LuanRT LuanRT merged commit 858cdd1 into LuanRT:main Jul 1, 2024
4 checks passed
@absidue absidue deleted the dash-caption-dub branch July 1, 2024 06:35
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