Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
tell youtube-dl to use one format( -f 18 ) if another isnt available( -f 22)? #26045
Comments
|
Use |
Checklist
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?