diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-04-10 20:38:33 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-04-10 20:57:52 +0530 |
commit | 52a8a1e1b93dbc88f0018d4842f1e90ba96e095f (patch) | |
tree | 3708a1e4cd100657896d6aef0eb0f1352fc7cc3d /README.md | |
parent | d818eb747361117ec86a5c4fe217d5d6956f36d3 (diff) |
Option to choose different downloader for different protocols
* Renamed `--external-downloader-args` to `--downloader-args`
* Added `native` as an option for the downloader
* Use similar syntax to `--downloader-args` etc. Eg: `--downloader dash:native --downloader aria2c`
* Deprecated `--hls-prefer-native` and `--hls-prefer-ffmpeg` since the same can now be done with `--downloader "m3u8:native"` and `m3u8:ffmpeg` respectively
* Split `frag_urls` protocol into `m3u8_frag_urls` and `dash_frag_urls`
* Standardize shortening of protocol names with `downloader.shorten_protocol_name`
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -337,10 +337,6 @@ Then simply run `make`. You can also run `make yt-dlp` instead to compile only t --playlist-random Download playlist videos in random order --xattr-set-filesize Set file xattribute ytdl.filesize with expected file size - --hls-prefer-native Use the native HLS downloader instead of - ffmpeg - --hls-prefer-ffmpeg Use ffmpeg instead of the native HLS - downloader --hls-use-mpegts Use the mpegts container for HLS videos; allowing some players to play the video while downloading, and reducing the chance @@ -350,10 +346,19 @@ Then simply run `make`. You can also run `make yt-dlp` instead to compile only t --no-hls-use-mpegts Do not use the mpegts container for HLS videos. This is default when not downloading live streams - --external-downloader NAME Name or path of the external downloader to - use. Currently supports aria2c, avconv, - axel, curl, ffmpeg, httpie, wget - (Recommended: aria2c) + --downloader [PROTO:]NAME Name or path of the external downloader to + use (optionally) prefixed by the protocols + (http, ftp, m3u8, dash, rstp, rtmp, mms) to + use it for. Currently supports native, + aria2c, avconv, axel, curl, ffmpeg, httpie, + wget (Recommended: aria2c). You can use + this option multiple times to set different + downloaders for different protocols. For + example, --downloader aria2c --downloader + "dash,m3u8:native" will use aria2c for + http/ftp downloads, and the native + downloader for dash/m3u8 downloads + (Alias: --external-downloader) --downloader-args NAME:ARGS Give these arguments to the external downloader. Specify the downloader name and the arguments separated by a colon ":". You @@ -1244,6 +1249,8 @@ These are all the deprecated options and the current alternative to achieve the --metadata-from-title FORMAT --parse-metadata "%(title)s:FORMAT" --prefer-avconv avconv is no longer officially supported (Alias: --no-prefer-ffmpeg) --prefer-ffmpeg Default (Alias: --no-prefer-avconv) + --hls-prefer-native --downloader "m3u8:native" + --hls-prefer-ffmpeg --downloader "m3u8:ffmpeg" --avconv-location avconv is no longer officially supported -C, --call-home Not implemented --no-call-home Default |