-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
... #5169
Comments
This question smells like https://xyproblem.info. I can answer your question, but I suspect it actually wont help you unless you ask what u really want
|
gotcha.
This gave me the impression you wanted only pre-merged formats. Hence why I gave
Just to clarify, you want the bitrate closest to 2000k, not necessarily less than, correct? So 2400k would be preferred over 1000k. Then, use:
|
btw, if you are only concerned with youtube, you don't need any of this complexity. Youtube always provides abr=128k and height<=720 |
Filtering formats ( |
Can you please send the output of |
There is no format matching your conditions. Specifically, yt-dlp doesn't know the bitrate of the audio formats. So it cant tell if they are >64k |
If you also want to allow formats with unknown info, use the |
How can formats have an ABR of 0k? That looks like a bug to me 🤷♂️ |
Previously, you explicitly said you do not want to download anything if there is no matching audio...
Almost. That still does not account for pre-merged formats
Should cover everything but then it's easier to give:
which accomplishes nearly the same thing I strongly recommend you go through the docs I linked above |
can be reopend if there is further questions |
According to my understanding of the documentation, |
There's some special handling for this case Why'd u re-open? |
Oh, okay
I thought that my question related to OP's question enough that I could just reuse this issue. I'll open a new issue next time |
Don't remove your post |
...
The text was updated successfully, but these errors were encountered: