Python downloader for saving m3u8 video to local MP4 file.
Project description
m3u8-To-MP4
Python downloader for saving m3u8 video to local MP4 file.
QuickStart
Install m3u8_To_MP4 by pip
Configure ffmpeg.
pip install m3u8_To_MP4
Download a mp4 vidoe from a m3u8 uri
To download a m3u8 video into a mp4 file, use the download functions:
import m3u8_to_mp4
m3u8_to_mp4.download('http://videoserver.com/playlist.m3u8')
Resume the transfer from the point of interruption, use the tmpdir arguement:
import m3u8_to_mp4
m3u8_to_mp4.download('http://videoserver.com/playlist.m3u8',tmpdir='/tmp/m3u8_xx')
Features
Treat ffmpeg as a system service to achieve cross-platform.
Resume from interruption.
Use system tmp folder.
Concurrent requests based on the thread pool.
The retry strategy is carried out collectively after the whole cycle is repeated, avoiding the problem of short retry interval.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file m3u8-To-MP4-0.1.1.tar.gz.
File metadata
- Download URL: m3u8-To-MP4-0.1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db353708516f6e20ebf0345f841241f8cf8034e15dda961a118654d2d02931b0
|
|
| MD5 |
4b2615ad838758e47234ffa18f88381a
|
|
| BLAKE2b-256 |
0ef4161d1fe1cb75f249648907ee55479631ccdf41dc671a52e2d07860e14aed
|
File details
Details for the file m3u8_To_MP4-0.1.1-py3-none-any.whl.
File metadata
- Download URL: m3u8_To_MP4-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3097a0f749373e84df86bdf6919c45ec3b58817efc1fd8f09876a34153368e72
|
|
| MD5 |
a86c8c031f3ca3e34e4c39b71fbff129
|
|
| BLAKE2b-256 |
e2a03999281bac4b6b6b3167b894864887c2356c3af78a085b35c1929cdd4a71
|