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

Option for download quality equal to selected quality or above. #1260

Open
3 of 6 tasks
subham2024 opened this issue Jan 7, 2024 · 2 comments
Open
3 of 6 tasks

Option for download quality equal to selected quality or above. #1260

subham2024 opened this issue Jan 7, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@subham2024
Copy link

Checklist

  • This feature I'm requesting is already implemented in yt-dlp.
  • This feature is merely a UI/UX update.
  • This feature is suitable for primary users with little knowledge about yt-dlp.
  • This feature is available for most websites, not only the video platform I use.
  • This feature is suitable for a large variety of videos.
  • This feature is not going to conflict with many of the existing options.

Is your feature request related to a problem? Please describe.

I am downloading educational lecture videos playlist. I only have acces to internet limited through my mobile data
As the lecture videos involves reading the explanation written in whiteboard and I am being limited to mobile data , so I only download at the minimum video quality that text is videos are understandable and I also save data which is at 480p.
But some videps are only availabld in 144p, 240p, 360p , 1080p . So as per usual app's behaviour , it does not find selected 480p .
So it download at the lower quality than 480p, which is 360p that is available , but text is unreable in 360p , so it becomes a problem for me.
So app's behavious of downloading at quality lower than selected quality for a playlist is a problem for me.

Describe the solution you'd like

When downloading videos from playlist , if video is not not availble in the preferred quality, a prompt should be shown asking to select the quality from available qualities of video.
If a option with checkmark asking "Select same quality in future scenarios in the playlist further"was added to prompt , it would be better.

If displaying prompt is not possible, videos downloading automatically at quality higher than selectes quality will be better.

Video link

Video example :-
https://youtu.be/15mncHB93YA?feature=shared

Playlist in question :-
https://youtube.com/playlist?list=PL5qLGqp-4yb13WW1ngvbeGShJiIoWPfRf&feature=shared

Additional context

No response

@subham2024 subham2024 added enhancement New feature or request new issue This issue is not triaged labels Jan 7, 2024
@JunkFood02
Copy link
Owner

Turn on Format sorting in Settings - Format, import your GUI preference and you will see something like res:480, which works exactly as you described before. You can a prefix + to reverse this order, then it becomes "prefers smaller videos, but no smaller than 480p and the largest video if there are no videos larger than 480p"

See also: https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#sorting-formats

@JunkFood02 JunkFood02 removed the new issue This issue is not triaged label Jan 7, 2024
@subham2024
Copy link
Author

Thanks, it works.
Only other change I made was keeping +res:480 before any format option like vcodec.

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

No branches or pull requests

2 participants