It has examples as well: https://github.com/ytdl-org/youtube-dl#format-selection-exam...
Reply on news.ycombinator.com