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(Format): Populate audio language from captions when available #445

Merged
merged 1 commit into from
Jul 16, 2023

Conversation

absidue
Copy link
Collaborator

@absidue absidue commented Jul 16, 2023

For single audio track videos we currently don't have any language information, this pull request changes that to extract it from the audio track to caption mappsing that YouTube provides, when a video has captions. Additionally for videos with multiple audio tracks, this propagates the language of the default audio track to the non-DASH formats.

The goal of this pull request is to have the audio language available in a lot more situations, for videos with a single audio track without captions, it will still be unavailable unfortunately.

@LuanRT LuanRT merged commit bdd98a3 into LuanRT:main Jul 16, 2023
@absidue absidue deleted the language-from-captions branch July 16, 2023 20:54
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