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

What does sorting order mean? #11390

Closed
6 of 9 tasks
rvzaytsev opened this issue Oct 28, 2024 · 1 comment
Closed
6 of 9 tasks

What does sorting order mean? #11390

rvzaytsev opened this issue Oct 28, 2024 · 1 comment
Labels
question Question

Comments

@rvzaytsev
Copy link

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Please make sure the question is worded well enough to be understood

What does sorting order mean? For example -S res:720 will give preference to 720p, or will it ONLY consider 720p and just not download anything if there is no 720p?

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

No response

@rvzaytsev rvzaytsev added the question Question label Oct 28, 2024
@seproDev
Copy link
Member

Sorting means what it sounds like. It's how yt-dlp sorts the formats to determine what the best/worst format is. -S res:720 means sort by resolution, starting with 720p. Since it is only sorting, worse resolutions are still possible to be downloaded if no 720p format exists. You can read more about this in the documentation: https://github.com/yt-dlp/yt-dlp#sorting-formats

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

No branches or pull requests

3 participants