/m3u8-downloader

m3u8 downloader

Primary LanguagePythonApache License 2.0Apache-2.0

m3u8-downloader

multi-threading download m3u8 files and using ffmpeg convert to single video file

usage

m3u8-downloader.py -i m3u8file [-c cache] [-k] -o outfile

basic options:
-i			M3U8 input (url or file)
-c			cache path default: 'cache/'
-o		    output file

advance options:
-b          base url path for download ts files
-p          skip discontinuity (more like advertise)
-k          key file path (replace key file)

Process finished with exit code 1

for example

python3 m3u8-downloader.py -i teacher_cang.m3u8 -c cache -p -o teacher_cang.mp4