kamiyo / multi-progress-bars

A multi progress bar library for CLI, with support for indefinite task spinners
MIT License
27 stars 4 forks source link

somehow ffmpeg permanently hangs when attempting to finalize a video that already exists but wasn't detected/skipped #9

Open Hezkezl opened 3 years ago

Hezkezl commented 3 years ago

Not sure what causes it to happen, but it will start to download a video and go through the entire process, then freeze when doing the ffmpeg info. It's somehow not detecting an already downloaded video and re-downloading it (guessing the size changed or something?), but because the name already exists, it can't finish the process so it just sits there forever.

https://cdn.discordapp.com/attachments/468977376794247199/841765883276820480/unknown.png One screenshot showing somebody else having the issue. Band-aid solution is to close the program, and delete both the original.mp4 and the new blank extension file and make it redownload the whole thing once more.

kamiyo commented 3 years ago

Okay. Sorry I've been slowly towards adding some functionality, including manually removing tasks. That might be a solution, and I'll tag it on this issue when it's out (at least in alpha). I'm not sure how you're using ffmpeg to report the progress to the bars, but it seems kind of weird to me that ffmpeg would hang because of this.

On Tue, May 11, 2021, 15:09 Hezkezl @.***> wrote:

Not sure what causes it to happen, but it will start to download a video and go through the entire process, then freeze when doing the ffmpeg info. It's somehow not detecting an already downloaded video and re-downloading it (guessing the size changed or something?), but because the name already exists, it can't finish the process so it just sits there forever.

https://cdn.discordapp.com/attachments/468977376794247199/841765883276820480/unknown.png One screenshot showing somebody else having the issue. Band-aid solution is to close the program, and delete both the original.mp4 and the new blank extension file and make it redownload the whole thing once more.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kamiyo/multi-progress-bars/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWCYT4HMJTPWQO63BPHXA3TNGFHDANCNFSM44WYLRNA .