Location>code7788 >text

NET open source, cross-platform DASH/HLS/MSS download tool

Popularity:219 ℃/2024-07-27 15:10:19
Description:
  N_m3u8DL-RE (Beta version) 20230628

Usage:
  N_m3u8DL-RE <input> [options]

Arguments:
<input> link or file

Options:
--tmp-dir <tmp-dir> Set temporary file storage directory
--save-dir <save-dir> set output directory
--save-name <save-name> set save-name
---base-url <base-url> set BaseURL
--thread-count <number> Set the number of download threads [default: 16].
--download-retry-count <number> Number of retries for download exceptions per slice [default: 3].
--auto-select Automatically selects the best tracks of all types [default: False].
--skip-merge Skip merge slicing [default: False]
--skip-download Skip Download [default: False]
--check-segments-count Checks if the actual number of segments downloaded matches the expected number [default: True].
--binary-merge binary merge [default: False]
--del-after-done Delete temporary files after completion [default: True]
--no-date-info Do not write date information when streaming [default: False].
--no-log Disables log file output [default: False].
--write-meta-json Whether to output the parsed information to a json file [default: True].
--append-url-params Adds the Params of the input Url to the slice, useful for some sites, e.g. [default: False].
-mt, --concurrent-download Concurrent download of selected audio, video and subtitles [default: False]
-H, --header <header> Set specific request headers for HTTP requests, e.g..
                                           -H "Cookie: mycookie" -H "User-Agent: iOS"
--sub-only Selects subtitle tracks only [default: False]
--sub-format <SRT|VTT> Subtitle output type [default: SRT].
--auto-subtitle-fix auto-subtitle-fix [default: True]
--ffmpeg-binary-path <PATH> ffmpeg executable program path, e.g. C:\Tools\
--log-level <DEBUG|ERROR|INFO|OFF|WARN> Set the log level [default: INFO].
--ui-language <en-US|zh-CN|zh-TW> set UI language
--urlprocessor-args <urlprocessor-args> This string will be passed directly to the URL Processor
--key <key> Set decryption key, program call mp4decrpyt/shaka-packager for decryption. Format.
                                           --key KID1:KEY1 --key KID2:KEY2
--key-text-file <key-text-file> Set the key file, the program will search the KEY by KID to decrypt. (It is not recommended to use very large file)
--decryption-binary-path <PATH> The full path to the MP4 decryption tool, e.g. C:\Tools\.
--use-shaka-packager Decrypt with shaka-packager instead of mp4decrypt [default: False].
--mp4-real-time-decryption Real-time decryption of MP4 slices [default: False].
-M, --mux-after-done <OPTIONS> All work is done when trying to mix separated audio and video. Type "--morehelp mux-after-done" to see details.
--custom-hls-method <METHOD> Specify the HLS encryption method (AES_128|AES_128_ECB|CENC|CHACHA20|NONE|SAMPLE_AES|SAMPLE_AES_CTR|UNKNOWN).
--custom-hls-key <FILE|HEX|BASE64> Specify the HLS decryption key. It can be a file, HEX or Base64.
--custom-hls-iv <FILE|HEX|BASE64> Specifies the HLS decryption IV. This can be a file, HEX or Base64.
--use-system-proxy Use system default proxy [default: True].
--custom-proxy <URL> set request proxy, e.g. http://127.0.0.1:8888
--custom-range <RANGE> Download only partial slices. Type "---morehelp custom-range" to see details.
---task-start-at <yyyyyMMddHHmmss> No task will start before this time.
--live-perform-as-vod Download live stream as on-demand [default: False]
--live-real-time-merge record live merge [default: False]
--live-keep-segments Record live streams and keep segments even when live merge is turned on [default: True].
--live-pipe-mux Record live streams and turn on live merge when piping + ffmpeg live mux to TS files [default: False].
--live-fix-vtt-by-audio Fix VTT subtitles by reading the start time of the audio file [default: False].
--live-record-limit <HH:mm:ss> Record duration limit when recording live broadcasts
--live-wait-time <SEC> Manually set live list refresh interval
--mux-import <OPTIONS> Bring in external media files when mixing. Type "--morehelp mux-import" for more information.
-sv, --select-video <OPTIONS> Selects matching video streams by regular expressions. Type "--morehelp select-video" to see details.
-sa, --select-audio <OPTIONS> Selects matching audio streams by regular expressions. Type "--morehelp select-audio" to see details.
-ss, --select-subtitle <OPTIONS> Selects matching subtitle streams by regular expressions. Type "--morehelp select-subtitle" to see details.
-dv, --drop-video <OPTIONS> Remove conforming video streams by regular expressions.
-da, --drop-audio <OPTIONS> Remove conforming audio streams by regular expressions.
-ds, --drop-subtitle <OPTIONS> Remove conforming subtitle streams by regular expressions.
--morehelp <OPTION> View detailed help for an option
  --version                                Show version information
  -?, -h, --help                           Show help and usage information