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(toDash): Fix default audio stream for dubbed movie trailers #858

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

absidue
Copy link
Collaborator

@absidue absidue commented Dec 26, 2024

Movie trailers usually only have the h264 and m4a streams. Dubbed movie trailers still only have that single itag 140 audio stream but have the audio_track property (with audio_is_default set to true) and xtags (with acont = dubbed) so when YouTube.js generates the DASH manifest for those trailers, it currently gives the audio stream the dub and alternate roles. This pull request fixes that so it gets the dub and main roles (so correctly labelling it as the default audio stream).

@LuanRT LuanRT merged commit 0054690 into LuanRT:main Dec 31, 2024
4 checks passed
@absidue absidue deleted the dubbed-trailers branch December 31, 2024 09:49
absidue added a commit to absidue/YouTube.js that referenced this pull request Feb 15, 2025
LuanRT pushed a commit that referenced this pull request Feb 21, 2025
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.

3 participants