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): Add missing transfer characteristics for h264 streams #573

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

absidue
Copy link
Collaborator

@absidue absidue commented Jan 10, 2024

YouTube doesn't provide any color information for the h264 streams in their API responses. Players like shaka-player treat streams with missing color information differently, so you end up with duplicate qualities in the quality selector. As the h264 files that YouTube offers always seem to be SDR, it's a pretty safe bet to hard code that into the DASH manifest generator.
Alternatively we could copy the color information from the vp9 (not the vp9.2) streams, but we would have to do that before we apply the users format filter, it would also mean that it would only work if vp9 formats exist and are passed in.

@LuanRT LuanRT merged commit 59f4cfb into LuanRT:main Jan 10, 2024
4 checks passed
@absidue absidue deleted the dash-h264-transfer-characteristics branch January 10, 2024 23:17
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.

None yet

2 participants