浏览代码

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

Ref: #10399
Yen Chi Hsuan 9 年之前
父节点
当前提交
d164a0d41b
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      README.md

+ 4 - 0
README.md

@@ -645,7 +645,11 @@ $ youtube-dl -f 'best[filesize<50M]'
 
 
 # Download best format available via direct link over HTTP/HTTPS protocol
 # Download best format available via direct link over HTTP/HTTPS protocol
 $ youtube-dl -f '(bestvideo+bestaudio/best)[protocol^=http]'
 $ 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