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

Bitrate/resolution priority switch #20606

Closed
welljsjs opened this issue Apr 8, 2019 · 1 comment
Closed

Bitrate/resolution priority switch #20606

welljsjs opened this issue Apr 8, 2019 · 1 comment
Labels

Comments

@welljsjs
Copy link

@welljsjs welljsjs commented Apr 8, 2019

  • I've verified and I assure that I'm running youtube-dl 2019.04.07

Before submitting an issue make sure I have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of my issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of my issue, suggested solution and other information

Currently, the bitrate of videos takes priority over the resolution.

It'd be great if this behaviour could be changed (resolution over bitrate) with a single flag.

At the time, this is only possible by using a very large format flag (f.ex. -f 'bestvideo[height >= 1920]/[height >= 1280]/[height >= 720]/...'.

Sometimes, I'd like to download the file with the higher resolution instead of a higher bitrate.

A simple switch flag would be extremely convenient (f.ex. --priority-bitrate and --priority-resolution where --priority-bitrate is the default behaviour).

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 8, 2019

No, since this does not scale. Custom formats sorting option should be implemented instead.

@dstftw dstftw closed this Apr 8, 2019
@dstftw dstftw added the duplicate label Apr 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.