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): Add is_drc #656

Merged
merged 1 commit into from
May 6, 2024
Merged

feat(Format): Add is_drc #656

merged 1 commit into from
May 6, 2024

Conversation

absidue
Copy link
Collaborator

@absidue absidue commented May 5, 2024

YouTube is currently A/B testing Stable Volume on the website, it's been in the iOS and Android apps since summer 2023. The audio streams with stable volume, can be identified through the is_drc property. DRC stands for Dynamic Range Compression. The WEB client has had Dynamic Range Compression on very specific videos for a long time, since before Stable Volume was a feature on mobile. Here is yt-dlp's test case for DRC streams (age-restricted): https://www.youtube.com/watch?v=Tq92D6wQ1mg (https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/extractor/youtube.py#L2629)

I'll be doing a follow-up pull request that adds support to the toDash function to treat the DRC streams as a separate audio track.

@LuanRT LuanRT merged commit 6bb2086 into LuanRT:main May 6, 2024
4 checks passed
@absidue absidue deleted the format-drc branch May 6, 2024 14:58
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