projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c6acdf
)
[README.md] Add a format selection example using comma
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 21 Aug 2016 12:00:48 +0000
(20:00 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 21 Aug 2016 12:00:48 +0000
(20:00 +0800)
Ref: #10399
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index 952db7abb8aff25473544d9827ef7b9b3060cc8d..a10aaf35c6733ae308c2309539110304ba25049f 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-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 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
# VIDEO SELECTION