diff options
Diffstat (limited to 'network/youtube-dl/youtube-dl.1')
-rw-r--r-- | network/youtube-dl/youtube-dl.1 | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/network/youtube-dl/youtube-dl.1 b/network/youtube-dl/youtube-dl.1 index d18c6e3c80..f7097ecc02 100644 --- a/network/youtube-dl/youtube-dl.1 +++ b/network/youtube-dl/youtube-dl.1 @@ -338,24 +338,7 @@ Use only video ID in file name .RE .TP .B \-o, \-\-output \f[I]TEMPLATE\f[] -Output filename template. -Use %(title)s to get the title, %(uploader)s for the uploader name, -%(uploader_id)s for the uploader nickname if different, %(autonumber)s -to get an automatically incremented number, %(ext)s for the filename -extension, %(format)s for the format description (like "22 \- 1280x720" -or "HD"), %(format_id)s for the unique id of the format (like -YouTube\[aq]s itags: "137"), %(upload_date)s for the upload date -(YYYYMMDD), %(extractor)s for the provider (youtube, metacafe, etc), -%(id)s for the video id, %(playlist_title)s, %(playlist_id)s, or -%(playlist)s (=title if present, ID otherwise) for the playlist the -video is in, %(playlist_index)s for the position in the playlist. -%(height)s and %(width)s for the width and height of the video format. -%(resolution)s for a textual description of the resolution of the video -format. -%% for a literal percent. -Use \- to output to stdout. -Can also be used to download to a different directory, for example with -\-o \[aq]/my/downloads/%(uploader)s /%(title)s\-%(id)s.%(ext)s\[aq] . +Output filename template, see the "OUTPUT TEMPLATE" for all the info .RS .RE .TP @@ -1305,8 +1288,14 @@ $\ youtube\-dl\ \-f\ \[aq]best[filesize<50M]\[aq] #\ Download\ best\ format\ available\ via\ direct\ link\ over\ HTTP/HTTPS\ protocol $\ youtube\-dl\ \-f\ \[aq](bestvideo+bestaudio/best)[protocol^=http]\[aq] + +#\ Download\ the\ best\ video\ format\ and\ the\ best\ audio\ format\ without\ merging\ them +$\ youtube\-dl\ \-f\ \[aq]bestvideo,bestaudio\[aq]\ \-o\ \[aq]%(title)s.f%(format_id)s.%(ext)s\[aq] \f[] .fi +.PP +Note that in the last example, an output template is recommended as +bestvideo and bestaudio may have the same file name. .SH VIDEO SELECTION .PP Videos can be filtered by their upload date using the options |