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

tell youtube-dl to use one format( -f 18 ) if another isnt available( -f 22)? #26045

Closed
frddbbbl opened this issue Jul 18, 2020 · 1 comment
Closed
Labels

Comments

@frddbbbl
Copy link

@frddbbbl frddbbbl commented Jul 18, 2020

Checklist

  • [ x] I'm asking a question
  • [ x] I've looked through the README and FAQ for similar questions
  • [ x] I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
Hi i use youtube-dl with mplayer through a binding to download videos from my browser and rss feed. i use the following command: mplayer -fs $(youtube-dl -g -f 22 URL) sometimes -f 22 isnt available and i need to use-f 18 instead as this is almost a universal standard for youtube videos. Is it possible to tell youtube-dl to use one format if the other is not available?

@frddbbbl frddbbbl added the question label Jul 18, 2020
@0x9fff00
Copy link
Contributor

@0x9fff00 0x9fff00 commented Jul 19, 2020

Use -f 22/18, or -f best to download the highest-bitrate format with both video and audio.

@remitamine remitamine closed this Jul 22, 2020
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
3 participants
You can’t perform that action at this time.