Files
hls_downloader/README.md
Tanveer Ahmed Ansari 223c9e91f6 Update README.md
2023-05-12 18:52:55 +05:30

1.4 KiB

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 26 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..

Dependency

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