Skip to content

This is a simple python script for downloading *.ts files and merging them into mp4 video.

Notifications You must be signed in to change notification settings

hankchen1728/py_m3u8_downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Python3 M3U8 Downloader

Requirements

$ pip install beautifulsoup4 requests
$ brew install ffmpeg

Usage

$ python3 m3u8_downloader.py index.m3u8 -O video.mp4

Download all *.ts files from index.m3u8, and then merge them togethor to video.mp4

Help

Python3 m3u8 downloader

positional arguments:
  m3u8                  File path or URL to a m3u8 file, e.g. index.m3u8

optional arguments:
  -h, --help            show this help message and exit
  --output OUTPUT, -O OUTPUT
                        File path for saved mp4, e.g. anime.mp4. If not
                        specified, the output file name will be set to the
                        `M3U8`. For example, index.mp4 for index.m3u8

About

This is a simple python script for downloading *.ts files and merging them into mp4 video.

Topics

Resources

Stars

Watchers

Forks

Languages