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

Clarification needed on yt-dlp video selection query #334

Open
luke-han opened this issue Mar 28, 2024 · 0 comments
Open

Clarification needed on yt-dlp video selection query #334

luke-han opened this issue Mar 28, 2024 · 0 comments

Comments

@luke-han
Copy link

First of all, thanks for sharing this project.

I'm having some difficulty understanding the rationale behind the selection of wv / w in the video query. Could you please explain how to choose this specific format? Additionally, I'm interested in learning more about the choice to specify the avc1 codec if self.specify_codec is True.

video_format_string = (
f"wv*[height>={self.video_size}][ext=mp4]{'[codec=avc1]' if self.specify_codec else ''}/"
f"w[height>={self.video_size}][ext=mp4]{'[codec=avc1]' if self.specify_codec else ''}/"
f"bv/b[ext=mp4]{'[codec=avc1]' if self.specify_codec else ''}"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant