AlexAplin / nndownload

Download and process links from Niconico (nicovideo.jp)
MIT License
213 stars 28 forks source link

stuck when using multithreaded download #137

Closed xyzxye closed 4 months ago

xyzxye commented 11 months ago

by using the parser argument: "-r", "24", the download speed has been greatly improved (from 100kb/s to 20MB/s) witch is awesome 88888888

But I encountered such a problem: When downloading a video from Mylist, sometimes the progress bar gets stuck at like "|####################### | 94/100 @ 13.26MB /s" and keeps like flickering?

Sometimes it stays there for a while and then completes the download, while other times it remains stuck ( However, if you stop the program and run it again, it won't get stuck anymore). It's possible that all the threads have lost the download speed at that time?

Could we implement a validation feature? For example, if it stays stuck at a certain percentage for more than a certain amount of time, then re-download that video.

AlexAplin commented 11 months ago

24 seems rather high. Does this happen when you use a more reasonable number like <5? And specifically only when downloading from mylists? That last detail would be strange.

For example, if it stays stuck at a certain percentage for more than a certain amount of time, then re-download that video.

This probably isn't going to work because of differing download speeds.

xyzxye commented 11 months ago

yes, it still occurs with fewer thread sometime, but I'm not sure if it only happens when downloading from mylists.

When I download, the initial download can be completed, but sometimes I get stuck in a certain video and cannot complete this download (as I described, the progress bar stops). But when I rerun the program, I may not encounter this problem again in this certain video (although it may be stuck in another one)

AlexAplin commented 4 months ago

We haven't received any more reports of this and I have yet to encounter it. Given that we are transitioning to DMS (#139), which will eventually eliminate the DMC download flow, I'm going to close this as outdated.