Skip to content

deli-c1ous/m3u8-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

download m3u8

download m3u8 videos using python

Requirements

ffmpeg (with environment variables configured)

pip install m3u8 pycryptodomex tqdm aiohttp

Introduction

merge_ts.py: async download ts files and decrypt it using pycryptodomex library, merge them into one ts file, then use ffmpeg convert it to a mp4 file.

override_m3u8.py: async download ts files but not decrypt it, generate a new m3u8 file using m3u8 library with ts files' links being local file system paths, finally use ffmpeg to convert the new m3u8 file to a mp4 file.

Both methods work equally well.

About

download m3u8 videos using python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages