Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.54 KB

README.md

File metadata and controls

36 lines (27 loc) · 1.54 KB

hls_downloader

A posix compliant highly fast and efficient Asynchronous stable m3u8 links parallel downloader that uses shell jobs for controlling parallel download...

Usage:
    hls [ -o <filename> ] [ -r | -f | -n <no. of connections>] [ <m3u8_link> ]
    hls -h

Options:
    -h show helptext
    -o filename (default : video)
    -r select highest resolution automatically
    -n set maximum number of connections (default : 36)
    -f skip ffmpeg file conversion (used to enable the video file to run on any video player)
    -s subtitles url or path

Note: if subtitles url is passed using [-s] along with skip ffmpeg [-f] then the script will download subtitle file with same name instead of burning it in video file

Increase/Decrease Parallel Downloads..

Currently its set to 36 in line 33 in script You can Increase/Decrease it by using -n <no. of connections>

Internet Speed = 12 MByte per seconds..
36 (Internet Speed * 3)..

NOTE :- Increasing the number will make the download faster but less stable and Decreasing the number will make download slower but stable.. Decrease the number if the script is hanging out during download process.. - This applies if you use curl for downloading (I know you have reasons for not having aria2 installed), It doesn't affect in aria2 case and leaving it default will be recommended. :)

Dependency

  • aria2 for downloading pieces (curl as fallback, if aria2 not found)
  • ffmpeg for conversion
  • openssl for decrypting streams