███╗ ██╗ ███╗ ███╗██████╗ ██╗ ██╗ █████╗ ██████╗ ██╗ ██████╗██╗ ██╗
████╗ ██║ ████╗ ████║╚════██╗██║ ██║██╔══██╗██╔══██╗██║ ██╔════╝██║ ██║
██╔██╗ ██║ ██╔████╔██║ █████╔╝██║ ██║╚█████╔╝██║ ██║██║█████╗██║ ██║ ██║
██║╚██╗██║ ██║╚██╔╝██║ ╚═══██╗██║ ██║██╔══██╗██║ ██║██║╚════╝██║ ██║ ██║
██║ ╚████║███████╗██║ ╚═╝ ██║██████╔╝╚██████╔╝╚█████╔╝██████╔╝███████╗ ╚██████╗███████╗██║
╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚════╝ ╚═════╝ ╚══════╝ ╚═════╝╚══════╝╚═╝
- 发行版: https://github.com/nilaoda/N_m3u8DL-CLI/releases
- 自动构建版
(供测试)
: https://github.com/nilaoda/N_m3u8DL-CLI/actions
本项目已于2019年10月9日开源,采用MIT许可证,各取所需。
搁置了
一个简单易用的m3u8下载器,下载地址:https://github.com/nilaoda/N_m3u8DL-CLI/releases
支持下载m3u8链接或文件为mp4
或ts
格式,并提供丰富的命令行选项。
- 不支持优酷视频解密
- 不支持气球云视频解密
- 支持
AES-128-CBC
加密自动解密 - 支持多线程下载
- 支持下载限速
- 支持断点续传
- 支持
Master List
- 支持直播流录制(
BETA
) - 支持自定义
HTTP Headers
- 支持自动合并 (二进制合并或使用ffmpeg合并)
- 支持选择下载
m3u8
中的指定时间段/分片内容 - 支持下载路径为网络驱动器的情况
- 支持下载外挂字幕轨道、音频轨道
- 支持仅合并为音频
- 支持设置特定http代理
- 支持自动使用系统代理(默认行为, 可禁止)
- 提供SimpleG简易的
GUI
生成常用参数
N_m3u8DL-CLI.exe <URL|File|JSON> [OPTIONS]
--workDir Directory Set the program working directory
--saveName Filename Set the storage file name (excluding suffix)
--baseUrl BaseUrl Set Baseurl
--headers headers Set the request header, format key:value Use | to separate different key&value
--maxThreads Thread Set the maximum number of threads for the program (default is 32)
--minThreads Thread Set the minimum number of threads for the program (default is 16)
--retryCount Count Set the number of retries for the program (default is 15)
--timeOut Sec Set the timeout time for the program network request (in seconds, the default is 10 seconds)
--muxSetJson File Define muxing options using an external json file
--useKeyFile File Define the AES-128 decryption KEY using an external 16-byte file
--useKeyBase64 Base64String Define AES-128 decryption KEY using Base64 string
--useKeyIV HEXString Define AES-128 decryption IV with HEX string
--downloadRange Range Download only a portion or length of a video
--liveRecDur HH:MM:SS During live recording, the software will automatically exit when this length is reached
--stopSpeed Number When the speed is lower than this value, retry (in KB/s)
--maxSpeed Number Set the download speed upper limit (in KB/s)
--proxyAddress http://xx Set HTTP proxy, such as http://127.0.0.1:8080
socks5://xx set SOCKS5 proxy, such as socks5://127.0.0.1:8080
--enableDelAfterDone Enable the function of deleting temporary folders after downloading
--enableMuxFastStart Enable the FastStart feature of mixed-stream mp4
--enableBinaryMerge Enable binary merge sharding
--enableParseOnly Turn on parse-only mode (the program only goes to meta.json)
--enableAudioOnly Wrap only audio tracks when merging
--disableDateInfo Turn off date writing in mux
--noMerge Disable automatic merging
--noProxy Do not use system proxy automatically
--disableIntegrityCheck Does not check whether the number of shards is complete