Python package for synchronizing folders.
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
SyncFolder-0.1.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for SyncFolder-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 448e8992226b9b1516164dca994b5661dbcf536c8d71f4f1d7546a0e19eca9f1 |
|
MD5 | 67bde723596f389c93b789ff2394739e |
|
BLAKE2b-256 | 73c3f694a5e251b5b2396d72c805b7011649253e22bda02941cd31403f5e8700 |