puemos / hls-downloader

Web Extension for sniffing and downloading HTTP Live streams (HLS)
https://puemos.gitbook.io/hls-downloader/
MIT License
1.77k stars 228 forks source link

Add sequential downloading =preview feature : add "play file while it's still downloading" option because it is impossible to play file while it's still downloading and impossible to start watching the video before the download finishes #334

Open trimechee opened 2 months ago

trimechee commented 2 months ago

Hello, thank you fir the new amazing awesome version ! 🥇 💯

Please i have request : even when the number of threads = 1, the download is quite fast from streaming sites and we are hoping for an option that allows you to watch the video while it is downloading, for example the videos on this site:

https://french-anime.com/animes-vf/1387-s0olo-lefveling.html

because the video can be large or downloading and assembling parts of the video takes a lot of time so we hope a special option of our beloved Hls-downloader : sequential downloading because it is impossible to play file while it's still downloading and preview/watch the video while downloading, so preview files while downloading allows us to start watching the downloaded part of the video before the download is finished, thanks a lot !

This issue seems to affect several download managers and a possible solution proposed seems to be according to a developer :

" For streaming media, the use of a single thread or multiple threads for downloading makes no difference. During the download process, the downloader creates independent files for each segment locally, which are then merged into a single file after downloading. This is why the file cannot be played. To resolve this, the solution is to add an option to enable sequential downloading using only one connection and creating a single file, allowing the player to function properly. However, the player's fast-forward and rewind functions may not be available. While many players support direct playback of m3u8 files, they may not bypass certain download restrictions or decrypt content like download manager do, unless making a new video player....."