[README.md] Add a format selection example using comma

Ref: #10399
pull/10405/head
Yen Chi Hsuan 2016-08-21 20:00:48 +08:00
parent 2c6acdfd2d
commit d164a0d41b
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30
1 changed files with 4 additions and 0 deletions

View File

@ -645,7 +645,11 @@ $ youtube-dl -f 'best[filesize<50M]'
# Download best format available via direct link over HTTP/HTTPS protocol
$ youtube-dl -f '(bestvideo+bestaudio/best)[protocol^=http]'
# Download the best video format and the best audio format without merging them
$ youtube-dl -f 'bestvideo,bestaudio' -o '%(title)s.f%(format_id)s.%(ext)s'
```
Note that in the last example, an output template is recommended as bestvideo and bestaudio may have the same file name.
# VIDEO SELECTION