diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-08-21 20:00:48 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-08-21 20:00:48 +0800 |
commit | d164a0d41bdc95caa2b1458b9f51381de7d6a5a7 (patch) | |
tree | 51cade7441e6cb44bfd4a7595a66bf4b308090fc /README.md | |
parent | 2c6acdfd2d31b7ce9500e9efe411620c61059b98 (diff) |
[README.md] Add a format selection example using comma
Ref: #10399
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |