Repository navigation
Play a temporary video file while downloading (using PotPlayer or VLC) to avoid having to wait for the download to finish when speeds are too slow #1187
darklight9630-arch
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi !
Sometimes at night, my connection gets too weak because many people are using the Wi-Fi, which slows down downloads.
Often, download managers save the temporary video as small, fragmented files that cannot be played with VLC or PotPlayer.
My request please is for the temporary (HLS) video to be saved as a single, unified file in the download folder. This would allow the video to be played while it is still downloading, without having to wait for the entire download to finish, for example from my favourite anime streaming site :
https://voir-anime.to/anime/overgeared/overgeared-05-vostfr/
https://anime-sama.to/catalogue/hotel-inhumans/saison2/vostfr/
https://franime.fr/anime/overgeared?s=1&ep=6&lang=vf&anime_id=50743
For reference, the M3U8 parser of "cat-catch" extension—with using the "stream download" option—saves the temporary video as a single, unified file in the download folder, making it possible to play the temp video while it’s downloading:
https://github.com/xifangczy/cat-catch
Additionally, a developer of another download manager informed me that keeping the downloaded video in "TS" format allows for playback while the download is in progress:
"Added support for TS/MKV video format output configuration.
PS:
If you choose the TS or MKV video download format, you can play the video while downloading using software such as IINA or VLC."
https://github.com/helson-lin/ffandown/releases/tag/v5.1.2-Beta
I hope PLEASE great Misterdownloadmanager will allow for video playback while downloading—thanks!
interesting answer from another developer about my request, i post it here, maybe it can help :
" Hi there, unfortunately, that's not possible.
Normal HTTP downloads in this app work exactly as you're describing: they're written directly to the destination without using temporary files. However, HLS streams work differently.
HLS doesn't provide us with the exact file size, and with parallel downloads, parts 2 and 3 might already be downloading while part 1 is still connecting. For your suggestion to work, we need to know the ending position of part 1 so we can correctly place part 2. As I mentioned earlier, this information isn't available with HLS.
The only way around this would be to disable parallel downloads, which isn't ideal for this app.
and here my answer :
Interesting, thanks!
I watch 20-minute anime episodes that are about 85 MB each, so disabling parallel downloads is actually a good idea and the dowload is speed—it also helps avoid getting my IP address banned.
The only download manager that allows this is FDM (free download manager), but the "preview" button is disabled with HLS temp video, forcing me to go into the download folder to see and play the temp file.
Yes while we can play temporary HLS video files using PotPlayer or VLC with FDM, once the download finishes, we end up with a duplicate file—the nearly-complete temporary video and the final complete video file= This is a waste of space and causes unnecessary wear on my SSD. In contrast, the M3U8 parser in Cat-Catch makes only a single temporary file that simply becomes the complete, final videofile once I close the video palyer—so there is no duplication!
In any case, thank you so much for looking into my request ! 💯
so I would stick to using a download manager for larger video files that I plan to watch later, but for smaller videos I like to watch right away, m3u8 parser of Cat-Catch or use FastStream fork of Mr Nawid3333 where i can choose the amount in seconds of network buffer , or preview feature of media-downloader-unleashed which use the last hls.js library is definitely the better choice. Thanks! :)
https://github.com/Nawid3333/FastStream
https://github.com/helloyanis/media-downloader-unleashed
2 years ago, i talked about this problematic with the developer of FileCentipede and this is his answer about adding video streaming capability :
"For streaming media, the use of a single thread or multiple threads for downloading makes no difference. During the download process, the downloader "makes" 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, I can add an option in the future to enable sequential downloading using only one connection and making 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 FileCentipede does, unless I make a new video player. In the absence of a perfect solution, I will work on addressing this issue in the future.
Thank you for your feedback, and I will strive to resolve this problem in subsequent updates."
So, i remember
even the developer of famous popular Cat-Catch extension recommends using an external downloader parser like N_m3u8DL-RE:
https://github.com/nilaoda/N_m3u8DL-RE
The reason is that an m3u8 parser consumes a lot of memory to assemble the file, requiring a large amount of RAM—which I don’t have!
This feature is crucial for me and surely for many other people. I don’t have fiber-optic internet, and since my mother and two sisters also connect to the Wi-Fi in the night, it’s becomes nightmare trying to watch streaming anime—which often defaults to HD-only streaming. That’s why I made this request, thnaks !
All reactions