Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lcy0321/m3u8-downloader
Download the ts files according to the given m3u8 file.
https://github.com/lcy0321/m3u8-downloader
ffmpeg hls m3u8 m3u8-videos python python-script
Last synced: 26 days ago
JSON representation
Download the ts files according to the given m3u8 file.
- Host: GitHub
- URL: https://github.com/lcy0321/m3u8-downloader
- Owner: lcy0321
- License: mit
- Created: 2017-07-13T13:32:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-05T17:34:44.000Z (over 6 years ago)
- Last Synced: 2024-08-03T16:09:20.187Z (4 months ago)
- Topics: ffmpeg, hls, m3u8, m3u8-videos, python, python-script
- Language: Python
- Size: 7.81 KB
- Stars: 24
- Watchers: 1
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-video - lcy0321/m3u8-downloader - Download the ts files according to the given m3u8 file. - lcy0321/m3u8-downloader (HLS / Talks Presentations Podcasts)
README
[![Made with Python](https://img.shields.io/badge/MADE_WITH-Python3-3776ab.svg)](https://www.python.org/)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://opensource.org/licenses/MIT)# M3U8 Downloader
Download the ts files according to the given m3u8 file.
## Usage
```text
m3u8_downloader.py [-h] [-t TIMEOUT] [--ffmpeg-path FFMPEG_PATH]
[--ffmpeg-loglevel FFMPEG_LOGLEVEL] [-o OUTPUT] [-y] uripositional arguments:
uri URI of the m3u8 fileoptional arguments:
-h, --help show this help message and exit
-t TIMEOUT, --timeout TIMEOUT
timeout used when loading from uri (default None)
--ffmpeg-path FFMPEG_PATH
path to ffmpeg executable (default ffmpeg)
--ffmpeg-loglevel FFMPEG_LOGLEVEL
logging level of ffmpeg (default quiet)
-o OUTPUT, --output OUTPUT
path to output (default output.ts)
-y, --overwrite overwrite output files without asking
```## Dependencies
* **ffmpy**: - A simplystic FFmpeg command line wrapper.
* **m3u8**: - Python m3u8 parser.
* **ffmpeg**: - Used to download, convert and merge the downloaded ts files.