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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for m3u8_To_MP4-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71d8a005fae1e45cb59a5b317ef330daea99e5e32f5cd1f59053ac1cc82b0473 |
|
MD5 | 1963ccef37801fc53010664c37ca62ca |
|
BLAKE2b-256 | 1a33ae02a546bbf9bf1d3d3527b094a85cddc18fb204e41e3c32ff49e466ed21 |